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.001449/0.001449, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001692/0.001692, allocations: 169.4 kB / 24.99 MB, free: 8.336 MB / 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.9789/0.9789, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2608/0.2608, allocations: 32.81 MB / 294.6 MB, free: 1.172 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.944e-06/1.944e-06, allocations: 0 / 376 MB, free: 5.004 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.756e-05, allocations: 6.312 kB / 376 MB, free: 4.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01207/0.0121, allocations: 9.772 MB / 385.8 MB, free: 11.17 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00562/0.01772, allocations: 3.017 MB / 388.8 MB, free: 8.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001347/0.01907, allocations: 59.81 kB / 388.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003757/0.02283, allocations: 2.796 MB / 391.6 MB, free: 5.281 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002633/0.02546, allocations: 1.241 MB / 392.9 MB, free: 4.035 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007237/0.02618, allocations: 383.1 kB / 393.2 MB, free: 3.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.02894, allocations: 2.59 MB / 395.8 MB, free: 1.066 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002348/0.03129, allocations: 2.308 MB / 398.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.03281, allocations: 1.563 MB / 399.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.03401, allocations: 1.372 MB / 401.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.03426, allocations: 252 kB / 401.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000855/0.03512, allocations: 0.7059 MB / 402 MB, free: 10.83 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008419/0.03596, allocations: 1.426 MB / 403.5 MB, free: 9.398 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007539/0.03671, allocations: 0.8801 MB / 404.3 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002863/0.03958, allocations: 3.149 MB / 407.5 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.03958, allocations: 0 / 407.5 MB, free: 5.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03958, allocations: 4 kB / 407.5 MB, free: 5.352 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.876e-05/0.03963, allocations: 7.984 kB / 407.5 MB, free: 5.344 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.00371/0.04334, allocations: 3.559 MB / 411.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.04339, allocations: 12.03 kB / 411.1 MB, free: 1.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.04678, allocations: 1.961 MB / 413 MB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.04865, allocations: 1.375 MB / 414.4 MB, free: 14.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.993e-05/0.04875, allocations: 180.9 kB / 414.6 MB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.04904, allocations: 228.3 kB / 414.8 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005142/0.05418, allocations: 3.786 MB / 418.6 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.05423, allocations: 11.88 kB / 418.6 MB, free: 9.711 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.05442, allocations: 107.9 kB / 418.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00155/0.05597, allocations: 1.439 MB / 420.1 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.06058, allocations: 2.037 MB / 422.2 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1994/0.26, allocations: 22.49 MB / 444.7 MB, free: 95.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.2625, allocations: 0.9976 MB / 445.7 MB, free: 95.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003836/0.2629, allocations: 244.6 kB / 445.9 MB, free: 95.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003649/0.2665, allocations: 2.672 MB / 448.6 MB, free: 95.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.2665, allocations: 44.44 kB / 448.6 MB, free: 95.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=87): time 4.478e-06/0.2666, allocations: 0.5625 kB / 448.6 MB, free: 95.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=87): time 0.003397/0.2699, allocations: 1.488 MB / 450.1 MB, free: 95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.27, allocations: 60.97 kB / 450.2 MB, free: 94.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.2718, allocations: 1.873 MB / 452 MB, free: 94.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2718, allocations: 37.38 kB / 452.1 MB, free: 94.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008598/0.2727, allocations: 2.216 MB / 454.3 MB, free: 93.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.2729, allocations: 374.4 kB / 454.7 MB, free: 93.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005444/0.2734, allocations: 0.7075 MB / 455.4 MB, free: 93.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2735, allocations: 0.5284 MB / 455.9 MB, free: 92.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.274, allocations: 305.6 kB / 456.2 MB, free: 92.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.2752, allocations: 3.173 MB / 459.4 MB, free: 88.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.2777, allocations: 3.828 MB / 463.2 MB, free: 84.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.217e-05/0.2778, allocations: 22.19 kB / 463.2 MB, free: 84.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.003253/0.281, allocations: 2.61 MB / 465.8 MB, free: 83.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/0.281, allocations: 37.19 kB / 465.9 MB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.528e-05/0.2811, allocations: 66.19 kB / 465.9 MB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.48e-05/0.2812, allocations: 90.38 kB / 466 MB, free: 83.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.2824, allocations: 0.6918 MB / 466.7 MB, free: 83.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.695e-05/0.2824, allocations: 135.3 kB / 466.8 MB, free: 83.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.2838, allocations: 430.6 kB / 467.3 MB, free: 83.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/0.284, allocations: 198.1 kB / 467.5 MB, free: 83.31 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.000931/0.2849, allocations: 434.6 kB / 467.9 MB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.2851, allocations: 182.3 kB / 468.1 MB, free: 82.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.2853, allocations: 173.2 kB / 468.2 MB, free: 82.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.2853, allocations: 10 kB / 468.2 MB, free: 82.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.2853, allocations: 0 / 468.2 MB, free: 82.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2853, allocations: 7.281 kB / 468.2 MB, free: 82.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004444/0.2897, allocations: 3.306 MB / 471.6 MB, free: 81.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.2897, allocations: 14.03 kB / 471.6 MB, free: 81.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.29, allocations: 115.5 kB / 471.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.29, allocations: 12.25 kB / 471.7 MB, free: 81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.29, allocations: 29.48 kB / 471.7 MB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/0.2901, allocations: 16.03 kB / 471.7 MB, free: 80.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/0.2901, allocations: 12.94 kB / 471.7 MB, free: 80.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007982/0.2909, allocations: 0.9951 MB / 472.7 MB, free: 80.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.2911, allocations: 169.5 kB / 472.9 MB, free: 80.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.2912, allocations: 23.38 kB / 472.9 MB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.2915, allocations: 29.91 kB / 473 MB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.2915, allocations: 71.81 kB / 473 MB, free: 80.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.915e-05/0.2916, allocations: 37.62 kB / 473.1 MB, free: 80.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000754/0.2923, allocations: 0.802 MB / 473.9 MB, free: 79.71 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2923, allocations: 0 / 473.9 MB, free: 79.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002435/0.2948, allocations: 0.8074 MB / 474.7 MB, free: 79.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.0003113/0.2951, allocations: 156.4 kB / 474.8 MB, free: 79.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.2972, allocations: 1.325 MB / 476.2 MB, free: 78.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.2972, allocations: 2.969 kB / 476.2 MB, free: 78.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002889/0.2975, allocations: 230.5 kB / 476.4 MB, free: 78.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.2984, allocations: 218.5 kB / 476.6 MB, free: 78.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.3057, allocations: 5.015 MB / 481.6 MB, free: 75.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007985/0.3065, allocations: 0.8695 MB / 482.5 MB, free: 75.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001473/0.308, allocations: 0.8566 MB / 483.3 MB, free: 75.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/0.3082, allocations: 120.5 kB / 483.5 MB, free: 75.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.755e-06/0.3082, allocations: 3.938 kB / 483.5 MB, free: 75.54 MB / 410.7 MB Notification: Performance of Templates: time 0.02599/0.3342, allocations: 12.65 MB / 496.1 MB, free: 74.04 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.764537357026711]