Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.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.001429/0.001429, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001731/0.001731, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8857/0.8857, allocations: 158.6 MB / 186 MB, free: 2.734 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1438/0.1438, allocations: 32.37 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.[0-9,]+.|body.v_0.[0-9,]+.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 299.1 MB, free: 2.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.809e-05, allocations: 6.25 kB / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1301/0.1301, allocations: 16.56 MB / 315.7 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01034/0.1404, allocations: 5.338 MB / 321 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002921/0.1434, allocations: 120.7 kB / 321.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005486/0.1488, allocations: 5.542 MB / 326.7 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006278/0.1551, allocations: 2.915 MB / 329.6 MB, free: 15.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1575, allocations: 1.318 MB / 330.9 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007781/0.1652, allocations: 7.985 MB / 338.9 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.1713, allocations: 6.044 MB / 344.9 MB, free: 176 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005939/0.1773, allocations: 4.335 MB / 349.3 MB, free: 11.83 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/0.1825, allocations: 4.123 MB / 353.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.1843, allocations: 0.625 MB / 354 MB, free: 7.07 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.1868, allocations: 1.338 MB / 355.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002903/0.1897, allocations: 3.768 MB / 359.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003959/0.1936, allocations: 2.399 MB / 361.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009646/0.2033, allocations: 7.857 MB / 369.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2033, allocations: 0 / 369.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2033, allocations: 0 / 369.4 MB, free: 7.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003242/0.2036, allocations: 0 / 369.4 MB, free: 7.66 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01008/0.2137, allocations: 7.712 MB / 377.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2137, allocations: 12.03 kB / 377.1 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.2264, allocations: 1.932 MB / 379 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01005/0.2364, allocations: 2.944 MB / 382 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.2367, allocations: 456 kB / 382.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.2377, allocations: 0.5898 MB / 383 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.2527, allocations: 9.353 MB / 392.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001846/0.2529, allocations: 71.39 kB / 392.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004503/0.2533, allocations: 291.7 kB / 392.7 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002549/0.2559, allocations: 3.148 MB / 395.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.266, allocations: 4.831 MB / 400.7 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04444/0.3104, allocations: 52.51 MB / 453.2 MB, free: 0.7695 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007792/0.3182, allocations: 3.424 MB / 456.6 MB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/0.3194, allocations: 0.7395 MB / 457.4 MB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008552/0.328, allocations: 5.431 MB / 462.8 MB, free: 7.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.328, allocations: 68.48 kB / 462.9 MB, free: 7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=296): time 5.13e-06/0.328, allocations: 0 / 462.9 MB, free: 7 MB / 426.7 MB Notification: Performance of matching and sorting (n=330): time 0.2316/0.5596, allocations: 10.75 MB / 473.6 MB, free: 136.2 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.5597, allocations: 170.5 kB / 473.8 MB, free: 136 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/0.5644, allocations: 4.678 MB / 478.5 MB, free: 135.5 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.5647, allocations: 76.98 kB / 478.6 MB, free: 135.4 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002169/0.5669, allocations: 5.168 MB / 483.7 MB, free: 132.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/0.5679, allocations: 1.292 MB / 485 MB, free: 131.7 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001609/0.5695, allocations: 1.873 MB / 486.9 MB, free: 131.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.697e-05/0.5695, allocations: 302.5 kB / 487.2 MB, free: 131.2 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.5714, allocations: 1.168 MB / 488.4 MB, free: 131.2 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003413/0.5749, allocations: 6.91 MB / 495.3 MB, free: 123.3 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/0.5804, allocations: 9.015 MB / 0.4925 GB, free: 114.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001498/0.5805, allocations: 61.47 kB / 0.4925 GB, free: 114.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.008381/0.5889, allocations: 6.491 MB / 0.4989 GB, free: 112.4 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.921e-05/0.589, allocations: 102.7 kB / 0.499 GB, free: 112.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000147/0.5892, allocations: 208.1 kB / 0.4992 GB, free: 112.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.5893, allocations: 280.4 kB / 0.4994 GB, free: 112.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004916/0.5942, allocations: 2.473 MB / 0.5018 GB, free: 110.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002345/0.5944, allocations: 415.7 kB / 0.5022 GB, free: 109.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005692/0.6001, allocations: 435.5 kB / 0.5026 GB, free: 109.4 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/0.6012, allocations: 0.506 MB / 0.5031 GB, free: 108.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * Number of states: 0 () * Number of discrete variables: 72 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[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 (1285): * Single equations (assignments): 1282 * 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 prepare postOptimizeDAE: time 0.003082/0.6043, allocations: 0.9396 MB / 0.5041 GB, free: 108 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001011/0.6053, allocations: 377.6 kB / 0.5044 GB, free: 107.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/0.6072, allocations: 1.518 MB / 0.5059 GB, free: 106.5 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.732e-05/0.6072, allocations: 36 kB / 0.5059 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.6072, allocations: 2.016 kB / 0.5059 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.749e-05/0.6072, allocations: 14.39 kB / 0.506 GB, free: 106.4 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00994/0.6172, allocations: 8.497 MB / 0.5142 GB, free: 97.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.6172, allocations: 39.31 kB / 0.5143 GB, free: 97.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/0.6185, allocations: 0.6385 MB / 0.5149 GB, free: 96.66 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.201e-05/0.6185, allocations: 48 kB / 0.515 GB, free: 96.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.6186, allocations: 99.92 kB / 0.5151 GB, free: 96.51 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-05/0.6187, allocations: 71.72 kB / 0.5151 GB, free: 96.44 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/0.6187, allocations: 47.81 kB / 0.5152 GB, free: 96.39 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002487/0.6212, allocations: 3.736 MB / 0.5188 GB, free: 91.93 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.6223, allocations: 0.6493 MB / 0.5194 GB, free: 91.28 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003554/0.6226, allocations: 103.9 kB / 0.5195 GB, free: 91.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.6237, allocations: 104 kB / 0.5196 GB, free: 91.07 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.6239, allocations: 308 kB / 0.5199 GB, free: 90.77 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.624, allocations: 108 kB / 0.52 GB, free: 90.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001574/0.6255, allocations: 1.948 MB / 0.5219 GB, free: 88.73 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6255, allocations: 4 kB / 0.5219 GB, free: 88.73 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005794/0.6313, allocations: 1.711 MB / 0.5236 GB, free: 87.02 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * 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 (317): * Single equations (assignments): 314 * 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.0004348/0.6318, allocations: 282.1 kB / 0.5239 GB, free: 86.73 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.004871/0.6366, allocations: 3.885 MB / 0.5277 GB, free: 82.88 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002386/0.6369, allocations: 124.2 kB / 0.5278 GB, free: 82.75 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007967/0.6377, allocations: 0.8099 MB / 0.5286 GB, free: 81.95 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.6405, allocations: 0.6838 MB / 0.5293 GB, free: 81.28 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.6555, allocations: 13.82 MB / 0.5428 GB, free: 66.88 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001838/0.6573, allocations: 2.122 MB / 0.5448 GB, free: 64.72 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002129/0.6594, allocations: 0.8276 MB / 0.5456 GB, free: 63.9 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.6606, allocations: 0.876 MB / 0.5465 GB, free: 63.03 MB / 426.8 MB Notification: Performance of SimCode: time 1.823e-06/0.6606, allocations: 0 / 0.5465 GB, free: 63.03 MB / 426.8 MB Notification: Performance of Templates: time 0.06135/0.7219, allocations: 43.31 MB / 0.5888 GB, free: 19.82 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.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.71655203262344]