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.002579/0.002579, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.002927/0.002927, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.687/1.687, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3818/0.3818, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.372e-06/1.372e-06, allocations: 0 / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.866e-05, allocations: 2.312 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.02258/0.02261, allocations: 15.46 MB / 392.7 MB, free: 3.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.03579, allocations: 4.931 MB / 397.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004389/0.04018, allocations: 111.5 kB / 397.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.05714, allocations: 5.545 MB / 403.3 MB, free: 8.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.06991, allocations: 2.651 MB / 405.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006159/0.07606, allocations: 1.322 MB / 407.3 MB, free: 4.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01973/0.0958, allocations: 7.764 MB / 415 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.1101, allocations: 5.984 MB / 421 MB, free: 6.906 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01464/0.1247, allocations: 4.046 MB / 425.1 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01426/0.139, allocations: 4.115 MB / 429.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.142, allocations: 0.5859 MB / 429.8 MB, free: 14.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005561/0.1476, allocations: 1.245 MB / 431 MB, free: 12.89 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005157/0.1527, allocations: 3.475 MB / 434.5 MB, free: 9.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005398/0.1581, allocations: 2.216 MB / 436.7 MB, free: 7.188 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1956/0.3537, allocations: 11.28 MB / 448 MB, free: 64.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.3537, allocations: 2.719 kB / 448 MB, free: 64.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3537, allocations: 0 / 448 MB, free: 64.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005226/0.3542, allocations: 1.688 kB / 448 MB, free: 64.71 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.02012/0.3744, allocations: 9.066 MB / 457 MB, free: 61.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3744, allocations: 10.47 kB / 457 MB, free: 61.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/0.3863, allocations: 3.501 MB / 460.5 MB, free: 61.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008546/0.3948, allocations: 3.269 MB / 463.8 MB, free: 60.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.3952, allocations: 422.8 kB / 464.2 MB, free: 60.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002187/0.3974, allocations: 0.5561 MB / 464.8 MB, free: 60.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03898/0.4363, allocations: 14.16 MB / 478.9 MB, free: 54.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004243/0.4368, allocations: 71.98 kB / 479 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00256/0.4393, allocations: 269.2 kB / 479.3 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006179/0.4455, allocations: 3.156 MB / 482.4 MB, free: 54.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03109/0.4766, allocations: 8.653 MB / 491.1 MB, free: 53.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08235/0.5589, allocations: 76.37 MB / 0.5541 GB, free: 2.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.5772, allocations: 4.671 MB / 0.5587 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003148/0.5804, allocations: 1.003 MB / 0.5597 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01757/0.598, allocations: 5.839 MB / 0.5654 GB, free: 7.301 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01521/0.6132, allocations: 4.002 MB / 0.5693 GB, free: 3.227 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 7.454e-06/0.6132, allocations: 7.984 kB / 0.5693 GB, free: 3.219 MB / 442.7 MB Notification: Performance of matching and sorting (n=294): time 0.06482/0.678, allocations: 18.7 MB / 0.5876 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.6781, allocations: 160.3 kB / 0.5877 GB, free: 384 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/0.6896, allocations: 6.174 MB / 0.5938 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005891/0.6902, allocations: 69.7 kB / 0.5938 GB, free: 10.14 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006856/0.6971, allocations: 5.513 MB / 0.5992 GB, free: 4.664 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002055/0.6991, allocations: 1.25 MB / 0.6004 GB, free: 3.43 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004384/0.7035, allocations: 2.271 MB / 0.6026 GB, free: 1.145 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002658/0.7038, allocations: 491 kB / 0.6031 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.221/0.9248, allocations: 1.117 MB / 0.6042 GB, free: 143.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008631/0.9334, allocations: 9.604 MB / 0.6136 GB, free: 132.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.944, allocations: 11.77 MB / 0.6251 GB, free: 121.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003742/0.9444, allocations: 56.62 kB / 0.6251 GB, free: 121.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.01592/0.9603, allocations: 8.022 MB / 0.633 GB, free: 119.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001405/0.9604, allocations: 121 kB / 0.6331 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000207/0.9606, allocations: 194.9 kB / 0.6333 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.9608, allocations: 261.5 kB / 0.6335 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006524/0.9674, allocations: 2.228 MB / 0.6357 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002458/0.9676, allocations: 383.7 kB / 0.6361 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006103/0.9737, allocations: 0.5675 MB / 0.6366 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009777/0.9747, allocations: 0.5373 MB / 0.6371 GB, free: 119.2 MB / 474.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.00265/0.9773, allocations: 1.047 MB / 0.6382 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008456/0.9782, allocations: 0.5627 MB / 0.6387 GB, free: 118.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.9819, allocations: 1.891 MB / 0.6406 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.982, allocations: 29.69 kB / 0.6406 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.982, allocations: 5.906 kB / 0.6406 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.982, allocations: 20.61 kB / 0.6406 GB, free: 118.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/1.001, allocations: 11.02 MB / 0.6514 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.739e-05/1.001, allocations: 30.09 kB / 0.6514 GB, free: 114.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001934/1.003, allocations: 0.5653 MB / 0.652 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.049e-05/1.003, allocations: 47.69 kB / 0.652 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/1.003, allocations: 91.97 kB / 0.6521 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.402e-05/1.003, allocations: 67.27 kB / 0.6522 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-05/1.003, allocations: 50.2 kB / 0.6522 GB, free: 114.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005205/1.008, allocations: 4.232 MB / 0.6563 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/1.01, allocations: 0.4948 MB / 0.6568 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000675/1.01, allocations: 91.53 kB / 0.6569 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/1.012, allocations: 188.3 kB / 0.6571 GB, free: 111.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/1.013, allocations: 288.9 kB / 0.6574 GB, free: 111.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/1.013, allocations: 123.2 kB / 0.6575 GB, free: 111.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004366/1.017, allocations: 2.46 MB / 0.6599 GB, free: 110.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/1.017, allocations: 0 / 0.6599 GB, free: 110.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008864/1.026, allocations: 1.546 MB / 0.6614 GB, free: 110.3 MB / 474.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.0007497/1.027, allocations: 282.8 kB / 0.6617 GB, free: 110.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009254/1.036, allocations: 4.708 MB / 0.6663 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.065e-05/1.036, allocations: 4.5 kB / 0.6663 GB, free: 107.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/1.038, allocations: 1.01 MB / 0.6672 GB, free: 106.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003781/1.042, allocations: 0.677 MB / 0.6679 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01872/1.06, allocations: 12.94 MB / 0.6805 GB, free: 93.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005018/1.065, allocations: 3.903 MB / 0.6844 GB, free: 90.33 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005148/1.071, allocations: 2.21 MB / 0.6865 GB, free: 89.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008464/1.071, allocations: 363.6 kB / 0.6869 GB, free: 88.71 MB / 474.7 MB Notification: Performance of SimCode: time 1.903e-06/1.071, allocations: 0 / 0.6869 GB, free: 88.71 MB / 474.7 MB Notification: Performance of Templates: time 0.06806/1.139, allocations: 35.8 MB / 0.7218 GB, free: 54.91 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.31567498005461]