Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001274/0.001274, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001664/0.001664, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 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.168/1.168, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.334/0.334, allocations: 34.26 MB / 296.1 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.5 MB, free: 2.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.913e-05, allocations: 6.25 kB / 378.5 MB, free: 2.332 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01199/0.01201, allocations: 15.11 MB / 393.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00752/0.01953, allocations: 4.876 MB / 398.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001122/0.02065, allocations: 111.5 kB / 398.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004765/0.02542, allocations: 5.471 MB / 404.1 MB, free: 8.668 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.02909, allocations: 2.651 MB / 406.7 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.0306, allocations: 1.318 MB / 408.1 MB, free: 4.684 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005493/0.03609, allocations: 7.717 MB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004477/0.04057, allocations: 5.942 MB / 421.7 MB, free: 6.938 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003841/0.04441, allocations: 4.132 MB / 425.8 MB, free: 2.797 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003813/0.04823, allocations: 3.975 MB / 429.8 MB, free: 14.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000695/0.04892, allocations: 0.5703 MB / 430.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.05049, allocations: 1.233 MB / 431.6 MB, free: 13.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002408/0.0529, allocations: 3.444 MB / 435.1 MB, free: 9.555 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001844/0.05475, allocations: 2.181 MB / 437.2 MB, free: 7.367 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.06113, allocations: 7.149 MB / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.06114, allocations: 0 / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.06114, allocations: 0 / 444.4 MB, free: 196 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000115/0.06126, allocations: 4 kB / 444.4 MB, free: 192 kB / 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.2069/0.2681, allocations: 7.9 MB / 452.3 MB, free: 94.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.2682, allocations: 11.59 kB / 452.3 MB, free: 94.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005259/0.2734, allocations: 2.403 MB / 454.7 MB, free: 94.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.2774, allocations: 2.927 MB / 457.6 MB, free: 93.01 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002318/0.2776, allocations: 419.9 kB / 458.1 MB, free: 92.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/0.2782, allocations: 0.5538 MB / 458.6 MB, free: 92.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.2903, allocations: 9.942 MB / 468.5 MB, free: 87.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.2904, allocations: 70.23 kB / 468.6 MB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004407/0.2908, allocations: 267.5 kB / 468.9 MB, free: 87.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002078/0.2929, allocations: 2.794 MB / 471.7 MB, free: 86.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.3035, allocations: 4.629 MB / 476.3 MB, free: 85.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04486/0.3483, allocations: 69.8 MB / 0.5333 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007117/0.3554, allocations: 3.641 MB / 0.5369 GB, free: 21.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008742/0.3563, allocations: 0.7858 MB / 0.5376 GB, free: 20.76 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006607/0.3629, allocations: 5.425 MB / 0.5429 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.363, allocations: 63.33 kB / 0.543 GB, free: 15.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 3.807e-06/0.363, allocations: 7.281 kB / 0.543 GB, free: 15.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.02314/0.3861, allocations: 11.67 MB / 0.5544 GB, free: 3.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.3862, allocations: 158.5 kB / 0.5545 GB, free: 3.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/0.3901, allocations: 4.931 MB / 0.5593 GB, free: 14.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.3902, allocations: 69.7 kB / 0.5594 GB, free: 14.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002678/0.3929, allocations: 5.307 MB / 0.5646 GB, free: 9.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009053/0.3938, allocations: 1.19 MB / 0.5658 GB, free: 8.059 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.3955, allocations: 2.002 MB / 0.5677 GB, free: 6.039 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.3956, allocations: 484.5 kB / 0.5682 GB, free: 5.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.3971, allocations: 0.8381 MB / 0.569 GB, free: 4.723 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005737/0.4029, allocations: 9.253 MB / 0.578 GB, free: 7.625 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008321/0.4112, allocations: 11.1 MB / 0.5889 GB, free: 8.707 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-05/0.4113, allocations: 60 kB / 0.5889 GB, free: 8.648 MB / 458.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.009094/0.4204, allocations: 7.23 MB / 0.596 GB, free: 1.418 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.707e-05/0.4205, allocations: 93 kB / 0.5961 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/0.4206, allocations: 200 kB / 0.5963 GB, free: 1.133 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.4208, allocations: 272 kB / 0.5965 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1745/0.5953, allocations: 2.188 MB / 0.5987 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002019/0.5955, allocations: 393.7 kB / 0.599 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003786/0.5993, allocations: 414.6 kB / 0.5994 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004035/0.5997, allocations: 485.4 kB / 0.5999 GB, free: 118.9 MB / 458.7 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.001896/0.6016, allocations: 0.9541 MB / 0.6008 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.602, allocations: 0.5571 MB / 0.6014 GB, free: 118.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.6036, allocations: 1.566 MB / 0.6029 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.808e-05/0.6037, allocations: 33.41 kB / 0.6029 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.6037, allocations: 4.312 kB / 0.6029 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.6037, allocations: 17.95 kB / 0.603 GB, free: 118.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009226/0.6129, allocations: 8.956 MB / 0.6117 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.461e-05/0.6129, allocations: 31.31 kB / 0.6117 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009339/0.6139, allocations: 0.5208 MB / 0.6122 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/0.6139, allocations: 43.5 kB / 0.6123 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.421e-05/0.614, allocations: 94.23 kB / 0.6124 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-05/0.614, allocations: 66.05 kB / 0.6124 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.682e-05/0.614, allocations: 49.22 kB / 0.6125 GB, free: 116.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.6164, allocations: 3.972 MB / 0.6164 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004995/0.6169, allocations: 497 kB / 0.6168 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.6172, allocations: 91.17 kB / 0.6169 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009063/0.6181, allocations: 101 kB / 0.617 GB, free: 113.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.6183, allocations: 283.7 kB / 0.6173 GB, free: 113.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.6184, allocations: 102.9 kB / 0.6174 GB, free: 113.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001506/0.6199, allocations: 1.928 MB / 0.6193 GB, free: 113.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6199, allocations: 5.969 kB / 0.6193 GB, free: 113.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003957/0.6239, allocations: 1.554 MB / 0.6208 GB, free: 113.3 MB / 458.7 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.000398/0.6243, allocations: 277.7 kB / 0.6211 GB, free: 113.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003442/0.6277, allocations: 3.857 MB / 0.6248 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/0.6277, allocations: 5.625 kB / 0.6248 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.6285, allocations: 0.7719 MB / 0.6256 GB, free: 112.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.6305, allocations: 0.6684 MB / 0.6262 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.647, allocations: 12.7 MB / 0.6386 GB, free: 104.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/0.6489, allocations: 1.951 MB / 0.6405 GB, free: 104.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001911/0.6508, allocations: 0.7706 MB / 0.6413 GB, free: 103.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/0.652, allocations: 0.8775 MB / 0.6422 GB, free: 103.8 MB / 458.7 MB Notification: Performance of SimCode: time 2.084e-06/0.652, allocations: 4 kB / 0.6422 GB, free: 103.8 MB / 458.7 MB Notification: Performance of Templates: time 0.06033/0.7123, allocations: 39.38 MB / 0.6806 GB, free: 72.79 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.161925308872014]