Log MAD-X commands to STDOUT in test_model