Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 165 kB / 24.56 MB, free: 8 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9483/0.9483, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2738/0.2738, allocations: 32.8 MB / 294.3 MB, free: 1.293 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.[0-9,]+.|cutForceAndTorque.torque.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 376 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.229e-05, allocations: 6.25 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.008554/0.008576, allocations: 9.811 MB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.01405, allocations: 3.021 MB / 388.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009703/0.01502, allocations: 63.81 kB / 388.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002808/0.01783, allocations: 2.8 MB / 391.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.02007, allocations: 1.252 MB / 393 MB, free: 3.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005922/0.02067, allocations: 379.1 kB / 393.3 MB, free: 3.309 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002148/0.02281, allocations: 2.589 MB / 395.9 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.02465, allocations: 2.304 MB / 398.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.02594, allocations: 1.567 MB / 399.8 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.0274, allocations: 1.372 MB / 401.2 MB, free: 11.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003446/0.02774, allocations: 252 kB / 401.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007859/0.02853, allocations: 0.7021 MB / 402.1 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008355/0.02937, allocations: 1.418 MB / 403.5 MB, free: 9.059 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007397/0.03011, allocations: 0.8878 MB / 404.4 MB, free: 8.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.03316, allocations: 3.153 MB / 407.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.03317, allocations: 0 / 407.6 MB, free: 5.004 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.03317, allocations: 3.984 kB / 407.6 MB, free: 5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.03322, allocations: 0 / 407.6 MB, free: 5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.003518/0.03674, allocations: 3.563 MB / 411.1 MB, free: 1.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.03678, allocations: 8.031 kB / 411.1 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/0.03984, allocations: 1.965 MB / 413.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.04162, allocations: 1.412 MB / 414.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004161/0.04204, allocations: 176.9 kB / 414.7 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.04228, allocations: 232.3 kB / 414.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/0.04739, allocations: 3.778 MB / 418.7 MB, free: 9.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-05/0.04744, allocations: 11.88 kB / 418.7 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002831/0.04773, allocations: 111.9 kB / 418.8 MB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/0.04967, allocations: 1.439 MB / 420.3 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005958/0.05562, allocations: 2.039 MB / 422.3 MB, free: 5.727 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1811/0.2367, allocations: 22.49 MB / 444.8 MB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00214/0.2388, allocations: 1.002 MB / 445.8 MB, free: 90.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002997/0.2391, allocations: 249.1 kB / 446 MB, free: 90.57 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003169/0.2423, allocations: 2.666 MB / 448.7 MB, free: 89.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2423, allocations: 44.11 kB / 448.7 MB, free: 89.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.2423, allocations: 0 / 448.7 MB, free: 89.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003644/0.246, allocations: 1.497 MB / 450.2 MB, free: 89.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.246, allocations: 61.97 kB / 450.3 MB, free: 89.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001836/0.2478, allocations: 1.866 MB / 452.2 MB, free: 89.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.2479, allocations: 36.36 kB / 452.2 MB, free: 89.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008857/0.2488, allocations: 2.212 MB / 454.4 MB, free: 88.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002001/0.249, allocations: 373.3 kB / 454.8 MB, free: 88.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.2496, allocations: 0.7118 MB / 455.5 MB, free: 88.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.59e-05/0.2497, allocations: 0.522 MB / 456 MB, free: 87.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.2502, allocations: 315.1 kB / 456.3 MB, free: 87.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.2516, allocations: 3.168 MB / 459.5 MB, free: 83.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/0.2542, allocations: 3.833 MB / 463.3 MB, free: 80.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/0.2543, allocations: 19.41 kB / 463.3 MB, free: 80.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003329/0.2576, allocations: 2.615 MB / 465.9 MB, free: 79.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.163e-05/0.2577, allocations: 36.28 kB / 466 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.659e-05/0.2577, allocations: 67.31 kB / 466 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-05/0.2578, allocations: 89.25 kB / 466.1 MB, free: 79.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.2592, allocations: 0.6947 MB / 466.8 MB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.559e-05/0.2593, allocations: 137.5 kB / 467 MB, free: 79.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/0.2606, allocations: 427.7 kB / 467.4 MB, free: 79.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/0.2608, allocations: 194.2 kB / 467.6 MB, free: 79.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (382): * Single equations (assignments): 377 * 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.0007686/0.2616, allocations: 429.8 kB / 468 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.2617, allocations: 188.8 kB / 468.2 MB, free: 78.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.2619, allocations: 167 kB / 468.3 MB, free: 78.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.2619, allocations: 13.31 kB / 468.4 MB, free: 78.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.2619, allocations: 7.938 kB / 468.4 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2619, allocations: 6.656 kB / 468.4 MB, free: 78.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004227/0.2662, allocations: 3.304 MB / 471.7 MB, free: 77.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.2662, allocations: 9.312 kB / 471.7 MB, free: 77.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.2665, allocations: 119.3 kB / 471.8 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.2665, allocations: 9.625 kB / 471.8 MB, free: 77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.2665, allocations: 26.75 kB / 471.8 MB, free: 76.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.093e-05/0.2665, allocations: 17.69 kB / 471.8 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.2665, allocations: 6.25 kB / 471.9 MB, free: 76.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/0.2674, allocations: 0.9983 MB / 472.9 MB, free: 76.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.2675, allocations: 165.4 kB / 473 MB, free: 76.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.2677, allocations: 27.12 kB / 473 MB, free: 76.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.268, allocations: 29.58 kB / 473.1 MB, free: 76.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.2681, allocations: 64.77 kB / 473.1 MB, free: 76.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.2681, allocations: 39.97 kB / 473.2 MB, free: 76.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008433/0.269, allocations: 0.8033 MB / 474 MB, free: 75.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.269, allocations: 0 / 474 MB, free: 75.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002277/0.2713, allocations: 0.8103 MB / 474.8 MB, free: 75.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * 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 (63): * Single equations (assignments): 60 * 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.0002661/0.2715, allocations: 150.1 kB / 474.9 MB, free: 75.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.2733, allocations: 1.32 MB / 476.3 MB, free: 74.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.2733, allocations: 6.359 kB / 476.3 MB, free: 74.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.2736, allocations: 231.5 kB / 476.5 MB, free: 74.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009261/0.2745, allocations: 220.3 kB / 476.7 MB, free: 74.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006788/0.2813, allocations: 5.025 MB / 481.7 MB, free: 71.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009189/0.2822, allocations: 0.8763 MB / 482.6 MB, free: 71.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001698/0.2839, allocations: 0.8492 MB / 483.4 MB, free: 71.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.2842, allocations: 120.2 kB / 483.6 MB, free: 71.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/0.2842, allocations: 1.375 kB / 483.6 MB, free: 71.54 MB / 410.7 MB Notification: Performance of Templates: time 0.02618/0.3104, allocations: 13.21 MB / 496.8 MB, free: 70.01 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.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: 3.4989315192215145]