Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.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.001086/0.001086, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001091/0.001091, allocations: 165 kB / 24.56 MB, free: 12 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.9436/0.9436, allocations: 177.1 MB / 205 MB, free: 5.617 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.2511/0.2511, allocations: 32.8 MB / 294.3 MB, free: 1.305 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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForce.force.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 376 MB, free: 4.699 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.202e-05, allocations: 2.312 kB / 376 MB, free: 4.695 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.02014/0.02016, allocations: 9.231 MB / 385.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005608/0.02577, allocations: 2.877 MB / 388.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008448/0.02662, allocations: 55.81 kB / 388.2 MB, free: 8.473 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003401/0.03002, allocations: 2.146 MB / 390.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002074/0.03209, allocations: 1.175 MB / 391.5 MB, free: 5.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.03269, allocations: 323.2 kB / 391.8 MB, free: 4.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002402/0.03509, allocations: 2.356 MB / 394.2 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00192/0.03701, allocations: 1.801 MB / 396 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.0384, allocations: 1.29 MB / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.0398, allocations: 1.177 MB / 398.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002971/0.0401, allocations: 200 kB / 398.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000942/0.04104, allocations: 0.6435 MB / 399.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009213/0.04196, allocations: 1.184 MB / 400.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008039/0.04277, allocations: 0.7202 MB / 401.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002789/0.04556, allocations: 2.724 MB / 403.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.04556, allocations: 0 / 403.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.04556, allocations: 0 / 403.9 MB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.373e-05/0.04564, allocations: 0 / 403.9 MB, free: 8.66 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.004559/0.0502, allocations: 3.138 MB / 407 MB, free: 5.473 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.05024, allocations: 8.031 kB / 407 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/0.05475, allocations: 1.871 MB / 408.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001929/0.05668, allocations: 1.247 MB / 410.2 MB, free: 2.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.05679, allocations: 148 kB / 410.3 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.05708, allocations: 188.2 kB / 410.5 MB, free: 1.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00574/0.06282, allocations: 3.321 MB / 413.8 MB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/0.06287, allocations: 11.88 kB / 413.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.0631, allocations: 87.91 kB / 413.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/0.0649, allocations: 1.344 MB / 415.3 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005215/0.07012, allocations: 1.794 MB / 417 MB, free: 11.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02075/0.09087, allocations: 20.58 MB / 437.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003124/0.09399, allocations: 0.9236 MB / 438.6 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004845/0.09448, allocations: 221.9 kB / 438.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003005/0.09748, allocations: 2.447 MB / 441.2 MB, free: 2.133 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.09751, allocations: 41.89 kB / 441.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.274e-06/0.09751, allocations: 0 / 441.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002708/0.1002, allocations: 1.28 MB / 442.5 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1002, allocations: 59.84 kB / 442.6 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1663/0.2665, allocations: 1.792 MB / 444.4 MB, free: 96.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.2667, allocations: 35.48 kB / 444.4 MB, free: 96.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008557/0.2675, allocations: 2.013 MB / 446.4 MB, free: 95.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.2678, allocations: 336.6 kB / 446.8 MB, free: 95.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.2684, allocations: 0.6746 MB / 447.4 MB, free: 95.08 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.523e-05/0.2685, allocations: 0.5219 MB / 448 MB, free: 94.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.2689, allocations: 291.7 kB / 448.2 MB, free: 94.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.2701, allocations: 3.049 MB / 451.3 MB, free: 91.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00212/0.2722, allocations: 3.687 MB / 455 MB, free: 87.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.646e-05/0.2722, allocations: 17.84 kB / 455 MB, free: 87.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.003265/0.2755, allocations: 2.498 MB / 457.5 MB, free: 86.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.2755, allocations: 32.59 kB / 457.5 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.598e-05/0.2756, allocations: 64.78 kB / 457.6 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-05/0.2757, allocations: 88.47 kB / 457.7 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.2768, allocations: 0.6617 MB / 458.3 MB, free: 86.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.376e-05/0.2769, allocations: 131.5 kB / 458.5 MB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.278, allocations: 416.5 kB / 458.9 MB, free: 86.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.2782, allocations: 184.2 kB / 459.1 MB, free: 86.59 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.0007393/0.2789, allocations: 414.7 kB / 459.5 MB, free: 86.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.279, allocations: 173.4 kB / 459.6 MB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.2792, allocations: 167.3 kB / 459.8 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.2792, allocations: 11.03 kB / 459.8 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2792, allocations: 0 / 459.8 MB, free: 86.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.2792, allocations: 7.375 kB / 459.8 MB, free: 86.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.2822, allocations: 2.834 MB / 462.6 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.2822, allocations: 6.656 kB / 462.7 MB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2824, allocations: 101.8 kB / 462.8 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2824, allocations: 6.344 kB / 462.8 MB, free: 85.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.2825, allocations: 20.42 kB / 462.8 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.897e-06/0.2825, allocations: 10.44 kB / 462.8 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.2825, allocations: 10.09 kB / 462.8 MB, free: 85.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.2831, allocations: 0.8689 MB / 463.7 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/0.2833, allocations: 149.5 kB / 463.8 MB, free: 84.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.2834, allocations: 19.42 kB / 463.8 MB, free: 84.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.2836, allocations: 26.81 kB / 463.9 MB, free: 84.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.2836, allocations: 54.33 kB / 463.9 MB, free: 84.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.2837, allocations: 25.53 kB / 463.9 MB, free: 84.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006938/0.2844, allocations: 0.7796 MB / 464.7 MB, free: 84.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2844, allocations: 4 kB / 464.7 MB, free: 84.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00169/0.2861, allocations: 0.7075 MB / 465.4 MB, free: 83.85 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.0002848/0.2864, allocations: 139.7 kB / 465.6 MB, free: 83.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.2879, allocations: 1.249 MB / 466.8 MB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2879, allocations: 6.859 kB / 466.8 MB, free: 83.33 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000188/0.2881, allocations: 200.7 kB / 467 MB, free: 83.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.2887, allocations: 192.9 kB / 467.2 MB, free: 83.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005727/0.2944, allocations: 4.352 MB / 471.6 MB, free: 80.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.2951, allocations: 0.7579 MB / 472.3 MB, free: 80.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001153/0.2962, allocations: 0.7969 MB / 473.1 MB, free: 80.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.2964, allocations: 111.8 kB / 473.2 MB, free: 80.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.255e-06/0.2964, allocations: 0 / 473.2 MB, free: 80.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02471/0.3211, allocations: 12.09 MB / 485.3 MB, free: 79.11 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.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.5862685488536954]