Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 110.1 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 199.3 kB / 19.23 MB, free: 3.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 222.9 MB / 242.9 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2106/0.2106, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.58 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.01145/0.1216, allocations: 9.724 MB / 479.6 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006494/0.1281, allocations: 2.916 MB / 482.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1298, allocations: 51.88 kB / 482.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003998/0.1338, allocations: 2.002 MB / 484.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.1369, allocations: 1.125 MB / 485.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008317/0.1377, allocations: 295.4 kB / 486 MB, free: 14.2 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003017/0.1407, allocations: 2.332 MB / 488.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.1435, allocations: 2.34 MB / 490.7 MB, free: 9.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001339/0.1449, allocations: 0.9034 MB / 491.6 MB, free: 8.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.1465, allocations: 1.168 MB / 492.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004699/0.147, allocations: 196 kB / 493 MB, free: 7.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1483, allocations: 0.706 MB / 493.7 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.1495, allocations: 1.142 MB / 494.8 MB, free: 5.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.1513, allocations: 1.347 MB / 496.2 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004693/0.1561, allocations: 4.283 MB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.1561, allocations: 4 kB / 0.4887 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1561, allocations: 0 / 0.4887 GB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.1562, allocations: 0 / 0.4887 GB, free: 15.7 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.006573/0.1628, allocations: 2.951 MB / 0.4916 GB, free: 12.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.1629, allocations: 8.031 kB / 0.4916 GB, free: 12.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005592/0.1685, allocations: 1.58 MB / 0.4932 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.1714, allocations: 1.344 MB / 0.4945 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.1715, allocations: 148.1 kB / 0.4946 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006068/0.1722, allocations: 195.8 kB / 0.4948 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01095/0.1831, allocations: 6.428 MB / 0.5011 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.268e-05/0.1832, allocations: 11.88 kB / 0.5011 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004568/0.1837, allocations: 95.89 kB / 0.5012 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002322/0.186, allocations: 1.399 MB / 0.5025 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2156/0.4017, allocations: 5.484 MB / 0.5079 GB, free: 45.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02775/0.4295, allocations: 20.61 MB / 0.528 GB, free: 32.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/0.4333, allocations: 2.008 MB / 0.53 GB, free: 30.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008752/0.4342, allocations: 0.6945 MB / 0.5307 GB, free: 30.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005604/0.4398, allocations: 3.629 MB / 0.5342 GB, free: 28.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.4399, allocations: 37.66 kB / 0.5342 GB, free: 28.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.677e-06/0.4399, allocations: 0 / 0.5342 GB, free: 28.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004862/0.4447, allocations: 1.98 MB / 0.5362 GB, free: 26.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.4448, allocations: 63.72 kB / 0.5362 GB, free: 26.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.447, allocations: 1.97 MB / 0.5382 GB, free: 24.83 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.464e-05/0.4471, allocations: 33.7 kB / 0.5382 GB, free: 24.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007152/0.4478, allocations: 1.884 MB / 0.54 GB, free: 22.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.448, allocations: 318.1 kB / 0.5403 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.4485, allocations: 0.6191 MB / 0.5409 GB, free: 21.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.925e-05/0.4486, allocations: 357.9 kB / 0.5413 GB, free: 21.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009587/0.4496, allocations: 0.8881 MB / 0.5421 GB, free: 20.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.4511, allocations: 2.776 MB / 0.5449 GB, free: 17.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002711/0.4538, allocations: 3.995 MB / 0.5488 GB, free: 12.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.611e-05/0.4538, allocations: 23.19 kB / 0.5488 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004236/0.4581, allocations: 3.552 MB / 0.5522 GB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.168e-05/0.4582, allocations: 36.94 kB / 0.5523 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-05/0.4582, allocations: 64 kB / 0.5523 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.771e-05/0.4583, allocations: 88 kB / 0.5524 GB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/0.4599, allocations: 0.6705 MB / 0.5531 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-05/0.46, allocations: 123.5 kB / 0.5532 GB, free: 7.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4617, allocations: 423.5 kB / 0.5536 GB, free: 7.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4619, allocations: 182.3 kB / 0.5538 GB, free: 6.926 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 304 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (365): * Single equations (assignments): 360 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001576/0.4635, allocations: 1.382 MB / 0.5551 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002118/0.4637, allocations: 153.9 kB / 0.5553 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.464, allocations: 201.2 kB / 0.5555 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/0.4641, allocations: 15.94 kB / 0.5555 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.4641, allocations: 0 / 0.5555 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4641, allocations: 0 / 0.5555 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00491/0.469, allocations: 4.101 MB / 0.5595 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4691, allocations: 9.375 kB / 0.5595 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000399/0.4695, allocations: 103.8 kB / 0.5596 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.4695, allocations: 8 kB / 0.5596 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.939e-05/0.4695, allocations: 16 kB / 0.5596 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.4695, allocations: 11.94 kB / 0.5596 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4695, allocations: 8 kB / 0.5596 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4709, allocations: 1.276 MB / 0.5609 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.4712, allocations: 250.7 kB / 0.5611 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.4714, allocations: 16 kB / 0.5611 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.4719, allocations: 31.97 kB / 0.5612 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.359e-05/0.472, allocations: 51.83 kB / 0.5612 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.364e-05/0.4721, allocations: 39.84 kB / 0.5613 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.4738, allocations: 1.283 MB / 0.5625 GB, free: 13.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4738, allocations: 1.031 kB / 0.5625 GB, free: 13.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002429/0.4762, allocations: 0.7139 MB / 0.5632 GB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003068/0.4765, allocations: 144.4 kB / 0.5633 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003293/0.4798, allocations: 2.254 MB / 0.5655 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.4799, allocations: 4 kB / 0.5655 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.4805, allocations: 469.4 kB / 0.566 GB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.4818, allocations: 246.6 kB / 0.5662 GB, free: 9.938 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.491, allocations: 5.54 MB / 0.5716 GB, free: 4.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00282/0.4939, allocations: 2.316 MB / 0.5739 GB, free: 1.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.4944, allocations: 151.4 kB / 0.574 GB, free: 1.781 MB / 398.1 MB Notification: Performance of SimCode: time 1.443e-06/0.4944, allocations: 0 / 0.574 GB, free: 1.781 MB / 398.1 MB Notification: Performance of Templates: time 0.04832/0.5428, allocations: 30.54 MB / 0.6039 GB, free: 3.312 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches