CognitionGuidedSurgery / msml

The Medical Simulation Markup Language
GNU General Public License v3.0
14 stars 1 forks source link

Update variable functionality broken in SimulationRunner #206

Closed uiccg closed 9 years ago

uiccg commented 9 years ago

e.g. in Beam/runner_test.py

wadoon commented 9 years ago

examples/BeamExample/runner_test.py works as far as I can see.

I have checked the memory of the executor and it seems fine. Do you have another example?

INFO     RDFLib Version: 4.1.2
INFO     READING alphabet...
INFO     Alphabet Paths: [Path(u'/home/weigl/workspace/msml/src/msml/../../share/alphabet'), Path(u'/home/weigl/workspace/msml/share/alphabet')]
INFO     found 118 xml files in the alphabet search path
WARNING  logical type vector requested, but does not exist
WARNING  logical type vector requested, but does not exist
INFO     Need convert value of <var vol_mesh : <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.TriangularSurface'>> = Beam_Tet4_NElement=1810.vtk>
INFO     Need convert value of <var dispVar : <Sort: <class 'msml.sortdef.MSMLListF'>, <class 'msml.sortdef.Displacement'>> = 0 0 0.1>
INFO     Need convert value of <var indicesTest : <Sort: <class 'msml.sortdef.MSMLListI'>, <class 'msml.sortdef.IndexSet'>> = 1 2 3>
INFO     Need convert value of <var resultMesh : <Sort: <class 'msml.sortdef.VTK'>, None> = referenceDisp.vtu>
INFO     Need convert value of <var gen_1_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = 0 0 0.19999 0.03 0.06 0.21>
INFO     Need convert value of <var gen_2_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
INFO     Need convert value of <var gen_3_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = 0 0 -0.000000001 0.03 0.06 0.00000001>
INFO     Need convert value of <var gen_4_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
INFO     Need convert value of <var gen_5_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = -0.1 -0.1 -0.1 0.04 0.07  0.21>
INFO     Need convert value of <var gen_6_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
ERROR    Parameter name of Element mass is not specified in definition.
ERROR    Parameter forStep of Element fixedConstraint is not specified in definition.
ERROR    Parameter name of Element fixedConstraint is not specified in definition.
ERROR    Parameter name of Element displacementConstraint is not specified in definition.
ERROR    Parameter forStep of Element displacementConstraint is not specified in definition.
INFO     Need convert value of <var gen_7_ : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 3000>
INFO     Need convert value of <var gen_8_ : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 100>
INFO     Need convert value of <var gen_9_ : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 0.49>
INFO     Task fileCopy for operator copyFile misses input attribute working_directory using default value: True
ERROR    some features are not supported by exporter
ERROR    -- msml_file: set(['object_element_displacement_supported', 'output_supported', 'object_element_mass_supported', 'scene_objects_supported', 'constraints_supported', 'env_processingunit_CPU_supported', 'material_region_supported', 'env_preconditioner_None_supported', 'object_element_linearElasticMaterial_supported', 'sets_elements_supported', 'object_element_displacementConstraint_supported', 'sets_nodes_supported', 'environment_simulation_steps_supported', 'env_linearsolver_direct_supported', 'object_element_fixedConstraint_supported', 'env_timeintegration_dynamicImplicitEuler_supported'])
ERROR    -- supported: frozenset(['object_element_displacement_supported', 'output_supported', 'object_element_mass_supported', 'env_processingunit_CPU_supported', 'constraints_supported', 'material_region_supported', 'env_linearsolver_iterativeCG_supported', 'env_preconditioner_None_supported', 'object_element_linearElasticMaterial_supported', 'scene_objects_supported', 'env_timeintegration_dynamicImplicitEuler_supported', 'sets_surface_supported', 'sets_elements_supported', 'environment_simulation_steps_supported', 'object_element_fixedConstraint_supported', 'sets_nodes_supported'])
ERROR    -- not matched: set(['object_element_displacementConstraint_supported', 'env_linearsolver_direct_supported'])
INFO     Update variable dispVar := [0, 0, 1.0]
INFO     Need convert value of <var gen_10_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = 0 0 0.19999 0.03 0.06 0.21>
INFO     Need convert value of <var gen_11_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
INFO     Need convert value of <var gen_12_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = 0 0 -0.000000001 0.03 0.06 0.00000001>
INFO     Need convert value of <var gen_13_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
INFO     Need convert value of <var gen_14_ : <Sort: <class 'msml.sortdef.MSMLListF'>, None> = -0.1 -0.1 -0.1 0.04 0.07  0.21>
INFO     Need convert value of <var gen_15_ : <Sort: <class 'msml.sortdef.MSMLString'>, None> = points>
ERROR    Parameter name of Element mass is not specified in definition.
ERROR    Parameter forStep of Element fixedConstraint is not specified in definition.
ERROR    Parameter name of Element fixedConstraint is not specified in definition.
ERROR    Parameter name of Element displacementConstraint is not specified in definition.
ERROR    Parameter forStep of Element displacementConstraint is not specified in definition.
INFO     Need convert value of <var gen_16_ : <Sort: <class 'msml.sortdef.MSMLInt'>, None> = 3000>
INFO     Need convert value of <var gen_17_ : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 100>
INFO     Need convert value of <var gen_18_ : <Sort: <class 'msml.sortdef.MSMLFloat'>, None> = 0.49>
INFO     Task fileCopy for operator copyFile misses input attribute working_directory using default value: True
ERROR    some features are not supported by exporter
ERROR    -- msml_file: set(['object_element_displacement_supported', 'output_supported', 'object_element_mass_supported', 'scene_objects_supported', 'constraints_supported', 'env_processingunit_CPU_supported', 'material_region_supported', 'env_preconditioner_None_supported', 'object_element_linearElasticMaterial_supported', 'sets_elements_supported', 'object_element_displacementConstraint_supported', 'sets_nodes_supported', 'environment_simulation_steps_supported', 'env_linearsolver_direct_supported', 'object_element_fixedConstraint_supported', 'env_timeintegration_dynamicImplicitEuler_supported'])
ERROR    -- supported: frozenset(['object_element_displacement_supported', 'output_supported', 'object_element_mass_supported', 'env_processingunit_CPU_supported', 'constraints_supported', 'material_region_supported', 'env_linearsolver_iterativeCG_supported', 'env_preconditioner_None_supported', 'object_element_linearElasticMaterial_supported', 'scene_objects_supported', 'env_timeintegration_dynamicImplicitEuler_supported', 'sets_surface_supported', 'sets_elements_supported', 'environment_simulation_steps_supported', 'object_element_fixedConstraint_supported', 'sets_nodes_supported'])
ERROR    -- not matched: set(['object_element_displacementConstraint_supported', 'env_linearsolver_direct_supported'])
INFO     Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, <class 'msml.sortdef.IndexSet'>>> -> <Slot sets_constraintRegion: <Sort: <class 'msml.sortdef.MSMLListI'>, <class 'msml.sortdef.Indices'>>>> is invalid. Try to implicit conversion
INFO     Reference <Reference+: <var vol_mesh : <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.TriangularSurface'>> = Beam_Tet4_NElement=1810.vtk> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.VolumeMesh'>>>> is invalid. Try to implicit conversion
INFO     Reference <Reference+: <var vol_mesh : <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.TriangularSurface'>> = Beam_Tet4_NElement=1810.vtk> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.VolumeMesh'>>>> is invalid. Try to implicit conversion
INFO     Reference <Reference+: <var vol_mesh : <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.TriangularSurface'>> = Beam_Tet4_NElement=1810.vtk> -> <Slot mesh: <Sort: <class 'msml.sortdef.VTK'>, <class 'msml.sortdef.VolumeMesh'>>>> is invalid. Try to implicit conversion
INFO     Reference <Reference+: <Slot indices: <Sort: <class 'msml.sortdef.MSMLListI'>, <class 'msml.sortdef.IndexSet'>>> -> <Slot sets_bodyRegion: <Sort: <class 'msml.sortdef.MSMLListI'>, <class 'msml.sortdef.Indices'>>>> is invalid. Try to implicit conversion
INFO     Define variable gen_9_ := 0.49
INFO     Define variable gen_11_ := 'points'
INFO     Define variable gen_13_ := 'points'
INFO     Define variable gen_15_ := 'points'
INFO     Define variable gen_18_ := 0.49
INFO     Define variable gen_4_ := 'points'
INFO     Define variable gen_2_ := 'points'
INFO     Define variable gen_5_ := [-0.1, -0.1, -0.1, 0.04, 0.07, 0.21]
INFO     Define variable gen_3_ := [0.0, 0.0, -1e-09, 0.03, 0.06, 1e-08]
INFO     Define variable gen_10_ := [0.0, 0.0, 0.19999, 0.03, 0.06, 0.21]
INFO     Define variable gen_1_ := [0.0, 0.0, 0.19999, 0.03, 0.06, 0.21]
INFO     Define variable dispVar := [0.0, 0.0, 0.1]
INFO     Define variable gen_12_ := [0.0, 0.0, -1e-09, 0.03, 0.06, 1e-08]
INFO     Define variable gen_17_ := 100.0
INFO     Define variable vol_mesh := '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk'
INFO     Define variable resultMesh := '/homes/students/weigl/workspace1/msml/examples/BeamExample/referenceDisp.vtu'
INFO     Define variable indicesTest := [1, 2, 3]
INFO     Define variable gen_7_ := 3000
INFO     Define variable gen_14_ := [-0.1, -0.1, -0.1, 0.04, 0.07, 0.21]
INFO     Define variable gen_6_ := 'points'
INFO     Define variable gen_8_ := 100.0
INFO     Define variable gen_16_ := 3000
INFO     Executing operator of task <Task converter_task_2 (converter_VTK_VTK)> with arguments {'i': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk'}
INFO     --Executing operator of task converter_task_2 done
INFO     Executing operator of task <Task converter_task_3 (converter_VTK_VTK)> with arguments {'i': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk'}
INFO     --Executing operator of task converter_task_3 done
INFO     Executing operator of task <Task converter_task_4 (converter_VTK_VTK)> with arguments {'i': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk'}
INFO     --Executing operator of task converter_task_4 done
INFO     Executing operator of task <Task leftFaceGroup (ComputeIndicesFromBoxROI)> with arguments {'box': [0.0, 0.0, -1e-09, 0.03, 0.06, 1e-08], 'mesh': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk', 'select': 'points'}
INFO     --Executing operator of task leftFaceGroup done
INFO     Executing operator of task <Task rightFaceGroup (ComputeIndicesFromBoxROI)> with arguments {'box': [0.0, 0.0, 0.19999, 0.03, 0.06, 0.21], 'mesh': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk', 'select': 'points'}
INFO     --Executing operator of task rightFaceGroup done
INFO     Executing operator of task <Task bodyToIndexGroup (ComputeIndicesFromBoxROI)> with arguments {'box': [-0.1, -0.1, -0.1, 0.04, 0.07, 0.21], 'mesh': '/homes/students/weigl/workspace1/msml/examples/BeamExample/Beam_Tet4_NElement=1810.vtk', 'select': 'points'}
INFO     --Executing operator of task bodyToIndexGroup done
INFO     Executing operator of task <Task converter_task_1 (converter_MSMLListI_MSMLListI)> with arguments {'i': (0, 1, 4, 7, 8, 9, 10, 11, 48, 49, 74, 75, 92, 93, 94, 95, 245, 246, 247, 248, 249, 250, 251, 252)}
INFO     --Executing operator of task converter_task_1 done
INFO     Executing operator of task <Task converter_task_5 (converter_MSMLListI_MSMLListI)> with arguments {'i': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486)}
INFO     --Executing operator of task converter_task_5 done
INFO     Converting to sofa scn: beamLinearDisp.msml.scn
INFO     Executing /homes/students/weigl/workspace1/sofa-build/bin/runSofa  -l /usr/lib/libSofaCUDA.so -l /usr/lib/libMediAssist.so -l SOFACuda -g batch -n 20 /tmp/MSMLResults/beamLinearDisp.msml.scn

INFO     Working directory: /tmp/MSMLResults
INFO     Start Sofa with: '/homes/students/weigl/workspace1/sofa-build/bin/runSofa  -l /usr/lib/libSofaCUDA.so -l /usr/lib/libMediAssist.so -l SOFACuda -g batch -n 20 /tmp/MSMLResults/beamLinearDisp.msml.scn
'
INFO     SOFA Plugin /usr/lib/libSofaCUDA.so NOT FOUND in: FileRepository vpath :
INFO     SOFA /home/weigl/workspace/sofa-build/lib
INFO     SOFA 
INFO     SOFA Plugin /usr/lib/libMediAssist.so NOT FOUND in: FileRepository vpath :
INFO     SOFA /home/weigl/workspace/sofa-build/lib
INFO     SOFA 
INFO     SOFA File libSOFACuda.so NOT FOUND in :/home/weigl/workspace/sofa-build/lib
INFO     SOFA Plugin libSOFACuda.so NOT FOUND in: FileRepository vpath :
INFO     SOFA /home/weigl/workspace/sofa-build/lib
INFO     SOFA 
INFO     SOFA Found 487 float points
INFO     SOFA LNG: 0
INFO     SOFA Found 1810 cells
INFO     SOFA LNG: 0
INFO     SOFA LNG: 0
INFO     SOFA WARNING[dofs(MechanicalObject)]: Template <Vec3f> incorrect, used <Vec3d>
INFO     SOFA WARNING[FEM(TetrahedronFEMForceField)]: Template <Vec3f> incorrect, used <Vec3d>
INFO     SOFA WARNING[aTetrahedronSetGeometryAlgorithm(TetrahedronSetGeometryAlgorithms)]: Template <Vec3f> incorrect, used <Vec3d>
INFO     SOFA WARNING[root(GNode)]: Object type "SparseMKLSolver" creation Failed
INFO     SOFA LOAD ERROR: Node initialization failed.
INFO     SOFA reinit 554
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA Computing 20 iterations.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA WARNING[root(GNode)]: ERROR:  requires a LinearSolver.
INFO     SOFA 20 iterations done in 0.049319 s ( 405.523 FPS).
INFO     SOFA 20 iterations done in 0.04932 s ( 405.515 FPS).
INFO     SOFA 
INFO     Sofa ended normally.
INFO     Executing operator of task <Task finalPointDisp (ExtractPointPositions)> with arguments {'indices': (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379, 380, 381, 382, 383, 384, 385, 386, 387, 388, 389, 390, 391, 392, 393, 394, 395, 396, 397, 398, 399, 400, 401, 402, 403, 404, 405, 406, 407, 408, 409, 410, 411, 412, 413, 414, 415, 416, 417, 418, 419, 420, 421, 422, 423, 424, 425, 426, 427, 428, 429, 430, 431, 432, 433, 434, 435, 436, 437, 438, 439, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 452, 453, 454, 455, 456, 457, 458, 459, 460, 461, 462, 463, 464, 465, 466, 467, 468, 469, 470, 471, 472, 473, 474, 475, 476, 477, 478, 479, 480, 481, 482, 483, 484, 485, 486), 'mesh': 'disp10.vtu'}
INFO     --Executing operator of task finalPointDisp done
INFO     Executing operator of task <Task fileCopy (copyFile)> with arguments {'filename_in': 'disp10.vtu', 'filename_out': '/homes/students/weigl/workspace1/msml/examples/BeamExample/referenceDisp.vtu'}
INFO     --Executing operator of task fileCopy done

Process finished with exit code 0
➜  MSMLResults  ll
total 1.1M
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 referenceDisp.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp11.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp10.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp9.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp8.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp7.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp6.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp5.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp4.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp3.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp2.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp1.vtu
-rw-r--r-- 1 weigl students  78K Dez 23 00:12 disp0.vtu
-rw-r--r-- 1 weigl students 6.4K Dez 23 00:12 beamLinearDisp.msml.scn
ssuwelack commented 9 years ago

The variable is indeed updated initially, but the changes are lost once the simulation run is started. Probable the execute memory is overwritten somewhere.

wadoon commented 9 years ago

There is a difference between The dass The variable is set vor not set in ExecuterHelpers.

wadoon commented 9 years ago

Need than other example.

ssuwelack commented 9 years ago

Here is how i tested the Beam/runner_test.py:

Can you reproduce that?