Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009434/0.0009434, allocations: 194.6 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.218/1.218, allocations: 226.5 MB / 244.1 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000777/0.0007773, allocations: 99.16 kB / 296.1 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3096/0.3096, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.000313, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2813, allocations: 62.95 MB / 0.5165 GB, free: 36.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3967, allocations: 106.2 MB / 0.6202 GB, free: 15.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3969, allocations: 83.95 kB / 0.6203 GB, free: 15.05 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.5309, allocations: 60.97 MB / 0.6798 GB, free: 1.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.531, allocations: 0 / 0.6798 GB, free: 1.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.5311, allocations: 67.94 kB / 0.6799 GB, free: 1.652 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.2287/0.7598, allocations: 2.884 MB / 0.6827 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7599, allocations: 9.812 kB / 0.6827 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007713/0.7676, allocations: 1.881 MB / 0.6845 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004336/0.772, allocations: 1.924 MB / 0.6864 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.7722, allocations: 256.7 kB / 0.6867 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.7732, allocations: 330.5 kB / 0.687 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.7863, allocations: 7.304 MB / 0.6941 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.057e-05/0.7864, allocations: 15.69 kB / 0.6941 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004331/0.7869, allocations: 154.2 kB / 0.6943 GB, free: 99.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007288/0.7876, allocations: 0.7005 MB / 0.695 GB, free: 99.79 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.7977, allocations: 6.231 MB / 0.701 GB, free: 99.75 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03162/0.8294, allocations: 25.01 MB / 0.7255 GB, free: 84.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.8338, allocations: 2.194 MB / 0.7276 GB, free: 83.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009457/0.8348, allocations: 0.766 MB / 0.7284 GB, free: 83.17 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006025/0.8409, allocations: 3.896 MB / 0.7322 GB, free: 81.23 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.841, allocations: 46.86 kB / 0.7322 GB, free: 81.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=87): time 4.578e-06/0.841, allocations: 0 / 0.7322 GB, free: 81.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=87): time 0.005661/0.8466, allocations: 2.248 MB / 0.7344 GB, free: 80.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.8467, allocations: 62.69 kB / 0.7345 GB, free: 80.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.8496, allocations: 2.079 MB / 0.7365 GB, free: 79.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.531e-05/0.8497, allocations: 40.55 kB / 0.7365 GB, free: 79.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/0.8507, allocations: 2.111 MB / 0.7386 GB, free: 78.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002636/0.8509, allocations: 348.3 kB / 0.7389 GB, free: 77.86 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/0.8511, allocations: 61.59 kB / 0.739 GB, free: 77.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8512, allocations: 435.7 kB / 0.7394 GB, free: 77.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8522, allocations: 0.9068 MB / 0.7403 GB, free: 77.18 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.8539, allocations: 2.86 MB / 0.7431 GB, free: 74.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003098/0.857, allocations: 4.108 MB / 0.7471 GB, free: 70.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.348e-05/0.857, allocations: 18.28 kB / 0.7471 GB, free: 70.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.004684/0.8617, allocations: 3.647 MB / 0.7507 GB, free: 69.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.433e-05/0.8618, allocations: 32.94 kB / 0.7507 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-05/0.8619, allocations: 70.66 kB / 0.7508 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.196e-05/0.862, allocations: 93.88 kB / 0.7509 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/0.8637, allocations: 0.7044 MB / 0.7515 GB, free: 69.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.945e-05/0.8638, allocations: 134.5 kB / 0.7517 GB, free: 69.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.8656, allocations: 431.6 kB / 0.7521 GB, free: 68.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002728/0.8659, allocations: 203.5 kB / 0.7523 GB, free: 68.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 382 * 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.002222/0.8681, allocations: 1.555 MB / 0.7538 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.8684, allocations: 170.9 kB / 0.754 GB, free: 68.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.8688, allocations: 219.8 kB / 0.7542 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.8688, allocations: 11.41 kB / 0.7542 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.8688, allocations: 3.156 kB / 0.7542 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.8688, allocations: 3.094 kB / 0.7542 GB, free: 67.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006542/0.8754, allocations: 5.07 MB / 0.7591 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.8754, allocations: 9.719 kB / 0.7591 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004095/0.8758, allocations: 117.1 kB / 0.7593 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/0.8759, allocations: 10.66 kB / 0.7593 GB, free: 65.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.523e-05/0.8759, allocations: 27.31 kB / 0.7593 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/0.8759, allocations: 18.17 kB / 0.7593 GB, free: 65.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8759, allocations: 15.81 kB / 0.7593 GB, free: 65.86 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.8772, allocations: 1.415 MB / 0.7607 GB, free: 65.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.8776, allocations: 298.9 kB / 0.761 GB, free: 64.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/0.8777, allocations: 20.84 kB / 0.761 GB, free: 64.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.8783, allocations: 36 kB / 0.761 GB, free: 64.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.8784, allocations: 67.36 kB / 0.7611 GB, free: 64.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.555e-05/0.8784, allocations: 35.8 kB / 0.7611 GB, free: 64.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001691/0.8801, allocations: 1.459 MB / 0.7626 GB, free: 64.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.8801, allocations: 0 / 0.7626 GB, free: 64.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002443/0.8826, allocations: 0.8204 MB / 0.7634 GB, free: 63.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.000295/0.8829, allocations: 153.3 kB / 0.7635 GB, free: 63.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.8854, allocations: 2.115 MB / 0.7656 GB, free: 63.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.8854, allocations: 1.812 kB / 0.7656 GB, free: 63.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.8859, allocations: 0.5021 MB / 0.7661 GB, free: 63.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/0.8891, allocations: 277.1 kB / 0.7663 GB, free: 62.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008627/0.8977, allocations: 7.617 MB / 0.7738 GB, free: 55.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002086/0.8998, allocations: 2.603 MB / 0.7763 GB, free: 53.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004456/0.9003, allocations: 166.8 kB / 0.7765 GB, free: 53.54 MB / 490.7 MB Notification: Performance of SimCode: time 6.81e-07/0.9003, allocations: 0 / 0.7765 GB, free: 53.54 MB / 490.7 MB Notification: Performance of Templates: time 0.03906/0.9394, allocations: 34.3 MB / 0.81 GB, free: 23.89 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches