Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001562/0.001562, allocations: 83.67 kB / 21.7 MB, free: 2.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 163 kB / 24.99 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.023/1.023, allocations: 177 MB / 205.2 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3088/0.3088, allocations: 34.87 MB / 296.6 MB, free: 0.5586 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 378.8 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.324e-05, allocations: 3.016 kB / 378.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.0147/0.01472, allocations: 15.51 MB / 394.3 MB, free: 2.805 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009658/0.02438, allocations: 4.935 MB / 399.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.02632, allocations: 115.5 kB / 399.3 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007084/0.0334, allocations: 5.545 MB / 404.9 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005424/0.03883, allocations: 2.643 MB / 407.5 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.0412, allocations: 1.322 MB / 408.8 MB, free: 4.199 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007468/0.04867, allocations: 7.766 MB / 416.6 MB, free: 12.42 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005191/0.05386, allocations: 5.98 MB / 422.6 MB, free: 6.363 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.05768, allocations: 4.046 MB / 426.6 MB, free: 2.309 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003794/0.06147, allocations: 4.119 MB / 430.7 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006793/0.06215, allocations: 0.5859 MB / 431.3 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/0.0638, allocations: 1.249 MB / 432.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.06577, allocations: 3.471 MB / 436 MB, free: 8.863 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001727/0.0675, allocations: 2.22 MB / 438.3 MB, free: 6.637 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1835/0.251, allocations: 7.24 MB / 445.5 MB, free: 67.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.251, allocations: 0 / 445.5 MB, free: 67.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.251, allocations: 0 / 445.5 MB, free: 67.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005296/0.2516, allocations: 2.375 kB / 445.5 MB, free: 67.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.01062/0.2622, allocations: 8.384 MB / 453.9 MB, free: 64.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2622, allocations: 8.281 kB / 453.9 MB, free: 64.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006459/0.2687, allocations: 3.503 MB / 457.4 MB, free: 64.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00378/0.2725, allocations: 3.259 MB / 460.7 MB, free: 63.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/0.2727, allocations: 423.9 kB / 461.1 MB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000581/0.2733, allocations: 0.5518 MB / 461.6 MB, free: 63.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/0.2896, allocations: 13.49 MB / 475.1 MB, free: 58.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001482/0.2897, allocations: 68.88 kB / 475.2 MB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004597/0.2902, allocations: 275.9 kB / 475.5 MB, free: 58.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003173/0.2934, allocations: 3.149 MB / 478.6 MB, free: 58.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01898/0.3123, allocations: 8.265 MB / 486.9 MB, free: 57.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0398/0.3521, allocations: 70.96 MB / 0.5448 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008217/0.3604, allocations: 4.537 MB / 0.5492 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3615, allocations: 0.9156 MB / 0.5501 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006781/0.3683, allocations: 5.708 MB / 0.5557 GB, free: 3.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007764/0.376, allocations: 3.823 MB / 0.5594 GB, free: 15.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 4.9e-06/0.376, allocations: 0 / 0.5594 GB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.03433/0.4104, allocations: 18.19 MB / 0.5772 GB, free: 13.69 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.4105, allocations: 162.1 kB / 0.5773 GB, free: 13.51 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/0.4169, allocations: 4.906 MB / 0.5821 GB, free: 8.609 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/0.417, allocations: 69.7 kB / 0.5822 GB, free: 8.535 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00385/0.4209, allocations: 5.238 MB / 0.5873 GB, free: 3.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008269/0.4217, allocations: 1.185 MB / 0.5884 GB, free: 2.168 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002049/0.4238, allocations: 1.945 MB / 0.5903 GB, free: 212 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4239, allocations: 480.5 kB / 0.5908 GB, free: 15.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/0.4255, allocations: 0.9646 MB / 0.5917 GB, free: 14.76 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005931/0.4315, allocations: 9.169 MB / 0.6007 GB, free: 1.906 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00855/0.44, allocations: 11.18 MB / 0.6116 GB, free: 3.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.74e-05/0.4401, allocations: 56 kB / 0.6117 GB, free: 3 MB / 490.7 MB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.2046/0.6447, allocations: 7.725 MB / 0.6192 GB, free: 150.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.6448, allocations: 122.5 kB / 0.6193 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002094/0.645, allocations: 195.6 kB / 0.6195 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002125/0.6453, allocations: 268.7 kB / 0.6198 GB, free: 150.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.6494, allocations: 2.218 MB / 0.6219 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002338/0.6496, allocations: 385.4 kB / 0.6223 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/0.6537, allocations: 0.569 MB / 0.6229 GB, free: 149.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004719/0.6542, allocations: 0.5437 MB / 0.6234 GB, free: 149.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,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 (1187): * Single equations (assignments): 1183 * 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.001812/0.656, allocations: 0.9338 MB / 0.6243 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000491/0.6565, allocations: 0.5652 MB / 0.6248 GB, free: 149.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.6585, allocations: 1.729 MB / 0.6265 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.6586, allocations: 30.34 kB / 0.6266 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.6586, allocations: 13.12 kB / 0.6266 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.6586, allocations: 17.53 kB / 0.6266 GB, free: 149.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00986/0.6684, allocations: 9.09 MB / 0.6355 GB, free: 147.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.6685, allocations: 35.28 kB / 0.6355 GB, free: 147.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.6695, allocations: 0.5567 MB / 0.636 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.778e-05/0.6696, allocations: 44.53 kB / 0.6361 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-05/0.6697, allocations: 88.78 kB / 0.6362 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-05/0.6697, allocations: 67.22 kB / 0.6362 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.011e-05/0.6697, allocations: 53.97 kB / 0.6363 GB, free: 147 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.6733, allocations: 3.865 MB / 0.6401 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/0.6739, allocations: 0.493 MB / 0.6405 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003972/0.6743, allocations: 97.08 kB / 0.6406 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/0.6754, allocations: 182.1 kB / 0.6408 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003007/0.6757, allocations: 289.2 kB / 0.6411 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.6759, allocations: 122.2 kB / 0.6412 GB, free: 144.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002499/0.6784, allocations: 2.064 MB / 0.6432 GB, free: 144.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.6784, allocations: 0 / 0.6432 GB, free: 144.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005437/0.6838, allocations: 1.549 MB / 0.6447 GB, free: 143.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (278): * Single equations (assignments): 273 * 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.0005601/0.6844, allocations: 285 kB / 0.645 GB, free: 143.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006185/0.6906, allocations: 4.151 MB / 0.6491 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.058e-05/0.6906, allocations: 7.531 kB / 0.6491 GB, free: 142.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008867/0.6915, allocations: 0.842 MB / 0.6499 GB, free: 142.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.6938, allocations: 0.6787 MB / 0.6506 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.7074, allocations: 12.77 MB / 0.663 GB, free: 134.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.7089, allocations: 1.952 MB / 0.6649 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002965/0.7119, allocations: 2.22 MB / 0.6671 GB, free: 132.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005331/0.7124, allocations: 363.7 kB / 0.6674 GB, free: 131.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.643e-06/0.7124, allocations: 4 kB / 0.6675 GB, free: 131.7 MB / 490.7 MB Notification: Performance of Templates: time 0.05178/0.7642, allocations: 35.84 MB / 0.7024 GB, free: 101.9 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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.088240789016709]