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.001181/0.001181, allocations: 108.2 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.001107/0.001107, allocations: 182.9 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.35/1.35, allocations: 222.9 MB / 243 MB, free: 15.17 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.199/0.199, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 74.64 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1112, allocations: 60.81 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.01023/0.1215, allocations: 9.734 MB / 480.4 MB, free: 3.879 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005887/0.1274, allocations: 2.928 MB / 483.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.1286, allocations: 51.88 kB / 483.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00363/0.1322, allocations: 1.994 MB / 485.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002579/0.1349, allocations: 1.121 MB / 486.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006781/0.1356, allocations: 295.5 kB / 486.8 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002815/0.1384, allocations: 2.34 MB / 489.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002371/0.1408, allocations: 2.332 MB / 491.5 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.1418, allocations: 0.8995 MB / 492.4 MB, free: 7.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.1431, allocations: 1.18 MB / 493.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.1434, allocations: 196 kB / 493.7 MB, free: 6.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.1445, allocations: 0.7021 MB / 494.5 MB, free: 5.777 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008893/0.1454, allocations: 1.142 MB / 495.6 MB, free: 4.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.1467, allocations: 1.343 MB / 496.9 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003862/0.1506, allocations: 4.449 MB / 0.4896 GB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1506, allocations: 0 / 0.4896 GB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1506, allocations: 0 / 0.4896 GB, free: 14.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.057e-05/0.1507, allocations: 0 / 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.004136/0.1548, allocations: 2.951 MB / 0.4925 GB, free: 11.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1548, allocations: 8.031 kB / 0.4925 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.1594, allocations: 1.584 MB / 0.4941 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.1619, allocations: 1.355 MB / 0.4954 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.199e-05/0.162, allocations: 148.1 kB / 0.4955 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/0.1623, allocations: 195.8 kB / 0.4957 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007402/0.1697, allocations: 6.428 MB / 0.502 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.828e-05/0.1697, allocations: 15.88 kB / 0.502 GB, free: 1.758 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.17, allocations: 91.89 kB / 0.5021 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.1717, allocations: 1.407 MB / 0.5035 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2246/0.3963, allocations: 5.486 MB / 0.5088 GB, free: 45.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02572/0.4221, allocations: 20.41 MB / 0.5288 GB, free: 32.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.4258, allocations: 2.083 MB / 0.5308 GB, free: 30.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008421/0.4267, allocations: 0.6958 MB / 0.5315 GB, free: 30.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005491/0.4322, allocations: 3.497 MB / 0.5349 GB, free: 28.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.4322, allocations: 38.97 kB / 0.5349 GB, free: 28.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.328e-06/0.4322, allocations: 0 / 0.5349 GB, free: 28.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004407/0.4366, allocations: 1.98 MB / 0.5369 GB, free: 26.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.4367, allocations: 55.84 kB / 0.5369 GB, free: 26.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.4388, allocations: 1.964 MB / 0.5388 GB, free: 24.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/0.4388, allocations: 37.7 kB / 0.5389 GB, free: 24.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006908/0.4395, allocations: 1.877 MB / 0.5407 GB, free: 22.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.4397, allocations: 313.6 kB / 0.541 GB, free: 21.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005553/0.4403, allocations: 0.6287 MB / 0.5416 GB, free: 21.28 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.753e-05/0.4403, allocations: 357.9 kB / 0.542 GB, free: 20.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009023/0.4412, allocations: 0.894 MB / 0.5428 GB, free: 20.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.4428, allocations: 2.779 MB / 0.5456 GB, free: 16.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/0.4456, allocations: 3.999 MB / 0.5495 GB, free: 11.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/0.4456, allocations: 16 kB / 0.5495 GB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.004203/0.4498, allocations: 3.55 MB / 0.5529 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.4499, allocations: 32 kB / 0.553 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/0.4499, allocations: 68 kB / 0.553 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.617e-05/0.45, allocations: 90.16 kB / 0.5531 GB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.4516, allocations: 0.6667 MB / 0.5538 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.875e-05/0.4517, allocations: 123.5 kB / 0.5539 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.4533, allocations: 427.7 kB / 0.5543 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.4535, allocations: 191 kB / 0.5545 GB, free: 6.234 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.001525/0.455, allocations: 1.378 MB / 0.5558 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.4552, allocations: 153.9 kB / 0.556 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.4555, allocations: 197.2 kB / 0.5562 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/0.4555, allocations: 12 kB / 0.5562 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.4555, allocations: 0 / 0.5562 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4555, allocations: 4 kB / 0.5562 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.4609, allocations: 4.138 MB / 0.5602 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/0.4609, allocations: 8.812 kB / 0.5602 GB, free: 216 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.4613, allocations: 95.83 kB / 0.5603 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/0.4613, allocations: 8.75 kB / 0.5603 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.4613, allocations: 33.48 kB / 0.5604 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.4614, allocations: 11.94 kB / 0.5604 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4614, allocations: 4 kB / 0.5604 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.4629, allocations: 1.243 MB / 0.5616 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/0.4634, allocations: 250.7 kB / 0.5618 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.4635, allocations: 15.94 kB / 0.5618 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004572/0.464, allocations: 36.66 kB / 0.5619 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.4641, allocations: 47.83 kB / 0.5619 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.647e-05/0.4642, allocations: 35.92 kB / 0.562 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001706/0.4659, allocations: 1.287 MB / 0.5632 GB, free: 13.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4659, allocations: 0 / 0.5632 GB, free: 13.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002518/0.4684, allocations: 0.7068 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.000332/0.4688, allocations: 147.2 kB / 0.564 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.4718, allocations: 2.052 MB / 0.566 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.4718, allocations: 4 kB / 0.566 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005688/0.4724, allocations: 453.5 kB / 0.5665 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00132/0.4737, allocations: 244.3 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.008119/0.4819, 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.00233/0.4843, allocations: 2.316 MB / 0.574 GB, free: 1.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.002134/0.4864, allocations: 0.9648 MB / 0.5749 GB, free: 0.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.4867, allocations: 123.4 kB / 0.575 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4867, allocations: 0 / 0.575 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of Templates: time 0.02966/0.5164, allocations: 14.45 MB / 0.5891 GB, free: 2.43 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 gbode -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