Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.CutForce3,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.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,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.CutForce3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 107.1 kB / 18.39 MB, free: 4.762 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.001714/0.001714, allocations: 184.1 kB / 19.32 MB, free: 3.832 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.385/1.385, 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.218/0.218, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 56.97 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1421, allocations: 60.84 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01052/0.1526, allocations: 9.727 MB / 480.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005821/0.1585, allocations: 2.924 MB / 483.4 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.1602, allocations: 55.81 kB / 483.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004285/0.1645, allocations: 1.99 MB / 485.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1675, allocations: 1.125 MB / 486.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007866/0.1683, allocations: 303.4 kB / 486.8 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003074/0.1714, allocations: 2.325 MB / 489.1 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002709/0.1741, allocations: 2.328 MB / 491.5 MB, free: 8.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.1754, allocations: 0.9073 MB / 492.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.1771, allocations: 1.176 MB / 493.6 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.1775, allocations: 196 kB / 493.7 MB, free: 6.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.1789, allocations: 0.7021 MB / 494.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.1799, allocations: 1.138 MB / 495.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.1813, allocations: 1.347 MB / 496.9 MB, free: 3.285 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004573/0.1859, allocations: 4.453 MB / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.1859, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1859, allocations: 0 / 0.4896 GB, free: 14.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.298e-05/0.186, allocations: 4 kB / 0.4896 GB, free: 14.81 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.005312/0.1913, allocations: 2.943 MB / 0.4925 GB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1914, allocations: 12.03 kB / 0.4925 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004749/0.1961, allocations: 1.58 MB / 0.4941 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.1991, allocations: 1.363 MB / 0.4954 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.1993, allocations: 148.1 kB / 0.4955 GB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.1996, allocations: 191.8 kB / 0.4957 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008941/0.2086, allocations: 6.425 MB / 0.502 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.2086, allocations: 15.88 kB / 0.502 GB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/0.2089, allocations: 87.89 kB / 0.5021 GB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00191/0.2108, allocations: 1.414 MB / 0.5035 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1917/0.4025, allocations: 5.481 MB / 0.5088 GB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02934/0.4319, allocations: 20.42 MB / 0.5288 GB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.4356, allocations: 2.088 MB / 0.5308 GB, free: 30.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/0.4364, allocations: 0.69 MB / 0.5315 GB, free: 30.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005535/0.4419, allocations: 3.5 MB / 0.5349 GB, free: 28.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.442, allocations: 42.66 kB / 0.5349 GB, free: 28.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.442, allocations: 0 / 0.5349 GB, free: 28.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004273/0.4463, allocations: 1.972 MB / 0.5369 GB, free: 26.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.4463, allocations: 57.84 kB / 0.5369 GB, free: 26.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.4482, allocations: 1.962 MB / 0.5388 GB, free: 24.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.515e-05/0.4482, allocations: 37.7 kB / 0.5389 GB, free: 24.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006049/0.4488, allocations: 1.878 MB / 0.5407 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.449, allocations: 321.7 kB / 0.541 GB, free: 21.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005229/0.4495, allocations: 0.6191 MB / 0.5416 GB, free: 21.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.587e-05/0.4496, allocations: 357.9 kB / 0.542 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009033/0.4505, allocations: 0.8959 MB / 0.5428 GB, free: 20.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.4519, allocations: 2.775 MB / 0.5455 GB, free: 16.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/0.4546, allocations: 4.002 MB / 0.5495 GB, free: 11.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.212e-05/0.4546, allocations: 20 kB / 0.5495 GB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003836/0.4585, allocations: 3.553 MB / 0.5529 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.4585, allocations: 36 kB / 0.553 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.221e-05/0.4585, allocations: 64 kB / 0.553 GB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/0.4586, allocations: 88 kB / 0.5531 GB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.4601, allocations: 0.6628 MB / 0.5538 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-05/0.4602, allocations: 127.5 kB / 0.5539 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4617, allocations: 423.8 kB / 0.5543 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/0.4619, allocations: 194 kB / 0.5545 GB, free: 6.223 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.001345/0.4633, allocations: 1.373 MB / 0.5558 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.4634, allocations: 157.9 kB / 0.556 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002476/0.4637, allocations: 193.2 kB / 0.5562 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.4637, allocations: 12 kB / 0.5562 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4637, allocations: 4 kB / 0.5562 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4637, allocations: 3.984 kB / 0.5562 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005218/0.4689, allocations: 4.14 MB / 0.5602 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.469, allocations: 8 kB / 0.5602 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.4693, allocations: 96.62 kB / 0.5603 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.028e-05/0.4693, allocations: 12 kB / 0.5603 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.4694, allocations: 23.94 kB / 0.5603 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.885e-06/0.4694, allocations: 13.34 kB / 0.5604 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.4694, allocations: 13.19 kB / 0.5604 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.4708, allocations: 1.236 MB / 0.5616 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.4712, allocations: 246.8 kB / 0.5618 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.4713, allocations: 22.97 kB / 0.5618 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.4718, allocations: 31.89 kB / 0.5619 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.162e-05/0.4719, allocations: 55.77 kB / 0.5619 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.145e-05/0.472, allocations: 24 kB / 0.5619 GB, free: 14.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0018/0.4738, allocations: 1.291 MB / 0.5632 GB, free: 13.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4738, allocations: 0 / 0.5632 GB, free: 13.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00235/0.4761, allocations: 0.7029 MB / 0.5639 GB, free: 12.35 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.0002914/0.4764, allocations: 149.3 kB / 0.564 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.4792, allocations: 2.048 MB / 0.566 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4792, allocations: 4 kB / 0.566 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.4798, allocations: 458.3 kB / 0.5665 GB, free: 9.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4809, allocations: 246.2 kB / 0.5667 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007914/0.4889, allocations: 5.117 MB / 0.5717 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002347/0.4912, allocations: 2.316 MB / 0.574 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001999/0.4933, allocations: 0.9673 MB / 0.5749 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4935, allocations: 123.4 kB / 0.575 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 1.302e-06/0.4936, allocations: 0 / 0.575 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Templates: time 0.02766/0.5212, allocations: 14.45 MB / 0.5891 GB, free: 2.422 MB / 414.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches