Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008936/0.0008936, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009532/0.0009532, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.026/1.026, allocations: 177.1 MB / 205 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2618/0.2618, allocations: 32.81 MB / 294.3 MB, free: 1.273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 376 MB, free: 4.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.016e-05, allocations: 6.25 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01887/0.0189, allocations: 15.51 MB / 391.6 MB, free: 5.062 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008445/0.02734, allocations: 4.903 MB / 396.5 MB, free: 144 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009687/0.02831, allocations: 119.5 kB / 396.6 MB, free: 24 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005267/0.03358, allocations: 5.553 MB / 402.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003397/0.03698, allocations: 2.651 MB / 404.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.03886, allocations: 1.318 MB / 406.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005901/0.04476, allocations: 7.717 MB / 413.8 MB, free: 14.74 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.04952, allocations: 5.949 MB / 419.8 MB, free: 8.715 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004429/0.05395, allocations: 4.124 MB / 423.9 MB, free: 4.582 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003561/0.05751, allocations: 3.979 MB / 427.9 MB, free: 0.5938 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005704/0.05808, allocations: 0.5742 MB / 428.4 MB, free: 20 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.0596, allocations: 1.241 MB / 429.7 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002017/0.06162, allocations: 3.448 MB / 433.1 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.06356, allocations: 2.181 MB / 435.3 MB, free: 9.133 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006511/0.07007, allocations: 7.142 MB / 442.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.07008, allocations: 0 / 442.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.07008, allocations: 0 / 442.4 MB, free: 1.965 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001118/0.07019, allocations: 0 / 442.4 MB, free: 1.965 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.1942/0.2644, allocations: 8.23 MB / 450.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2644, allocations: 8.688 kB / 450.7 MB, free: 78.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006153/0.2705, allocations: 3.499 MB / 454.2 MB, free: 78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.2742, allocations: 3.219 MB / 457.4 MB, free: 77.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.2744, allocations: 424.9 kB / 457.8 MB, free: 77.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/0.2749, allocations: 0.5532 MB / 458.4 MB, free: 77.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.2917, allocations: 13.46 MB / 471.8 MB, free: 71.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001532/0.2919, allocations: 64.89 kB / 471.9 MB, free: 71.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004286/0.2923, allocations: 273.2 kB / 472.2 MB, free: 71.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00278/0.2951, allocations: 3.159 MB / 475.3 MB, free: 71.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/0.3126, allocations: 8.247 MB / 483.6 MB, free: 70.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03862/0.3513, allocations: 70.92 MB / 0.5415 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007878/0.3591, allocations: 4.524 MB / 0.5459 GB, free: 2.395 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.3602, allocations: 0.9057 MB / 0.5468 GB, free: 1.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006957/0.3671, allocations: 5.688 MB / 0.5523 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.3672, allocations: 63.05 kB / 0.5524 GB, free: 11.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 4.498e-06/0.3672, allocations: 0 / 0.5524 GB, free: 11.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.03008/0.3973, allocations: 18.13 MB / 0.5701 GB, free: 9.695 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3973, allocations: 160.2 kB / 0.5703 GB, free: 9.512 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004835/0.4022, allocations: 4.949 MB / 0.5751 GB, free: 4.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4023, allocations: 77.7 kB / 0.5752 GB, free: 4.488 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002638/0.4049, allocations: 5.263 MB / 0.5803 GB, free: 15.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007819/0.4057, allocations: 1.181 MB / 0.5815 GB, free: 14.1 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001784/0.4075, allocations: 1.968 MB / 0.5834 GB, free: 12.12 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4076, allocations: 480.5 kB / 0.5838 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001374/0.409, allocations: 0.9397 MB / 0.5848 GB, free: 10.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005863/0.4148, allocations: 9.305 MB / 0.5938 GB, free: 13.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3509/0.7657, allocations: 11.33 MB / 0.6049 GB, free: 114.8 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/0.7659, allocations: 64.42 kB / 0.605 GB, free: 114.8 MB / 474.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.00959/0.7755, allocations: 7.769 MB / 0.6126 GB, free: 114.6 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.442e-05/0.7756, allocations: 93.97 kB / 0.6126 GB, free: 114.6 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.7757, allocations: 203.8 kB / 0.6128 GB, free: 114.6 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.7759, allocations: 264.8 kB / 0.6131 GB, free: 114.6 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/0.7792, allocations: 2.245 MB / 0.6153 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.7794, allocations: 397.9 kB / 0.6157 GB, free: 114.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/0.7827, allocations: 0.5592 MB / 0.6162 GB, free: 114.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003955/0.7831, allocations: 0.5498 MB / 0.6168 GB, free: 114.4 MB / 474.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: 78 (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 (1201): * Single equations (assignments): 1198 * 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.001816/0.785, allocations: 0.9495 MB / 0.6177 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/0.7854, allocations: 0.5591 MB / 0.6182 GB, free: 114 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.7872, allocations: 1.724 MB / 0.6199 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.246e-05/0.7873, allocations: 34.78 kB / 0.6199 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.7873, allocations: 0 / 0.6199 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.7873, allocations: 12.98 kB / 0.62 GB, free: 113.9 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008236/0.7955, allocations: 9.073 MB / 0.6288 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.838e-05/0.7955, allocations: 32.69 kB / 0.6288 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009393/0.7965, allocations: 0.5347 MB / 0.6294 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-05/0.7965, allocations: 47.69 kB / 0.6294 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.59e-05/0.7966, allocations: 92.23 kB / 0.6295 GB, free: 111.5 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.346e-05/0.7966, allocations: 69.56 kB / 0.6296 GB, free: 111.4 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-05/0.7966, allocations: 49.88 kB / 0.6296 GB, free: 111.4 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.7995, allocations: 4.158 MB / 0.6337 GB, free: 108.8 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005622/0.8, allocations: 0.4982 MB / 0.6342 GB, free: 108.7 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003107/0.8004, allocations: 93.08 kB / 0.6342 GB, free: 108.7 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009832/0.8013, allocations: 183.5 kB / 0.6344 GB, free: 108.7 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/0.8016, allocations: 277.9 kB / 0.6347 GB, free: 108.6 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/0.8017, allocations: 123.9 kB / 0.6348 GB, free: 108.6 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002288/0.804, allocations: 2.075 MB / 0.6368 GB, free: 108.4 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.804, allocations: 0 / 0.6368 GB, free: 108.4 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004646/0.8087, allocations: 1.549 MB / 0.6383 GB, free: 108.4 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * 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 (275): * Single equations (assignments): 272 * 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.0003769/0.809, allocations: 278.8 kB / 0.6386 GB, free: 108.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.004556/0.8136, allocations: 4.111 MB / 0.6426 GB, free: 107.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.8136, allocations: 3.281 kB / 0.6426 GB, free: 107.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000736/0.8143, allocations: 0.8292 MB / 0.6434 GB, free: 107.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002054/0.8164, allocations: 0.6729 MB / 0.6441 GB, free: 106.8 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/0.8288, allocations: 12.74 MB / 0.6565 GB, free: 99.47 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/0.8303, allocations: 1.948 MB / 0.6584 GB, free: 98.89 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003056/0.8333, allocations: 2.231 MB / 0.6606 GB, free: 98.66 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/0.8338, allocations: 363.5 kB / 0.661 GB, free: 98.55 MB / 474.8 MB Notification: Performance of SimCode: time 1.603e-06/0.8338, allocations: 0 / 0.661 GB, free: 98.55 MB / 474.8 MB Notification: Performance of Templates: time 0.05199/0.8858, allocations: 36.6 MB / 0.6967 GB, free: 68.64 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 5.150879302062094]