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.001456/0.001456, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001564/0.001564, allocations: 173 kB / 24.14 MB, free: 356 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.8586/0.8586, allocations: 158.6 MB / 186 MB, free: 2.762 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.1454/0.1454, 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.002e-06/1.002e-06, allocations: 0 / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.18e-05, allocations: 6.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.1476/0.1476, allocations: 16.51 MB / 315.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01231/0.1599, allocations: 5.335 MB / 320.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002211/0.1621, allocations: 123.7 kB / 321 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007949/0.1701, allocations: 5.631 MB / 326.7 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.1762, allocations: 2.946 MB / 329.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002463/0.1787, allocations: 1.318 MB / 330.9 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007232/0.1859, allocations: 7.989 MB / 338.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005662/0.1916, allocations: 6.357 MB / 345.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005033/0.1966, allocations: 4.417 MB / 349.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.2013, allocations: 4.135 MB / 353.8 MB, free: 7.266 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.2026, allocations: 0.625 MB / 354.5 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001847/0.2045, allocations: 1.299 MB / 355.8 MB, free: 5.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002369/0.2068, allocations: 3.771 MB / 359.5 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00254/0.2094, allocations: 2.388 MB / 361.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.2152, allocations: 7.869 MB / 369.8 MB, free: 7.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.2153, allocations: 4 kB / 369.8 MB, free: 7.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2153, allocations: 4 kB / 369.8 MB, free: 7.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001037/0.2154, allocations: 0 / 369.8 MB, free: 7.258 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.006614/0.222, allocations: 7.7 MB / 377.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.984e-05/0.222, allocations: 8.031 kB / 377.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004214/0.2262, allocations: 1.94 MB / 379.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.2291, allocations: 2.944 MB / 382.4 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000214/0.2293, allocations: 453.3 kB / 382.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006045/0.2299, allocations: 0.5898 MB / 383.4 MB, free: 9.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.2404, allocations: 9.358 MB / 392.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.2405, allocations: 71.33 kB / 392.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004523/0.2409, allocations: 287.7 kB / 393.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00269/0.2436, allocations: 3.149 MB / 396.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008613/0.2522, allocations: 4.839 MB / 401.1 MB, free: 6.617 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04501/0.2973, allocations: 52.52 MB / 453.6 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007482/0.3047, allocations: 3.419 MB / 457.1 MB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.306, allocations: 0.7397 MB / 457.8 MB, free: 12.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008888/0.3149, allocations: 5.428 MB / 463.2 MB, free: 6.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.315, allocations: 64.56 kB / 463.3 MB, free: 6.609 MB / 426.7 MB Notification: Performance of pre-optimization done (n=296): time 5.52e-06/0.315, allocations: 0 / 463.3 MB, free: 6.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=330): time 0.2626/0.5776, allocations: 10.77 MB / 474.1 MB, free: 136.1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.5776, allocations: 163.7 kB / 474.2 MB, free: 136 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/0.5839, allocations: 4.68 MB / 478.9 MB, free: 135.4 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005308/0.5844, allocations: 75.7 kB / 479 MB, free: 135.4 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.5871, allocations: 5.169 MB / 484.1 MB, free: 132.4 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001298/0.5884, allocations: 1.293 MB / 485.4 MB, free: 131.6 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001778/0.5902, allocations: 1.871 MB / 487.3 MB, free: 131.4 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 3.391e-05/0.5902, allocations: 301.1 kB / 487.6 MB, free: 131.1 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/0.592, allocations: 1.165 MB / 488.8 MB, free: 131.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0033/0.5953, allocations: 6.925 MB / 495.7 MB, free: 123.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005949/0.6012, allocations: 9.01 MB / 0.4929 GB, free: 114.4 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001794/0.6014, allocations: 62.22 kB / 0.4929 GB, free: 114.4 MB / 426.8 MB Notification: Performance of matching and sorting (n=1309) (initialization): time 0.00982/0.6112, allocations: 6.498 MB / 0.4993 GB, free: 112.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.6113, allocations: 99.53 kB / 0.4994 GB, free: 112.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001838/0.6115, allocations: 206.1 kB / 0.4996 GB, free: 112.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001662/0.6117, allocations: 277.6 kB / 0.4998 GB, free: 112.1 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004456/0.6161, allocations: 2.328 MB / 0.5021 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001547/0.6163, allocations: 417 kB / 0.5025 GB, free: 109.6 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005201/0.6215, allocations: 435.3 kB / 0.5029 GB, free: 109.2 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/0.6225, allocations: 0.5004 MB / 0.5034 GB, free: 108.7 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.002781/0.6253, allocations: 0.9508 MB / 0.5043 GB, free: 107.8 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009478/0.6262, allocations: 369.5 kB / 0.5047 GB, free: 107.5 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.628, allocations: 1.519 MB / 0.5062 GB, free: 106.3 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.129e-05/0.628, allocations: 39.94 kB / 0.5062 GB, free: 106.2 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.628, allocations: 0 / 0.5062 GB, free: 106.2 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.628, allocations: 18.91 kB / 0.5062 GB, free: 106.2 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.6413, allocations: 8.489 MB / 0.5145 GB, free: 97.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-05/0.6413, allocations: 32 kB / 0.5145 GB, free: 97.09 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.6425, allocations: 0.5858 MB / 0.5151 GB, free: 96.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.409e-05/0.6426, allocations: 48 kB / 0.5152 GB, free: 96.45 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6427, allocations: 99.42 kB / 0.5153 GB, free: 96.36 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.647e-05/0.6427, allocations: 71.72 kB / 0.5153 GB, free: 96.29 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/0.6427, allocations: 51.75 kB / 0.5154 GB, free: 96.24 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.6458, allocations: 3.735 MB / 0.519 GB, free: 91.77 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/0.6477, allocations: 0.6524 MB / 0.5197 GB, free: 91.12 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007339/0.6484, allocations: 100.6 kB / 0.5198 GB, free: 91.02 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6497, allocations: 104 kB / 0.5199 GB, free: 90.92 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/0.6499, allocations: 312 kB / 0.5202 GB, free: 90.61 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.65, allocations: 108 kB / 0.5203 GB, free: 90.5 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.002091/0.6521, allocations: 1.944 MB / 0.5222 GB, free: 88.57 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6521, allocations: 2.844 kB / 0.5222 GB, free: 88.57 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.007517/0.6597, allocations: 1.719 MB / 0.5238 GB, free: 86.86 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.0006436/0.6603, allocations: 289.3 kB / 0.5241 GB, free: 86.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.00536/0.6657, allocations: 3.876 MB / 0.5279 GB, free: 82.72 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0003999/0.6661, allocations: 124.2 kB / 0.528 GB, free: 82.59 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009745/0.667, allocations: 0.8044 MB / 0.5288 GB, free: 81.79 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/0.6704, allocations: 0.6794 MB / 0.5295 GB, free: 81.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.6889, allocations: 13.83 MB / 0.543 GB, free: 66.72 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002299/0.6912, allocations: 2.13 MB / 0.545 GB, free: 64.56 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002315/0.6935, allocations: 0.8254 MB / 0.5459 GB, free: 63.75 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/0.6946, allocations: 0.8721 MB / 0.5467 GB, free: 62.88 MB / 426.8 MB Notification: Performance of SimCode: time 1.894e-06/0.6946, allocations: 0 / 0.5467 GB, free: 62.88 MB / 426.8 MB Notification: Performance of Templates: time 0.06643/0.761, allocations: 43.13 MB / 0.5888 GB, free: 19.86 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 -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.904740110971034]