Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.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.001037/0.001037, allocations: 91.31 kB / 20.42 MB, free: 4.141 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.001033/0.001033, allocations: 169.3 kB / 23.8 MB, free: 0.7695 MB / 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.8706/0.8706, allocations: 158.6 MB / 185.7 MB, free: 2.926 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.1236/0.1236, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 3.938 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.119e-05, allocations: 8.281 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01157/0.0116, allocations: 17.01 MB / 364.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009683/0.02128, allocations: 5.189 MB / 369.9 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.02361, allocations: 119.5 kB / 370 MB, free: 3.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006434/0.03004, allocations: 5.642 MB / 375.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005583/0.03563, allocations: 2.95 MB / 378.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.0378, allocations: 1.337 MB / 379.9 MB, free: 9.055 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007616/0.04542, allocations: 8.053 MB / 388 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006718/0.05213, allocations: 6.239 MB / 394.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006173/0.05831, allocations: 4.463 MB / 398.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005344/0.06365, allocations: 4.33 MB / 403 MB, free: 1.855 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002156/0.06581, allocations: 0.6328 MB / 403.7 MB, free: 1.223 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002308/0.06811, allocations: 1.307 MB / 405 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00259/0.0707, allocations: 3.779 MB / 408.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.07347, allocations: 2.403 MB / 411.1 MB, free: 9.715 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007487/0.08095, allocations: 7.892 MB / 419 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.08096, allocations: 4 kB / 419 MB, free: 1.789 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.08096, allocations: 0 / 419 MB, free: 1.789 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001391/0.0811, allocations: 0 / 419 MB, free: 1.789 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01021/0.09131, allocations: 8.953 MB / 428 MB, free: 8.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.07e-05/0.09138, allocations: 12.03 kB / 428 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007016/0.0984, allocations: 3.733 MB / 431.7 MB, free: 4.988 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005047/0.1034, allocations: 3.501 MB / 435.2 MB, free: 1.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.1037, allocations: 459.9 kB / 435.7 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006498/0.1043, allocations: 0.5938 MB / 436.3 MB, free: 400 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3102/0.4146, allocations: 14.1 MB / 450.4 MB, free: 57.39 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001664/0.4147, allocations: 63.81 kB / 450.4 MB, free: 57.39 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000484/0.4152, allocations: 288.4 kB / 450.7 MB, free: 57.39 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003112/0.4183, allocations: 3.539 MB / 454.3 MB, free: 57.38 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01621/0.4345, allocations: 8.702 MB / 463 MB, free: 53.27 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05228/0.4868, allocations: 74.14 MB / 0.5245 GB, free: 11.86 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01132/0.4981, allocations: 4.688 MB / 0.5291 GB, free: 7.145 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.4995, allocations: 1.005 MB / 0.5301 GB, free: 6.117 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008857/0.5084, allocations: 6.132 MB / 0.5361 GB, free: 228 kB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007695/0.5161, allocations: 3.936 MB / 0.5399 GB, free: 12.2 MB / 410.8 MB Notification: Performance of pre-optimization done (n=299): time 6.191e-06/0.5161, allocations: 1.203 kB / 0.5399 GB, free: 12.2 MB / 410.8 MB Notification: Performance of matching and sorting (n=333): time 0.03476/0.5509, allocations: 19.22 MB / 0.5587 GB, free: 9.34 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.551, allocations: 173.9 kB / 0.5588 GB, free: 9.141 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005882/0.5568, allocations: 5.206 MB / 0.5639 GB, free: 4.09 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.557, allocations: 77.7 kB / 0.564 GB, free: 4.008 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003998/0.561, allocations: 5.628 MB / 0.5695 GB, free: 14.41 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009033/0.5619, allocations: 1.338 MB / 0.5708 GB, free: 13.09 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.5637, allocations: 2.088 MB / 0.5728 GB, free: 10.99 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5638, allocations: 484.7 kB / 0.5733 GB, free: 10.52 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.5656, allocations: 1.064 MB / 0.5743 GB, free: 9.438 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006393/0.572, allocations: 9.801 MB / 0.5839 GB, free: 11.72 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1808/0.7527, allocations: 11.98 MB / 0.5956 GB, free: 124.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000216/0.7529, allocations: 60.59 kB / 0.5957 GB, free: 124.8 MB / 458.8 MB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.01234/0.7653, allocations: 8.362 MB / 0.6038 GB, free: 124.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.7654, allocations: 124.8 kB / 0.604 GB, free: 124.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00019/0.7656, allocations: 209.7 kB / 0.6042 GB, free: 124.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001933/0.7658, allocations: 279.8 kB / 0.6044 GB, free: 124.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004028/0.7698, allocations: 2.403 MB / 0.6068 GB, free: 124.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001987/0.77, allocations: 415.2 kB / 0.6072 GB, free: 124.1 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/0.7741, allocations: 0.6 MB / 0.6078 GB, free: 124.1 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/0.7746, allocations: 0.5907 MB / 0.6083 GB, free: 124.1 MB / 458.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: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1289): * Single equations (assignments): 1285 * Array equations: 3 * Algorithm blocks: 1 * 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.002191/0.7768, allocations: 0.9913 MB / 0.6093 GB, free: 123.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.7774, allocations: 0.6042 MB / 0.6099 GB, free: 123.7 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002635/0.78, allocations: 2.028 MB / 0.6119 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/0.78, allocations: 38.59 kB / 0.6119 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.78, allocations: 0 / 0.6119 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/0.7801, allocations: 18.86 kB / 0.6119 GB, free: 123.5 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.7914, allocations: 9.945 MB / 0.6216 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/0.7914, allocations: 32.25 kB / 0.6217 GB, free: 121 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001255/0.7926, allocations: 0.6265 MB / 0.6223 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.7927, allocations: 47.25 kB / 0.6223 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.7928, allocations: 99.28 kB / 0.6224 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.541e-05/0.7928, allocations: 70.88 kB / 0.6225 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/0.7928, allocations: 54.06 kB / 0.6225 GB, free: 120.9 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/0.7966, allocations: 4.285 MB / 0.6267 GB, free: 118.3 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/0.7993, allocations: 0.7501 MB / 0.6275 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/0.8008, allocations: 101.4 kB / 0.6276 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/0.8038, allocations: 211.2 kB / 0.6278 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004903/0.8043, allocations: 319.1 kB / 0.6281 GB, free: 118.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.8046, allocations: 139.3 kB / 0.6282 GB, free: 118.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.004461/0.809, allocations: 2.203 MB / 0.6303 GB, free: 117.2 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.809, allocations: 4 kB / 0.6303 GB, free: 117.2 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.00994/0.819, allocations: 1.719 MB / 0.632 GB, free: 115.7 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (320): * Single equations (assignments): 315 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008986/0.8199, allocations: 305.8 kB / 0.6323 GB, free: 115.5 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01016/0.83, allocations: 4.535 MB / 0.6367 GB, free: 112.1 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.761e-05/0.8301, allocations: 8 kB / 0.6368 GB, free: 112.1 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001999/0.8321, allocations: 0.9621 MB / 0.6377 GB, free: 111.3 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005625/0.8377, allocations: 0.7002 MB / 0.6384 GB, free: 110.9 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/0.8585, allocations: 13.97 MB / 0.652 GB, free: 97.37 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/0.8604, allocations: 2.134 MB / 0.6541 GB, free: 95.84 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00453/0.865, allocations: 2.38 MB / 0.6564 GB, free: 94.44 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009506/0.8659, allocations: 403 kB / 0.6568 GB, free: 94.07 MB / 458.8 MB Notification: Performance of SimCode: time 2.375e-06/0.8659, allocations: 0 / 0.6568 GB, free: 94.07 MB / 458.8 MB Notification: Performance of Templates: time 0.06324/0.9292, allocations: 41.24 MB / 0.6971 GB, free: 53.3 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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: 5.150290403049439]