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.001158/0.001158, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001066/0.001066, allocations: 169.3 kB / 24.24 MB, free: 316 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.9167/0.9167, allocations: 158.6 MB / 186 MB, free: 2.93 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.1477/0.1477, allocations: 32.37 MB / 270.7 MB, free: 14.77 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 2.284e-06/2.284e-06, allocations: 0 / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.63e-05, allocations: 2.312 kB / 347.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01734/0.01736, allocations: 16.96 MB / 364.7 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009008/0.02637, allocations: 5.181 MB / 369.8 MB, free: 3.535 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.02844, allocations: 119.5 kB / 369.9 MB, free: 3.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005795/0.03424, allocations: 5.63 MB / 375.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.03912, allocations: 2.923 MB / 378.5 MB, free: 10.83 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.04098, allocations: 1.349 MB / 379.9 MB, free: 9.477 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006132/0.04711, allocations: 8.04 MB / 387.9 MB, free: 1.422 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004844/0.05196, allocations: 6.231 MB / 394.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.05567, allocations: 4.362 MB / 398.5 MB, free: 6.738 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003866/0.05954, allocations: 4.439 MB / 402.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000721/0.06026, allocations: 0.6445 MB / 403.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.0618, allocations: 1.327 MB / 404.9 MB, free: 324 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.06422, allocations: 3.799 MB / 408.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002002/0.06623, allocations: 2.426 MB / 411.1 MB, free: 10.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006678/0.0729, allocations: 7.959 MB / 419.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.07291, allocations: 0 / 419.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07291, allocations: 3.938 kB / 419.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001482/0.07306, allocations: 0 / 419.1 MB, free: 2.078 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.009492/0.08255, allocations: 9.046 MB / 428.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.08259, allocations: 8.031 kB / 428.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006941/0.08953, allocations: 3.733 MB / 431.9 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003953/0.09348, allocations: 3.52 MB / 435.4 MB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.09371, allocations: 456 kB / 435.8 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/0.09434, allocations: 0.5976 MB / 436.4 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.261/0.3554, allocations: 14.11 MB / 450.5 MB, free: 82.59 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000125/0.3555, allocations: 67.44 kB / 450.6 MB, free: 82.53 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004424/0.3559, allocations: 285.3 kB / 450.9 MB, free: 82.31 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002613/0.3586, allocations: 3.535 MB / 454.4 MB, free: 78.79 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01571/0.3743, allocations: 8.707 MB / 463.1 MB, free: 70.15 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04039/0.4146, allocations: 74.15 MB / 0.5247 GB, free: 10.76 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009424/0.4241, allocations: 4.697 MB / 0.5293 GB, free: 6.02 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.4255, allocations: 0.9929 MB / 0.5302 GB, free: 5.004 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008065/0.4336, allocations: 6.124 MB / 0.5362 GB, free: 15.08 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008417/0.442, allocations: 3.935 MB / 0.5401 GB, free: 11.05 MB / 394.8 MB Notification: Performance of pre-optimization done (n=299): time 5.21e-06/0.442, allocations: 4 kB / 0.5401 GB, free: 11.05 MB / 394.8 MB Notification: Performance of matching and sorting (n=333): time 0.0398/0.4818, allocations: 19.22 MB / 0.5588 GB, free: 8.137 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.4819, allocations: 158.7 kB / 0.559 GB, free: 7.949 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006703/0.4886, allocations: 5.146 MB / 0.564 GB, free: 2.859 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005323/0.4891, allocations: 77.64 kB / 0.5641 GB, free: 2.777 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003987/0.4931, allocations: 5.606 MB / 0.5696 GB, free: 13.15 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001459/0.4946, allocations: 1.334 MB / 0.5709 GB, free: 11.81 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002414/0.497, allocations: 2.064 MB / 0.5729 GB, free: 9.73 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001994/0.4972, allocations: 480.5 kB / 0.5733 GB, free: 9.262 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001875/0.499, allocations: 1.056 MB / 0.5744 GB, free: 8.195 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006324/0.5054, allocations: 9.633 MB / 0.5838 GB, free: 10.62 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1766/0.6819, allocations: 11.77 MB / 0.5953 GB, free: 135 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002677/0.6822, allocations: 57.12 kB / 0.5953 GB, free: 135 MB / 442.8 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01567/0.6979, allocations: 8.243 MB / 0.6034 GB, free: 133.4 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.698, allocations: 122.1 kB / 0.6035 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/0.6983, allocations: 206.4 kB / 0.6037 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003109/0.6986, allocations: 273.7 kB / 0.604 GB, free: 133.4 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004933/0.7035, allocations: 2.376 MB / 0.6063 GB, free: 133.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003098/0.7039, allocations: 404.3 kB / 0.6067 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004946/0.7088, allocations: 0.5901 MB / 0.6072 GB, free: 133.1 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009707/0.7098, allocations: 0.5717 MB / 0.6078 GB, free: 133.1 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * 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 (1271): * Single equations (assignments): 1267 * 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.00306/0.7128, allocations: 0.9813 MB / 0.6088 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009024/0.7137, allocations: 0.6037 MB / 0.6093 GB, free: 132.7 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/0.7164, allocations: 2.026 MB / 0.6113 GB, free: 132.5 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.813e-05/0.7164, allocations: 43.84 kB / 0.6114 GB, free: 132.5 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.7164, allocations: 0 / 0.6114 GB, free: 132.5 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/0.7165, allocations: 21.47 kB / 0.6114 GB, free: 132.5 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.7302, allocations: 9.947 MB / 0.6211 GB, free: 126.8 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.621e-05/0.7302, allocations: 32 kB / 0.6211 GB, free: 126.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.7316, allocations: 0.6224 MB / 0.6217 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.951e-05/0.7316, allocations: 48 kB / 0.6218 GB, free: 126.2 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.7317, allocations: 99.09 kB / 0.6219 GB, free: 126.1 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.381e-05/0.7318, allocations: 67.59 kB / 0.6219 GB, free: 126 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.856e-05/0.7318, allocations: 55.75 kB / 0.622 GB, free: 125.9 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003953/0.7357, allocations: 4.277 MB / 0.6262 GB, free: 121.4 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001634/0.7374, allocations: 0.7505 MB / 0.6269 GB, free: 120.9 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004696/0.7378, allocations: 99.78 kB / 0.627 GB, free: 120.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.7391, allocations: 210.3 kB / 0.6272 GB, free: 120.7 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003226/0.7395, allocations: 317.8 kB / 0.6275 GB, free: 120.5 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.7396, allocations: 135.6 kB / 0.6276 GB, free: 120.4 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002703/0.7423, allocations: 2.185 MB / 0.6298 GB, free: 118.6 MB / 442.8 MB Notification: Performance of sort global known variables: time 2.61e-07/0.7423, allocations: 0 / 0.6298 GB, free: 118.6 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.007139/0.7494, allocations: 1.715 MB / 0.6314 GB, free: 116.9 MB / 442.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.0007051/0.7501, allocations: 308.7 kB / 0.6317 GB, free: 116.6 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.006838/0.757, allocations: 4.478 MB / 0.6361 GB, free: 112.7 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 2.921e-05/0.757, allocations: 4 kB / 0.6361 GB, free: 112.7 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.7584, allocations: 0.9612 MB / 0.637 GB, free: 111.8 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/0.7616, allocations: 0.6997 MB / 0.6377 GB, free: 111.2 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01876/0.7804, allocations: 14 MB / 0.6514 GB, free: 96.92 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003039/0.7834, allocations: 2.138 MB / 0.6535 GB, free: 94.75 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005418/0.7888, allocations: 2.359 MB / 0.6558 GB, free: 92.38 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.79, allocations: 400.4 kB / 0.6562 GB, free: 91.99 MB / 442.8 MB Notification: Performance of SimCode: time 2.976e-06/0.79, allocations: 0 / 0.6562 GB, free: 91.99 MB / 442.8 MB Notification: Performance of Templates: time 0.06867/0.8587, allocations: 39.39 MB / 0.6946 GB, free: 52.78 MB / 442.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.066281551960856]