Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 109.4 kB / 18.4 MB, free: 4.695 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.001278/0.001278, allocations: 192 kB / 19.34 MB, free: 3.766 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.427/1.427, allocations: 222.9 MB / 243 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.2159/0.2159, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 56.12 kB / 409.9 MB, free: 26.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1287, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01034/0.1391, allocations: 9.734 MB / 480.4 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006525/0.1456, allocations: 2.92 MB / 483.4 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001385/0.147, allocations: 51.94 kB / 483.4 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00382/0.1509, allocations: 1.998 MB / 485.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.1549, allocations: 1.121 MB / 486.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.1559, allocations: 303.4 kB / 486.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.1595, allocations: 2.325 MB / 489.2 MB, free: 11.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002573/0.1621, allocations: 2.328 MB / 491.5 MB, free: 8.777 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.1633, allocations: 0.9072 MB / 492.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.1648, allocations: 1.176 MB / 493.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.1652, allocations: 196 kB / 493.8 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1664, allocations: 0.6982 MB / 494.5 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009307/0.1673, allocations: 1.142 MB / 495.6 MB, free: 4.652 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001124/0.1685, allocations: 1.351 MB / 496.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003981/0.1724, allocations: 4.449 MB / 0.4896 GB, free: 14.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1725, allocations: 0 / 0.4896 GB, free: 14.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1725, allocations: 0 / 0.4896 GB, free: 14.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.098e-05/0.1726, allocations: 0 / 0.4896 GB, free: 14.83 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.004528/0.1771, allocations: 2.943 MB / 0.4925 GB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1771, allocations: 12.03 kB / 0.4925 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004612/0.1818, allocations: 1.584 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.1844, allocations: 1.367 MB / 0.4954 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.1846, allocations: 144.1 kB / 0.4955 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.1849, allocations: 195.8 kB / 0.4957 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009586/0.1945, allocations: 6.425 MB / 0.502 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.007e-05/0.1946, allocations: 11.88 kB / 0.502 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.1948, allocations: 87.91 kB / 0.5021 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.1969, allocations: 1.407 MB / 0.5035 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2976/0.4945, allocations: 5.492 MB / 0.5088 GB, free: 45.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02903/0.5236, allocations: 20.42 MB / 0.5288 GB, free: 32.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003758/0.5274, allocations: 2.078 MB / 0.5308 GB, free: 30.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.5282, allocations: 0.6923 MB / 0.5315 GB, free: 30.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00566/0.5339, allocations: 3.503 MB / 0.5349 GB, free: 28.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.5339, allocations: 42.03 kB / 0.5349 GB, free: 28.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.976e-06/0.534, allocations: 0 / 0.5349 GB, free: 28.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004375/0.5383, allocations: 1.976 MB / 0.5369 GB, free: 26.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.5384, allocations: 55.84 kB / 0.5369 GB, free: 26.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002032/0.5404, allocations: 1.96 MB / 0.5388 GB, free: 24.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.5405, allocations: 37.7 kB / 0.5389 GB, free: 24.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007017/0.5412, allocations: 1.878 MB / 0.5407 GB, free: 22.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.5413, allocations: 315.8 kB / 0.541 GB, free: 21.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/0.5419, allocations: 0.6266 MB / 0.5416 GB, free: 21.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.808e-05/0.542, allocations: 359.9 kB / 0.542 GB, free: 20.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009277/0.5429, allocations: 0.892 MB / 0.5428 GB, free: 20 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/0.5446, allocations: 2.778 MB / 0.5456 GB, free: 16.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/0.5474, allocations: 3.999 MB / 0.5495 GB, free: 11.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.463e-05/0.5474, allocations: 20 kB / 0.5495 GB, free: 11.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004073/0.5515, allocations: 3.543 MB / 0.5529 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.106e-05/0.5516, allocations: 32 kB / 0.553 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-05/0.5516, allocations: 71.94 kB / 0.553 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.489e-05/0.5517, allocations: 88 kB / 0.5531 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/0.5533, allocations: 0.6667 MB / 0.5538 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.937e-05/0.5534, allocations: 131.4 kB / 0.5539 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.555, allocations: 423.3 kB / 0.5543 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.5552, allocations: 188.1 kB / 0.5545 GB, free: 6.203 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 (cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (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.00157/0.5568, allocations: 1.377 MB / 0.5558 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.557, allocations: 153.9 kB / 0.556 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002605/0.5573, allocations: 197.2 kB / 0.5562 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.5573, allocations: 12 kB / 0.5562 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5573, allocations: 0 / 0.5562 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.5573, allocations: 3.984 kB / 0.5562 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.5627, allocations: 4.14 MB / 0.5602 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.5628, allocations: 8 kB / 0.5602 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.5631, allocations: 99.81 kB / 0.5603 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.747e-06/0.5631, allocations: 8 kB / 0.5603 GB, free: 76 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-05/0.5632, allocations: 24.62 kB / 0.5604 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.968e-06/0.5632, allocations: 12.5 kB / 0.5604 GB, free: 40 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5632, allocations: 15.92 kB / 0.5604 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5646, allocations: 1.239 MB / 0.5616 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004083/0.5651, allocations: 246.8 kB / 0.5618 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.5652, allocations: 25.38 kB / 0.5619 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004477/0.5657, allocations: 31.89 kB / 0.5619 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.5658, allocations: 51.83 kB / 0.5619 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/0.5658, allocations: 27.98 kB / 0.562 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.5675, allocations: 1.287 MB / 0.5632 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5676, allocations: 0 / 0.5632 GB, free: 13.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00268/0.5702, allocations: 0.7039 MB / 0.5639 GB, free: 12.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.0003583/0.5706, allocations: 141.3 kB / 0.564 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00305/0.5737, allocations: 2.057 MB / 0.566 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.5737, allocations: 4 kB / 0.566 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005452/0.5742, allocations: 455.9 kB / 0.5665 GB, free: 9.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.5754, allocations: 258.4 kB / 0.5667 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008515/0.584, allocations: 5.112 MB / 0.5717 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.5862, allocations: 2.319 MB / 0.574 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002074/0.5883, allocations: 0.9647 MB / 0.5749 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.5886, allocations: 123.4 kB / 0.575 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5886, allocations: 0 / 0.575 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of Templates: time 0.02918/0.6178, allocations: 14.45 MB / 0.5892 GB, free: 2.418 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches