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.001011/0.001011, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001189/0.001189, allocations: 163 kB / 24.91 MB, free: 8.758 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 0.9535/0.9535, allocations: 177 MB / 205.2 MB, free: 5.414 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.2555/0.2555, allocations: 34.88 MB / 296.6 MB, free: 492 kB / 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.583e-06/1.583e-06, allocations: 0 / 325.9 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.466e-05, allocations: 4.906 kB / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01195/0.01197, allocations: 15.18 MB / 341.1 MB, free: 7.902 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00896/0.02093, allocations: 5.132 MB / 346.2 MB, free: 2.754 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.02238, allocations: 111.5 kB / 346.4 MB, free: 2.645 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005117/0.0275, allocations: 5.544 MB / 351.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.03122, allocations: 2.658 MB / 354.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.03297, allocations: 1.329 MB / 355.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00617/0.03914, allocations: 7.754 MB / 363.6 MB, free: 1.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004836/0.04397, allocations: 6.121 MB / 369.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.04772, allocations: 4.128 MB / 373.9 MB, free: 6.949 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.05083, allocations: 3.823 MB / 377.7 MB, free: 3.117 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005489/0.05138, allocations: 0.5781 MB / 378.3 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.05283, allocations: 1.245 MB / 379.5 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00207/0.0549, allocations: 3.448 MB / 383 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001533/0.05643, allocations: 2.197 MB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005058/0.06149, allocations: 7.173 MB / 392.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.06149, allocations: 0 / 392.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.06149, allocations: 0 / 392.3 MB, free: 4.434 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.512e-05/0.06156, allocations: 3.984 kB / 392.4 MB, free: 4.43 MB / 362.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.006394/0.06795, allocations: 7.194 MB / 399.5 MB, free: 13.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.06799, allocations: 8.031 kB / 399.6 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003777/0.07176, allocations: 1.753 MB / 401.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003254/0.07502, allocations: 2.749 MB / 404.1 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.07521, allocations: 419.3 kB / 404.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.07577, allocations: 0.5586 MB / 405 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.08609, allocations: 8.851 MB / 413.9 MB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.08621, allocations: 75.33 kB / 414 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.08663, allocations: 263.8 kB / 414.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002698/0.08933, allocations: 2.791 MB / 417 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00799/0.09732, allocations: 4.513 MB / 421.5 MB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2896/0.3869, allocations: 49.95 MB / 471.5 MB, free: 69.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005857/0.3928, allocations: 3.306 MB / 474.8 MB, free: 69.49 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.3936, allocations: 0.6634 MB / 475.4 MB, free: 69.45 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005875/0.3994, allocations: 5.074 MB / 480.5 MB, free: 68.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00471/0.4041, allocations: 2.77 MB / 483.3 MB, free: 68.23 MB / 410.8 MB Notification: Performance of pre-optimization done (n=260): time 4.208e-06/0.4041, allocations: 0 / 483.3 MB, free: 68.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=294): time 0.01884/0.423, allocations: 10.36 MB / 493.6 MB, free: 60.29 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.423, allocations: 162.4 kB / 493.8 MB, free: 60.11 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/0.4256, allocations: 4.484 MB / 498.3 MB, free: 56.31 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/0.4257, allocations: 69.7 kB / 498.3 MB, free: 56.24 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.4273, allocations: 4.81 MB / 0.4914 GB, free: 51.4 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.4277, allocations: 1.155 MB / 0.4925 GB, free: 50.24 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.4287, allocations: 1.76 MB / 0.4942 GB, free: 48.46 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.459e-05/0.4288, allocations: 305 kB / 0.4945 GB, free: 48.17 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.4301, allocations: 1.121 MB / 0.4956 GB, free: 47.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/0.4326, allocations: 6.61 MB / 0.502 GB, free: 37.73 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004263/0.4368, allocations: 8.596 MB / 0.5104 GB, free: 26.78 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.467e-05/0.4369, allocations: 60 kB / 0.5105 GB, free: 26.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=1230) (initialization): time 0.005004/0.4419, allocations: 6.19 MB / 0.5165 GB, free: 20.5 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.4419, allocations: 121.7 kB / 0.5167 GB, free: 20.38 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.549e-05/0.442, allocations: 204.2 kB / 0.5169 GB, free: 20.18 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.4421, allocations: 268 kB / 0.5171 GB, free: 19.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003104/0.4452, allocations: 2.191 MB / 0.5192 GB, free: 17.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001229/0.4454, allocations: 398.5 kB / 0.5196 GB, free: 17.33 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002788/0.4482, allocations: 427.6 kB / 0.52 GB, free: 16.91 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003098/0.4485, allocations: 487 kB / 0.5205 GB, free: 16.44 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 913 * 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 (1205): * Single equations (assignments): 1201 * 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.001388/0.4499, allocations: 0.9192 MB / 0.5214 GB, free: 15.51 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.4502, allocations: 339.6 kB / 0.5217 GB, free: 15.18 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.4513, allocations: 1.33 MB / 0.523 GB, free: 13.83 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.4514, allocations: 28 kB / 0.523 GB, free: 13.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4514, allocations: 4 kB / 0.5231 GB, free: 13.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.4514, allocations: 15.94 kB / 0.5231 GB, free: 13.79 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.4578, allocations: 7.679 MB / 0.5306 GB, free: 5.512 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.4579, allocations: 36.06 kB / 0.5306 GB, free: 5.477 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009233/0.4588, allocations: 0.5382 MB / 0.5311 GB, free: 4.938 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.4588, allocations: 44 kB / 0.5312 GB, free: 4.895 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/0.4589, allocations: 87.98 kB / 0.5313 GB, free: 4.809 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-05/0.4589, allocations: 67.72 kB / 0.5313 GB, free: 4.742 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-05/0.4589, allocations: 47.81 kB / 0.5314 GB, free: 4.695 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/0.4606, allocations: 3.116 MB / 0.5344 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.4609, allocations: 488.5 kB / 0.5349 GB, free: 460 kB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/0.4612, allocations: 99.95 kB / 0.535 GB, free: 360 kB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/0.4621, allocations: 104 kB / 0.5351 GB, free: 256 kB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/0.4623, allocations: 279.9 kB / 0.5353 GB, free: 15.97 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4624, allocations: 107.9 kB / 0.5354 GB, free: 15.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001744/0.4641, allocations: 1.856 MB / 0.5372 GB, free: 14.03 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4641, allocations: 0 / 0.5372 GB, free: 14.03 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.004025/0.4681, allocations: 1.562 MB / 0.5388 GB, free: 12.46 MB / 426.8 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.0003512/0.4685, allocations: 258.4 kB / 0.539 GB, free: 12.21 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003388/0.4719, allocations: 3.707 MB / 0.5426 GB, free: 8.504 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000182/0.472, allocations: 124.2 kB / 0.5428 GB, free: 8.371 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006413/0.4727, allocations: 0.711 MB / 0.5435 GB, free: 7.664 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002125/0.4748, allocations: 0.686 MB / 0.5441 GB, free: 7.02 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.4871, allocations: 12.61 MB / 0.5564 GB, free: 9.852 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.4886, allocations: 1.947 MB / 0.5583 GB, free: 7.883 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001941/0.4905, allocations: 0.7692 MB / 0.5591 GB, free: 7.113 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/0.4916, allocations: 0.8253 MB / 0.5599 GB, free: 6.289 MB / 442.8 MB Notification: Performance of SimCode: time 1.473e-06/0.4916, allocations: 0 / 0.5599 GB, free: 6.289 MB / 442.8 MB Notification: Performance of Templates: time 0.06029/0.5519, allocations: 40.2 MB / 0.5992 GB, free: 14.55 MB / 490.8 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: 4.73391823284328]