Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 94.06 kB / 16.98 MB, free: 5.938 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.001077/0.001077, allocations: 183 kB / 17.87 MB, free: 5.598 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.372/1.372, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.247/0.247, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003247, allocations: 13.53 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1405, allocations: 61.92 MB / 471.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3428/0.4834, allocations: 85.22 MB / 0.5436 GB, free: 3.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05548/0.5389, allocations: 18.99 MB / 0.5622 GB, free: 6.066 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02663/0.5656, allocations: 439 kB / 0.5626 GB, free: 6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01789/0.5835, allocations: 4.365 MB / 0.5668 GB, free: 1.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05147/0.635, allocations: 12.26 MB / 0.5788 GB, free: 5.688 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008684/0.6437, allocations: 1.245 MB / 0.58 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009914/0.6537, allocations: 4.298 MB / 0.5842 GB, free: 148 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.6678, allocations: 8.973 MB / 0.593 GB, free: 7.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/0.6731, allocations: 1.963 MB / 0.5949 GB, free: 5.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004731/0.6779, allocations: 2.411 MB / 0.5973 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.6796, allocations: 252 kB / 0.5975 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.683, allocations: 0.9402 MB / 0.5984 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004118/0.6872, allocations: 2.922 MB / 0.6013 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00244/0.6896, allocations: 1.442 MB / 0.6027 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.7023, allocations: 9.29 MB / 0.6118 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.7023, allocations: 0 / 0.6118 GB, free: 3.828 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.234e-06/0.7024, allocations: 0 / 0.6118 GB, free: 3.828 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000659/0.703, allocations: 3.938 kB / 0.6118 GB, free: 3.824 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.02072/0.7238, allocations: 7.511 MB / 0.6191 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.7238, allocations: 8.031 kB / 0.6191 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.737, allocations: 3.008 MB / 0.622 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01262/0.7497, allocations: 4.901 MB / 0.6268 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004891/0.7502, allocations: 438.8 kB / 0.6272 GB, free: 3.785 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002544/0.7528, allocations: 0.5466 MB / 0.6278 GB, free: 3.238 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04144/0.7942, allocations: 17.58 MB / 0.6449 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003454/0.7946, allocations: 79.25 kB / 0.645 GB, free: 456 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001719/0.7963, allocations: 267.8 kB / 0.6453 GB, free: 188 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005723/0.8021, allocations: 3.17 MB / 0.6484 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0342/0.8363, allocations: 13.58 MB / 0.6616 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5779/1.414, allocations: 66.21 MB / 0.7263 GB, free: 143.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0162/1.431, allocations: 5.51 MB / 0.7317 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01902/1.45, allocations: 10.14 MB / 0.7416 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.45, allocations: 54.06 kB / 0.7416 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=182): time 4.659e-06/1.45, allocations: 0.9688 kB / 0.7416 GB, free: 138.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=206): time 0.04153/1.491, allocations: 14.66 MB / 0.7559 GB, free: 132.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/1.491, allocations: 155.1 kB / 0.7561 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.501, allocations: 6.818 MB / 0.7627 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004142/1.502, allocations: 55.7 kB / 0.7628 GB, free: 128.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003022/1.505, allocations: 5.241 MB / 0.7679 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008648/1.506, allocations: 0.8234 MB / 0.7687 GB, free: 123.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003931/1.506, allocations: 166.6 kB / 0.7689 GB, free: 123.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003972/1.507, allocations: 0.6637 MB / 0.7695 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/1.51, allocations: 2.277 MB / 0.7718 GB, free: 121.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005658/1.516, allocations: 7.668 MB / 0.7792 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/1.521, allocations: 4.031 MB / 0.7832 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001229/1.521, allocations: 60 kB / 0.7832 GB, free: 108 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1103) (initialization): time 0.01586/1.537, allocations: 9.599 MB / 0.7926 GB, free: 98.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.537, allocations: 88 kB / 0.7927 GB, free: 98.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001873/1.538, allocations: 192 kB / 0.7929 GB, free: 98.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002049/1.538, allocations: 280 kB / 0.7931 GB, free: 97.92 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005633/1.543, allocations: 1.923 MB / 0.795 GB, free: 95.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002667/1.544, allocations: 378.5 kB / 0.7954 GB, free: 95.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006314/1.55, allocations: 413.8 kB / 0.7958 GB, free: 95.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009813/1.551, allocations: 0.5168 MB / 0.7963 GB, free: 94.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1039): * Single equations (assignments): 1028 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005592/1.557, allocations: 3.405 MB / 0.7996 GB, free: 91.29 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.558, allocations: 0.5398 MB / 0.8001 GB, free: 90.74 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/1.56, allocations: 0.629 MB / 0.8007 GB, free: 90.11 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/1.56, allocations: 24 kB / 0.8008 GB, free: 90.08 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.56, allocations: 7.188 kB / 0.8008 GB, free: 90.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.429e-05/1.56, allocations: 15.89 kB / 0.8008 GB, free: 90.06 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02538/1.585, allocations: 16.74 MB / 0.8171 GB, free: 72.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.501e-05/1.585, allocations: 36 kB / 0.8172 GB, free: 72.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/1.587, allocations: 391.2 kB / 0.8175 GB, free: 72.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.681e-05/1.587, allocations: 59.95 kB / 0.8176 GB, free: 72.3 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.587, allocations: 80 kB / 0.8177 GB, free: 72.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.409e-05/1.587, allocations: 71.72 kB / 0.8177 GB, free: 72.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.35e-05/1.587, allocations: 59.75 kB / 0.8178 GB, free: 72.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/1.592, allocations: 10.55 MB / 0.8281 GB, free: 59.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001271/1.593, allocations: 0.6383 MB / 0.8287 GB, free: 59.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004971/1.593, allocations: 91.97 kB / 0.8288 GB, free: 59.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001695/1.595, allocations: 107.7 kB / 0.8289 GB, free: 58.92 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.595, allocations: 251 kB / 0.8292 GB, free: 58.68 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/1.595, allocations: 112 kB / 0.8293 GB, free: 58.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005453/1.601, allocations: 4.321 MB / 0.8335 GB, free: 54.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.71e-07/1.601, allocations: 3.938 kB / 0.8335 GB, free: 54.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007268/1.608, allocations: 1.386 MB / 0.8348 GB, free: 52.88 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 174 * 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 (201): * Single equations (assignments): 198 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006341/1.609, allocations: 259.5 kB / 0.8351 GB, free: 52.62 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008293/1.617, allocations: 5.292 MB / 0.8403 GB, free: 47.38 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-05/1.617, allocations: 8 kB / 0.8403 GB, free: 47.38 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.619, allocations: 1.12 MB / 0.8414 GB, free: 46.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/1.624, allocations: 0.8299 MB / 0.8422 GB, free: 45.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.651, allocations: 18.08 MB / 0.8598 GB, free: 26.79 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006439/1.657, allocations: 5.386 MB / 0.8651 GB, free: 21.37 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006185/1.664, allocations: 2.561 MB / 0.8676 GB, free: 18.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000882/1.664, allocations: 355.4 kB / 0.8679 GB, free: 18.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/1.664, allocations: 0 / 0.8679 GB, free: 18.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.08394/1.748, allocations: 42.35 MB / 0.9093 GB, free: 8.363 MB / 0.5607 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches