Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001765/0.001764, allocations: 174.8 kB / 8.148 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 93.86 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2577/0.2577, allocations: 43.49 MB / 353.2 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.644e-06/7.674e-06, allocations: 224 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.4464, allocations: 106.3 MB / 0.5692 GB, free: 8.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.4468, allocations: 75.95 kB / 0.5692 GB, free: 8.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.135/1.582, allocations: 194.1 MB / 0.7588 GB, free: 46.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004991/1.583, allocations: 196 kB / 0.759 GB, free: 46.31 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.03685/1.62, allocations: 9.296 MB / 0.768 GB, free: 36.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/1.62, allocations: 8.031 kB / 0.7681 GB, free: 36.91 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03163/1.651, allocations: 3.395 MB / 0.7714 GB, free: 33.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03597/1.687, allocations: 10.69 MB / 0.7818 GB, free: 22.72 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006877/1.688, allocations: 351.9 kB / 0.7821 GB, free: 22.38 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00538/1.694, allocations: 0.6092 MB / 0.7827 GB, free: 21.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04121/1.735, allocations: 15.06 MB / 0.7974 GB, free: 6.691 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06679/1.802, allocations: 21.23 MB / 0.8182 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006053/1.802, allocations: 95.09 kB / 0.8183 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005097/1.807, allocations: 48 kB / 0.8183 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006499/1.814, allocations: 2.419 MB / 0.8207 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3502/2.164, allocations: 95.42 MB / 0.9139 GB, free: 82.32 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009129/2.173, allocations: 4.101 MB / 0.9179 GB, free: 81.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00504/2.179, allocations: 2.155 MB / 0.92 GB, free: 81.58 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0302/2.209, allocations: 9.987 MB / 0.9297 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/2.209, allocations: 70.16 kB / 0.9298 GB, free: 79.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=288): time 7.574e-06/2.209, allocations: 0 / 0.9298 GB, free: 79.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=288): time 0.03182/2.241, allocations: 6.28 MB / 0.9359 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.126e-05/2.241, allocations: 157.8 kB / 0.9361 GB, free: 77.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01908/2.26, allocations: 5.891 MB / 0.9418 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008241/2.261, allocations: 25.7 kB / 0.9418 GB, free: 75.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006687/2.268, allocations: 6.338 MB / 0.948 GB, free: 71.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002434/2.27, allocations: 1.095 MB / 0.9491 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001699/2.272, allocations: 0 / 0.9491 GB, free: 70.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001567/2.273, allocations: 0.7676 MB / 0.9499 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/2.284, allocations: 2.897 MB / 0.9527 GB, free: 69.22 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01608/2.3, allocations: 9.744 MB / 0.9622 GB, free: 58.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01911/2.32, allocations: 5.259 MB / 0.9673 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004086/2.32, allocations: 70.62 kB / 0.9674 GB, free: 57.33 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.04716/2.367, allocations: 10.84 MB / 0.978 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/2.367, allocations: 3.969 kB / 0.978 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006842/2.368, allocations: 252.2 kB / 0.9782 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006541/2.369, allocations: 362.2 kB / 0.9786 GB, free: 53.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02445/2.393, allocations: 2.66 MB / 0.9812 GB, free: 53.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000497/2.394, allocations: 485.7 kB / 0.9816 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/2.407, allocations: 0.8901 MB / 0.9825 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003002/2.41, allocations: 0.6617 MB / 0.9832 GB, free: 51.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1127 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1405): * Single equations (assignments): 1402 * 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.003175/2.414, allocations: 0.6487 MB / 0.9838 GB, free: 50.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002227/2.416, allocations: 0.6127 MB / 0.9844 GB, free: 50.38 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/2.429, allocations: 3.413 MB / 0.9877 GB, free: 47.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001291/2.429, allocations: 34.62 kB / 0.9878 GB, free: 47.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.207e-05/2.429, allocations: 4 kB / 0.9878 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-05/2.429, allocations: 10.17 kB / 0.9878 GB, free: 47.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3416/2.771, allocations: 59.23 MB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001518/2.771, allocations: 52.09 kB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005147/2.776, allocations: 0.5504 MB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-05/2.777, allocations: 74.72 kB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007001/2.777, allocations: 98.88 kB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.934e-05/2.777, allocations: 111.4 kB / 1.046 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.888e-05/2.777, allocations: 83.22 kB / 1.047 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01373/2.791, allocations: 15.95 MB / 1.062 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002586/2.794, allocations: 0.9087 MB / 1.063 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002758/2.797, allocations: 85.91 kB / 1.063 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007407/2.804, allocations: 193.8 kB / 1.063 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001178/2.805, allocations: 317.7 kB / 1.064 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004723/2.806, allocations: 159.8 kB / 1.064 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.01134/2.817, allocations: 3.944 MB / 1.068 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01522/2.832, allocations: 2.458 MB / 1.07 GB, free: 105.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 245 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (272): * Single equations (assignments): 269 * 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.001428/2.834, allocations: 246.1 kB / 1.07 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01708/2.851, allocations: 6.883 MB / 1.077 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.121e-05/2.851, allocations: 8.156 kB / 1.077 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004557/2.856, allocations: 1.784 MB / 1.079 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007588/2.863, allocations: 0.7714 MB / 1.079 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05883/2.922, allocations: 18.25 MB / 1.097 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02284/2.945, allocations: 7.594 MB / 1.105 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.563e-06/2.945, allocations: 3.844 kB / 1.105 GB, free: 99.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.4292/3.374, allocations: 109.1 MB / 1.211 GB, free: 120.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque1/CutForceAndTorque1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches