Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 183 kB / 7.801 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008985/0.0008989, allocations: 83.44 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1951/0.1951, allocations: 43.48 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2116/0.4068, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.7061, allocations: 58.84 MB / 476.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.8508, allocations: 101.3 MB / 0.5644 GB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.8512, allocations: 79.95 kB / 0.5645 GB, free: 13.5 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.1529/1.004, allocations: 57.71 MB / 0.6209 GB, free: 3.301 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/1.004, allocations: 8 kB / 0.6209 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008309/1.012, allocations: 1.505 MB / 0.6223 GB, free: 1.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004805/1.017, allocations: 1.766 MB / 0.6241 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001746/1.018, allocations: 96 kB / 0.6241 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/1.019, allocations: 172 kB / 0.6243 GB, free: 15.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009451/1.028, allocations: 4.563 MB / 0.6288 GB, free: 11.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/1.042, allocations: 6.316 MB / 0.6349 GB, free: 4.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001328/1.042, allocations: 19.78 kB / 0.635 GB, free: 4.402 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001073/1.044, allocations: 8 kB / 0.635 GB, free: 4.395 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001118/1.045, allocations: 0.7397 MB / 0.6357 GB, free: 3.652 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1943/1.239, allocations: 23.69 MB / 0.6588 GB, free: 163 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.241, allocations: 1.518 MB / 0.6603 GB, free: 162.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/1.241, allocations: 0.5938 MB / 0.6609 GB, free: 162.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.488e-05/1.241, allocations: 18.91 kB / 0.6609 GB, free: 162.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/1.241, allocations: 37.97 kB / 0.6609 GB, free: 162.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=108): time 3.837e-06/1.241, allocations: 0 / 0.6609 GB, free: 162.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=108): time 0.003123/1.244, allocations: 1.573 MB / 0.6625 GB, free: 162.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/1.244, allocations: 67.14 kB / 0.6625 GB, free: 162.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001827/1.246, allocations: 1.684 MB / 0.6642 GB, free: 161.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.074e-05/1.246, allocations: 25.7 kB / 0.6642 GB, free: 161.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/1.247, allocations: 1.958 MB / 0.6661 GB, free: 160.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/1.247, allocations: 406.7 kB / 0.6665 GB, free: 160.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.748e-05/1.248, allocations: 3.844 kB / 0.6665 GB, free: 160.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/1.248, allocations: 0.4962 MB / 0.667 GB, free: 160.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.249, allocations: 0.9652 MB / 0.6679 GB, free: 160.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/1.251, allocations: 3.123 MB / 0.671 GB, free: 157.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/1.253, allocations: 1.786 MB / 0.6727 GB, free: 157.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.839e-05/1.253, allocations: 25.84 kB / 0.6728 GB, free: 157.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=459) (initialization): time 0.004675/1.258, allocations: 3.595 MB / 0.6763 GB, free: 156.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/1.258, allocations: 7.875 kB / 0.6763 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.675e-05/1.258, allocations: 76.78 kB / 0.6764 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.191e-05/1.258, allocations: 111.2 kB / 0.6765 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/1.26, allocations: 0.7854 MB / 0.6772 GB, free: 156.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.36e-05/1.26, allocations: 154 kB / 0.6774 GB, free: 156.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/1.262, allocations: 393.5 kB / 0.6777 GB, free: 156.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/1.262, allocations: 219.4 kB / 0.678 GB, free: 156.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (435): * Single equations (assignments): 432 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003185/1.262, allocations: 306.3 kB / 0.6782 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/1.263, allocations: 176.5 kB / 0.6784 GB, free: 156.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/1.264, allocations: 1.382 MB / 0.6798 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/1.264, allocations: 17.48 kB / 0.6798 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.264, allocations: 0 / 0.6798 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.264, allocations: 3.375 kB / 0.6798 GB, free: 155.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006613/1.271, allocations: 5.266 MB / 0.6849 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/1.271, allocations: 10.84 kB / 0.6849 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.272, allocations: 150 kB / 0.6851 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.828e-05/1.272, allocations: 18.77 kB / 0.6851 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.105e-05/1.272, allocations: 19.16 kB / 0.6851 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.414e-05/1.272, allocations: 22.84 kB / 0.6851 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.121e-05/1.272, allocations: 19.53 kB / 0.6852 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001735/1.273, allocations: 2.481 MB / 0.6876 GB, free: 151.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002315/1.276, allocations: 2.882 MB / 0.6904 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004258/1.276, allocations: 259.7 kB / 0.6906 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002199/1.276, allocations: 22.67 kB / 0.6907 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/1.277, allocations: 17.75 kB / 0.6907 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.277, allocations: 72.8 kB / 0.6908 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.952e-05/1.277, allocations: 48.2 kB / 0.6908 GB, free: 148.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00187/1.279, allocations: 1.122 MB / 0.6919 GB, free: 148.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004297/1.284, allocations: 0.722 MB / 0.6926 GB, free: 148 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/1.284, allocations: 157.2 kB / 0.6927 GB, free: 147.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003548/1.287, allocations: 2.297 MB / 0.695 GB, free: 147.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.287, allocations: 5.875 kB / 0.695 GB, free: 147.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/1.288, allocations: 0.6207 MB / 0.6956 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/1.289, allocations: 175 kB / 0.6958 GB, free: 146.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009542/1.299, allocations: 4.901 MB / 0.7006 GB, free: 144.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/1.302, allocations: 2.694 MB / 0.7032 GB, free: 142.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.342e-06/1.302, allocations: 0 / 0.7032 GB, free: 142.6 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1)