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: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.000934/0.0009342, allocations: 101.5 kB / 269.9 MB, free: 8.441 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.3055/0.3055, allocations: 43.5 MB / 360.7 MB, free: 51.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009486/0.0009487, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1053, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.2172/0.3226, allocations: 38.97 MB / 0.5136 GB, free: 36.72 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01399/0.3366, allocations: 7.709 MB / 0.5212 GB, free: 34.68 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006405/0.3431, allocations: 155.8 kB / 0.5213 GB, free: 34.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.3462, allocations: 2.015 MB / 0.5233 GB, free: 34.06 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3486, allocations: 1.14 MB / 0.5244 GB, free: 33.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.3492, allocations: 271 kB / 0.5247 GB, free: 33.6 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002662/0.3519, allocations: 3.668 MB / 0.5282 GB, free: 32.71 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.3537, allocations: 2.374 MB / 0.5306 GB, free: 31.9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000708/0.3545, allocations: 0.8512 MB / 0.5314 GB, free: 31.6 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.3556, allocations: 1.369 MB / 0.5327 GB, free: 31.19 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002355/0.3558, allocations: 162.4 kB / 0.5329 GB, free: 31.19 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009611/0.3568, allocations: 0.6974 MB / 0.5336 GB, free: 31.05 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006862/0.3575, allocations: 1.191 MB / 0.5347 GB, free: 30.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008227/0.3583, allocations: 1.423 MB / 0.5361 GB, free: 29.64 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.3614, allocations: 4.601 MB / 0.5406 GB, free: 28.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3615, allocations: 0 / 0.5406 GB, free: 28.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3615, allocations: 0 / 0.5406 GB, free: 28.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.3616, allocations: 0 / 0.5406 GB, free: 28.12 MB / 394.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.005439/0.367, allocations: 3.155 MB / 0.5437 GB, free: 26.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.3671, allocations: 9.625 kB / 0.5437 GB, free: 26.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.372, allocations: 1.616 MB / 0.5453 GB, free: 26.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.3745, allocations: 1.412 MB / 0.5467 GB, free: 25.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.3746, allocations: 163.4 kB / 0.5468 GB, free: 25.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002847/0.3749, allocations: 209.4 kB / 0.547 GB, free: 25.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009246/0.3841, allocations: 6.97 MB / 0.5538 GB, free: 22.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.3842, allocations: 17.66 kB / 0.5538 GB, free: 22.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.3844, allocations: 95.08 kB / 0.5539 GB, free: 22.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002205/0.3866, allocations: 1.525 MB / 0.5554 GB, free: 21.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.3967, allocations: 5.958 MB / 0.5612 GB, free: 19.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02281/0.4196, allocations: 22.24 MB / 0.583 GB, free: 1.066 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003747/0.4234, allocations: 2.194 MB / 0.5851 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.4245, allocations: 0.8108 MB / 0.5859 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006905/0.4314, allocations: 3.96 MB / 0.5898 GB, free: 9.867 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.4314, allocations: 47.16 kB / 0.5898 GB, free: 9.812 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 3.006e-06/0.4315, allocations: 0 / 0.5898 GB, free: 9.812 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.005261/0.4367, allocations: 2.26 MB / 0.592 GB, free: 7.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.4368, allocations: 60.06 kB / 0.5921 GB, free: 7.477 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002564/0.4394, allocations: 2.06 MB / 0.5941 GB, free: 5.367 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/0.4394, allocations: 40.59 kB / 0.5941 GB, free: 5.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001186/0.4406, allocations: 2.006 MB / 0.5961 GB, free: 3.312 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003119/0.4409, allocations: 374.7 kB / 0.5964 GB, free: 2.949 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007568/0.4417, allocations: 0.6732 MB / 0.5971 GB, free: 2.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.4418, allocations: 357.9 kB / 0.5974 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.4432, allocations: 0.9941 MB / 0.5984 GB, free: 0.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.4459, allocations: 3.007 MB / 0.6013 GB, free: 12.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004306/0.4502, allocations: 4.354 MB / 0.6056 GB, free: 7.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-05/0.4502, allocations: 24 kB / 0.6056 GB, free: 7.543 MB / 426.7 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005462/0.4557, allocations: 3.886 MB / 0.6094 GB, free: 3.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.4558, allocations: 40.22 kB / 0.6094 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/0.4559, allocations: 68 kB / 0.6095 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.82e-05/0.456, allocations: 96 kB / 0.6096 GB, free: 3.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001907/0.4579, allocations: 0.7252 MB / 0.6103 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.663e-05/0.458, allocations: 139.4 kB / 0.6104 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/0.4598, allocations: 461.2 kB / 0.6109 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.4601, allocations: 200 kB / 0.6111 GB, free: 1.941 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * 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.002041/0.4622, allocations: 1.468 MB / 0.6125 GB, free: 476 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.4624, allocations: 173.7 kB / 0.6127 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001971/0.4644, allocations: 1.249 MB / 0.6139 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.4644, allocations: 8 kB / 0.6139 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4644, allocations: 3.984 kB / 0.6139 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4644, allocations: 7.922 kB / 0.6139 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007679/0.4721, allocations: 5.03 MB / 0.6188 GB, free: 9.801 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.619e-05/0.4722, allocations: 12 kB / 0.6188 GB, free: 9.789 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005354/0.4727, allocations: 139.8 kB / 0.619 GB, free: 9.652 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.4727, allocations: 12 kB / 0.619 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.4728, allocations: 31.94 kB / 0.619 GB, free: 9.609 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-05/0.4728, allocations: 20.52 kB / 0.619 GB, free: 9.59 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/0.4728, allocations: 19.94 kB / 0.6191 GB, free: 9.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.4758, allocations: 3.022 MB / 0.622 GB, free: 6.352 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004334/0.4762, allocations: 270.5 kB / 0.6223 GB, free: 6.066 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.4764, allocations: 28 kB / 0.6223 GB, free: 6.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.477, allocations: 39.91 kB / 0.6223 GB, free: 6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.4771, allocations: 75.69 kB / 0.6224 GB, free: 5.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-05/0.4772, allocations: 47.27 kB / 0.6224 GB, free: 5.883 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001675/0.4788, allocations: 1.34 MB / 0.6238 GB, free: 4.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4789, allocations: 4 kB / 0.6238 GB, free: 4.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00258/0.4814, allocations: 0.7776 MB / 0.6245 GB, free: 3.734 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.0002889/0.4817, allocations: 157.9 kB / 0.6247 GB, free: 3.574 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003017/0.4848, allocations: 2.291 MB / 0.6269 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4848, allocations: 0 / 0.6269 GB, free: 1.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006814/0.4855, allocations: 0.5649 MB / 0.6275 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.4867, allocations: 244.4 kB / 0.6277 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00962/0.4963, allocations: 7.879 MB / 0.6354 GB, free: 8.461 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/0.4987, allocations: 2.489 MB / 0.6378 GB, free: 5.945 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002502/0.5012, allocations: 1.039 MB / 0.6388 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.5016, allocations: 131.4 kB / 0.639 GB, free: 4.773 MB / 458.7 MB Notification: Performance of SimCode: time 2.435e-06/0.5016, allocations: 4 kB / 0.639 GB, free: 4.77 MB / 458.7 MB Notification: Performance of Templates: time 0.0294/0.531, allocations: 15.9 MB / 0.6545 GB, free: 4.938 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches