Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 160.9 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9436/0.9436, allocations: 177 MB / 205.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.243/0.243, allocations: 34.87 MB / 296.6 MB, free: 0.5781 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce1a.force.[0-9,]+.|cutForce2a.force.[0-9,]+.|cutForce2b.force.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.468e-05/3.712e-05, allocations: 6.312 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.01376/0.01379, allocations: 14.39 MB / 393.1 MB, free: 3.973 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008082/0.02188, allocations: 4.956 MB / 398.1 MB, free: 15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009659/0.02284, allocations: 143.3 kB / 398.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007569/0.03041, allocations: 6.422 MB / 404.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.03468, allocations: 2.904 MB / 407.6 MB, free: 5.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.03697, allocations: 1.793 MB / 409.4 MB, free: 3.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007657/0.04462, allocations: 9.124 MB / 418.5 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005989/0.05061, allocations: 6.6 MB / 425.1 MB, free: 3.875 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004832/0.05544, allocations: 4.503 MB / 429.6 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004391/0.05984, allocations: 4.451 MB / 434 MB, free: 10.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.06084, allocations: 0.5859 MB / 434.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001898/0.06273, allocations: 1.365 MB / 436 MB, free: 8.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0027/0.06543, allocations: 3.826 MB / 439.8 MB, free: 5.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002457/0.06789, allocations: 2.29 MB / 442.1 MB, free: 2.816 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1623/0.2302, allocations: 7.58 MB / 449.7 MB, free: 66.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2302, allocations: 0 / 449.7 MB, free: 66.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2302, allocations: 3.719 kB / 449.7 MB, free: 66.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002694/0.2304, allocations: 0 / 449.7 MB, free: 66.84 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2471 * Number of variables: 2471 Notification: Performance of Generate backend data structure: time 0.009178/0.2396, allocations: 9.295 MB / 459 MB, free: 63.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2396, allocations: 12.44 kB / 459 MB, free: 63.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005768/0.2454, allocations: 3.342 MB / 462.3 MB, free: 62.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003872/0.2493, allocations: 4.069 MB / 466.4 MB, free: 62.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/0.2495, allocations: 417.7 kB / 466.8 MB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005428/0.25, allocations: 0.5371 MB / 467.3 MB, free: 62.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.2611, allocations: 10.4 MB / 477.7 MB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2612, allocations: 67.34 kB / 477.8 MB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.2617, allocations: 262.8 kB / 478.1 MB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.2642, allocations: 2.929 MB / 481 MB, free: 56.63 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009813/0.2741, allocations: 5.227 MB / 486.2 MB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04064/0.3147, allocations: 72.18 MB / 0.5453 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007355/0.3221, allocations: 3.606 MB / 0.5488 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008916/0.3229, allocations: 0.7698 MB / 0.5496 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006692/0.3296, allocations: 6.335 MB / 0.5558 GB, free: 6.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3297, allocations: 58.69 kB / 0.5558 GB, free: 6.199 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 3.667e-06/0.3297, allocations: 4 kB / 0.5558 GB, free: 6.195 MB / 426.7 MB Notification: Performance of matching and sorting (n=206): time 0.0208/0.3505, allocations: 13.15 MB / 0.5687 GB, free: 9.113 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.3505, allocations: 157.8 kB / 0.5688 GB, free: 8.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.3555, allocations: 5.529 MB / 0.5742 GB, free: 3.422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.3555, allocations: 56.75 kB / 0.5743 GB, free: 3.363 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002638/0.3582, allocations: 5.503 MB / 0.5797 GB, free: 13.9 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/0.3587, allocations: 0.869 MB / 0.5805 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/0.3602, allocations: 1.821 MB / 0.5823 GB, free: 11.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3603, allocations: 476.8 kB / 0.5827 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3616, allocations: 0.7854 MB / 0.5835 GB, free: 9.945 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004786/0.3663, allocations: 8.696 MB / 0.592 GB, free: 13.68 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1681/0.5344, allocations: 10.48 MB / 0.6022 GB, free: 136.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002752/0.5347, allocations: 54.38 kB / 0.6023 GB, free: 136.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.009045/0.5437, allocations: 7.056 MB / 0.6092 GB, free: 135 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.5438, allocations: 90.75 kB / 0.6093 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/0.5439, allocations: 192.8 kB / 0.6094 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001376/0.5441, allocations: 249.9 kB / 0.6097 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/0.547, allocations: 1.933 MB / 0.6116 GB, free: 134.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001677/0.5471, allocations: 374.7 kB / 0.6119 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003124/0.5503, allocations: 0.6319 MB / 0.6125 GB, free: 134.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003515/0.5506, allocations: 0.5176 MB / 0.613 GB, free: 134.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * Number of states: 0 () * Number of discrete variables: 68 (cutForce2b.forceArrow.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce1b.forceArrow.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce2a.forceArrow.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce1a.forceArrow.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 (1043): * Single equations (assignments): 1032 * Array equations: 11 * 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.001839/0.5524, allocations: 0.8705 MB / 0.6139 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004073/0.5529, allocations: 0.5604 MB / 0.6144 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004144/0.5533, allocations: 498.9 kB / 0.6149 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.5533, allocations: 22.91 kB / 0.6149 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.5533, allocations: 3.094 kB / 0.6149 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.5533, allocations: 9.562 kB / 0.615 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009412/0.5627, allocations: 9.278 MB / 0.624 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.5628, allocations: 38.84 kB / 0.6241 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007112/0.5635, allocations: 380.2 kB / 0.6244 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-05/0.5635, allocations: 50.34 kB / 0.6245 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.5636, allocations: 98.69 kB / 0.6246 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.695e-05/0.5637, allocations: 71.55 kB / 0.6246 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-05/0.5637, allocations: 60.41 kB / 0.6247 GB, free: 131.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/0.5662, allocations: 3.602 MB / 0.6282 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.5668, allocations: 0.5728 MB / 0.6288 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/0.5672, allocations: 96.95 kB / 0.6289 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.5684, allocations: 223.2 kB / 0.6291 GB, free: 128.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.5687, allocations: 262 kB / 0.6293 GB, free: 128.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.5688, allocations: 111.8 kB / 0.6294 GB, free: 128.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002894/0.5717, allocations: 2.406 MB / 0.6318 GB, free: 128.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5717, allocations: 0 / 0.6318 GB, free: 128.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004948/0.5767, allocations: 1.498 MB / 0.6332 GB, free: 128.5 MB / 474.7 MB 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 (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.0004074/0.5771, allocations: 255.5 kB / 0.6335 GB, free: 128.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.5809, allocations: 3.595 MB / 0.637 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.5809, allocations: 7.656 kB / 0.637 GB, free: 127.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005817/0.5815, allocations: 0.6411 MB / 0.6376 GB, free: 126.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002453/0.584, allocations: 0.8162 MB / 0.6384 GB, free: 126.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.5972, allocations: 13.35 MB / 0.6515 GB, free: 118.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00183/0.599, allocations: 2.084 MB / 0.6535 GB, free: 116.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003625/0.6026, allocations: 2.172 MB / 0.6556 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005297/0.6032, allocations: 336.7 kB / 0.6559 GB, free: 115.3 MB / 474.7 MB Notification: Performance of SimCode: time 3.556e-06/0.6032, allocations: 4 kB / 0.6559 GB, free: 115.3 MB / 474.7 MB Notification: Performance of Templates: time 0.04853/0.6517, allocations: 33.35 MB / 0.6885 GB, free: 86.68 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce/CutForce.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.77009485499002]