Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.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.001412/0.001412, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001752/0.001752, allocations: 163.2 kB / 24.82 MB, free: 9.273 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3143/0.3143, allocations: 34.27 MB / 296.1 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") translateModel(ModelicaTest.MultiBody.Sensors.CutForce3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.027e-05/2.219e-05, allocations: 2.312 kB / 378.5 MB, free: 2.383 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce3): time 0.00787/0.007892, allocations: 8.989 MB / 387.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.01372, allocations: 2.865 MB / 390.3 MB, free: 6.473 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.0149, allocations: 55.81 kB / 390.4 MB, free: 6.418 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002322/0.01722, allocations: 2.103 MB / 392.5 MB, free: 4.309 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.01939, allocations: 1.175 MB / 393.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.01997, allocations: 331.1 kB / 394 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002683/0.02265, allocations: 2.352 MB / 396.4 MB, free: 456 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00221/0.02486, allocations: 1.797 MB / 398.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0017/0.02656, allocations: 1.302 MB / 399.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001368/0.02793, allocations: 1.181 MB / 400.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.02817, allocations: 192 kB / 400.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008856/0.02906, allocations: 0.6473 MB / 401.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.02977, allocations: 1.188 MB / 402.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005551/0.03032, allocations: 0.7202 MB / 403.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002485/0.03281, allocations: 2.72 MB / 406.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.03281, allocations: 0 / 406.1 MB, free: 6.637 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.03281, allocations: 3.938 kB / 406.1 MB, free: 6.633 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.885e-05/0.03284, allocations: 0 / 406.1 MB, free: 6.633 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.002862/0.0357, allocations: 3.106 MB / 409.2 MB, free: 3.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.03575, allocations: 8.031 kB / 409.2 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/0.03774, allocations: 0.9823 MB / 410.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.03924, allocations: 1.15 MB / 411.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.03932, allocations: 144 kB / 411.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.03952, allocations: 184.3 kB / 411.7 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.04252, allocations: 3.035 MB / 414.7 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/0.04255, allocations: 11.88 kB / 414.7 MB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.0427, allocations: 91.91 kB / 414.8 MB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009833/0.04368, allocations: 1.192 MB / 416 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.04597, allocations: 1.452 MB / 417.5 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01535/0.06132, allocations: 20.4 MB / 437.9 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.06306, allocations: 0.8836 MB / 438.7 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.06329, allocations: 196.1 kB / 438.9 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003022/0.06631, allocations: 2.338 MB / 441.3 MB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.06634, allocations: 41.89 kB / 441.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.896e-06/0.06635, allocations: 0 / 441.3 MB, free: 2.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002393/0.06874, allocations: 1.225 MB / 442.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.06878, allocations: 55.91 kB / 442.6 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2008/0.2696, allocations: 1.788 MB / 444.4 MB, free: 95.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001345/0.2697, allocations: 38.67 kB / 444.4 MB, free: 95.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/0.2706, allocations: 2.026 MB / 446.4 MB, free: 94.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.2709, allocations: 338.8 kB / 446.8 MB, free: 94.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005679/0.2714, allocations: 0.6803 MB / 447.4 MB, free: 93.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2716, allocations: 0.5284 MB / 448 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/0.2718, allocations: 229.1 kB / 448.2 MB, free: 93.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.273, allocations: 3.011 MB / 451.2 MB, free: 89.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.2752, allocations: 3.612 MB / 454.8 MB, free: 86.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-05/0.2753, allocations: 21.53 kB / 454.8 MB, free: 86.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.002583/0.2779, allocations: 2.329 MB / 457.2 MB, free: 85.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.2779, allocations: 35.19 kB / 457.2 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.529e-05/0.278, allocations: 65.22 kB / 457.3 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.765e-05/0.278, allocations: 92.44 kB / 457.4 MB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.2791, allocations: 0.6387 MB / 458 MB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.948e-05/0.2792, allocations: 129 kB / 458.1 MB, free: 85.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/0.2803, allocations: 405.3 kB / 458.5 MB, free: 85.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/0.2805, allocations: 171 kB / 458.7 MB, free: 85.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.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 (362): * Single equations (assignments): 357 * 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.0008004/0.2813, allocations: 412.4 kB / 459.1 MB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.2814, allocations: 173.8 kB / 459.3 MB, free: 85.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.2816, allocations: 161.8 kB / 459.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.2816, allocations: 11.78 kB / 459.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.2816, allocations: 0 / 459.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2816, allocations: 3.234 kB / 459.4 MB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.2841, allocations: 2.13 MB / 461.6 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.2841, allocations: 10.22 kB / 461.6 MB, free: 84.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.2843, allocations: 90.5 kB / 461.7 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.2843, allocations: 13.16 kB / 461.7 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2843, allocations: 13.19 kB / 461.7 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.2843, allocations: 9.125 kB / 461.7 MB, free: 84.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.2844, allocations: 13.19 kB / 461.7 MB, free: 84.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.285, allocations: 0.8341 MB / 462.5 MB, free: 83.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.2851, allocations: 155.3 kB / 462.7 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.2852, allocations: 13.59 kB / 462.7 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.2854, allocations: 19.94 kB / 462.7 MB, free: 83.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.2855, allocations: 57.72 kB / 462.8 MB, free: 83.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.2855, allocations: 25.28 kB / 462.8 MB, free: 83.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005424/0.286, allocations: 0.7324 MB / 463.5 MB, free: 83.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.286, allocations: 0 / 463.5 MB, free: 83.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001724/0.2877, allocations: 0.7016 MB / 464.2 MB, free: 83.32 MB / 410.7 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.0002742/0.288, allocations: 146.6 kB / 464.4 MB, free: 83.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.2892, allocations: 1.183 MB / 465.6 MB, free: 82.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.2892, allocations: 3.219 kB / 465.6 MB, free: 82.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.2894, allocations: 181.2 kB / 465.7 MB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.29, allocations: 194.8 kB / 465.9 MB, free: 82.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004915/0.2949, allocations: 4.346 MB / 470.3 MB, free: 80.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.2955, allocations: 0.7601 MB / 471 MB, free: 80.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.296, allocations: 242.7 kB / 471.3 MB, free: 80.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.2964, allocations: 296.7 kB / 471.6 MB, free: 80.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.893e-06/0.2964, allocations: 0 / 471.6 MB, free: 80.09 MB / 410.7 MB Notification: Performance of Templates: time 0.02696/0.3233, allocations: 12.51 MB / 484.1 MB, free: 78.56 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Sensors.CutForce3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForce3/CutForce3.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.778969720005989]