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.001161/0.001161, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001256/0.001256, allocations: 191 kB / 19.34 MB, free: 3.641 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.387/1.387, 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.2044/0.2044, allocations: 44.17 MB / 337.4 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 69.48 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1166, allocations: 60.83 MB / 470.7 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01152/0.1282, allocations: 9.723 MB / 480.4 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006014/0.1342, allocations: 2.926 MB / 483.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1354, allocations: 51.88 kB / 483.4 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003768/0.1392, allocations: 1.994 MB / 485.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.1419, allocations: 1.132 MB / 486.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006678/0.1426, allocations: 295.5 kB / 486.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.1455, allocations: 2.329 MB / 489.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.1486, allocations: 2.328 MB / 491.5 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001249/0.1499, allocations: 0.8995 MB / 492.4 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.1514, allocations: 1.184 MB / 493.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003257/0.1518, allocations: 200 kB / 493.8 MB, free: 6.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.1529, allocations: 0.6982 MB / 494.5 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008889/0.1538, allocations: 1.142 MB / 495.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.1551, allocations: 1.347 MB / 496.9 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004735/0.1598, allocations: 4.449 MB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1599, allocations: 0 / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1599, allocations: 0 / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.569e-05/0.16, allocations: 4 kB / 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.005438/0.1654, allocations: 2.947 MB / 0.4925 GB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.1655, allocations: 8.031 kB / 0.4925 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004857/0.1703, allocations: 1.58 MB / 0.4941 GB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/0.1736, allocations: 1.363 MB / 0.4954 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.1738, allocations: 148.1 kB / 0.4956 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.1741, allocations: 191.8 kB / 0.4957 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.1847, allocations: 6.428 MB / 0.502 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.09e-05/0.1848, allocations: 11.88 kB / 0.502 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.1851, allocations: 95.89 kB / 0.5021 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.1872, allocations: 1.403 MB / 0.5035 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2075/0.3947, allocations: 5.491 MB / 0.5088 GB, free: 45.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0268/0.4216, allocations: 20.42 MB / 0.5288 GB, free: 32.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/0.4251, allocations: 2.08 MB / 0.5308 GB, free: 30.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.4259, allocations: 0.6927 MB / 0.5315 GB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004877/0.4308, allocations: 3.5 MB / 0.5349 GB, free: 28.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.4308, allocations: 35 kB / 0.5349 GB, free: 28.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.4308, allocations: 0 / 0.5349 GB, free: 28.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004217/0.435, allocations: 1.983 MB / 0.5369 GB, free: 26.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4351, allocations: 59.84 kB / 0.5369 GB, free: 26.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001873/0.437, allocations: 1.964 MB / 0.5389 GB, free: 24.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.437, allocations: 29.7 kB / 0.5389 GB, free: 24.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.4376, allocations: 1.881 MB / 0.5407 GB, free: 22.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.4378, allocations: 313.1 kB / 0.541 GB, free: 21.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.4383, allocations: 0.622 MB / 0.5416 GB, free: 21.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.628e-05/0.4384, allocations: 361.9 kB / 0.542 GB, free: 20.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009025/0.4393, allocations: 0.8953 MB / 0.5428 GB, free: 20.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.4408, allocations: 2.776 MB / 0.5456 GB, free: 16.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.4434, allocations: 4.001 MB / 0.5495 GB, free: 11.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.4434, allocations: 20 kB / 0.5495 GB, free: 11.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=399) (initialization): time 0.003748/0.4472, allocations: 3.558 MB / 0.553 GB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.4472, allocations: 32 kB / 0.553 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-05/0.4472, allocations: 68 kB / 0.5531 GB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.728e-05/0.4473, allocations: 88 kB / 0.5531 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.4488, allocations: 0.655 MB / 0.5538 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-05/0.4489, allocations: 135.4 kB / 0.5539 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.4504, allocations: 420 kB / 0.5543 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/0.4505, allocations: 188 kB / 0.5545 GB, free: 6.266 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.001428/0.452, allocations: 1.377 MB / 0.5558 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.4521, allocations: 155.8 kB / 0.556 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.4524, allocations: 201.2 kB / 0.5562 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/0.4524, allocations: 14.11 kB / 0.5562 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.4524, allocations: 0 / 0.5562 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4524, allocations: 3.984 kB / 0.5562 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004999/0.4574, allocations: 4.139 MB / 0.5602 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4574, allocations: 4 kB / 0.5602 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.4578, allocations: 107.8 kB / 0.5603 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.4578, allocations: 8 kB / 0.5603 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.4578, allocations: 15.94 kB / 0.5604 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.4578, allocations: 11.94 kB / 0.5604 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4578, allocations: 11.94 kB / 0.5604 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.4591, allocations: 1.244 MB / 0.5616 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000329/0.4595, allocations: 242.8 kB / 0.5618 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.4596, allocations: 28.42 kB / 0.5619 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.4601, allocations: 27.88 kB / 0.5619 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.4602, allocations: 55.83 kB / 0.5619 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.4602, allocations: 33.98 kB / 0.562 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001545/0.4618, allocations: 1.279 MB / 0.5632 GB, free: 13.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4618, allocations: 0 / 0.5632 GB, free: 13.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002464/0.4643, allocations: 0.7116 MB / 0.5639 GB, free: 12.38 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.000287/0.4646, allocations: 142.2 kB / 0.5641 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.4674, allocations: 2.055 MB / 0.5661 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4674, allocations: 0 / 0.5661 GB, free: 10.19 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004961/0.4679, allocations: 458.7 kB / 0.5665 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.469, allocations: 245 kB / 0.5667 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00764/0.4766, allocations: 5.117 MB / 0.5717 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002313/0.479, allocations: 2.316 MB / 0.574 GB, free: 1.953 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001908/0.4809, allocations: 0.9647 MB / 0.5749 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.4812, allocations: 123.4 kB / 0.575 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4812, allocations: 0 / 0.575 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of Templates: time 0.07107/0.5523, allocations: 14.45 MB / 0.5892 GB, free: 2.457 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 gbode -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