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.0009602/0.0009602, allocations: 73.98 kB / 22.21 MB, free: 2.297 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.001012/0.001012, allocations: 165.2 kB / 25.61 MB, free: 8.902 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 0.9384/0.9384, allocations: 177.2 MB / 206.1 MB, free: 4.508 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.148/0.148, allocations: 32.81 MB / 295.4 MB, free: 15.37 MB / 282.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.114e-06/2.114e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.154e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.009533/0.009554, allocations: 15.11 MB / 392.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008875/0.01843, allocations: 4.87 MB / 397.3 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003193/0.02162, allocations: 115.5 kB / 397.4 MB, free: 5.406 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006153/0.02778, allocations: 5.467 MB / 402.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006381/0.03416, allocations: 2.651 MB / 405.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002313/0.03647, allocations: 1.31 MB / 406.8 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.008753/0.04522, allocations: 7.712 MB / 414.5 MB, free: 4.219 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00811/0.05333, allocations: 5.95 MB / 420.5 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008647/0.06198, allocations: 4.124 MB / 424.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006836/0.06882, allocations: 3.975 MB / 428.6 MB, free: 6.066 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002781/0.0716, allocations: 0.5742 MB / 429.1 MB, free: 5.492 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00389/0.07549, allocations: 1.237 MB / 430.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003036/0.07852, allocations: 3.448 MB / 433.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003342/0.08187, allocations: 2.177 MB / 436 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00831/0.09018, allocations: 7.149 MB / 443.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.09018, allocations: 0 / 443.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.09018, allocations: 0 / 443.1 MB, free: 7.438 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002401/0.09042, allocations: 0 / 443.1 MB, free: 7.438 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: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.009811/0.1002, allocations: 7.912 MB / 451.1 MB, free: 15.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1003, allocations: 11.98 kB / 451.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/0.1063, allocations: 2.408 MB / 453.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004976/0.1112, allocations: 2.911 MB / 456.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003183/0.1115, allocations: 427.3 kB / 456.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009151/0.1125, allocations: 0.5508 MB / 457.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.1293, allocations: 9.939 MB / 467.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.1294, allocations: 79.31 kB / 467.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005189/0.13, allocations: 267.8 kB / 467.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002477/0.1324, allocations: 2.787 MB / 470.4 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.1455, allocations: 4.624 MB / 475 MB, free: 5.793 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3656/0.5111, allocations: 69.81 MB / 0.5321 GB, free: 53.25 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007411/0.5186, allocations: 3.64 MB / 0.5356 GB, free: 53.08 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009927/0.5195, allocations: 0.7832 MB / 0.5364 GB, free: 53.03 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006931/0.5265, allocations: 5.409 MB / 0.5417 GB, free: 51.48 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.5265, allocations: 66.23 kB / 0.5418 GB, free: 51.42 MB / 410.8 MB Notification: Performance of pre-optimization done (n=257): time 3.898e-06/0.5265, allocations: 0 / 0.5418 GB, free: 51.42 MB / 410.8 MB Notification: Performance of matching and sorting (n=291): time 0.0248/0.5513, allocations: 11.69 MB / 0.5532 GB, free: 41.64 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.5514, allocations: 162.4 kB / 0.5533 GB, free: 41.45 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/0.5551, allocations: 4.931 MB / 0.5581 GB, free: 37.12 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.5553, allocations: 65.7 kB / 0.5582 GB, free: 37.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.5571, allocations: 5.307 MB / 0.5634 GB, free: 31.96 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008033/0.5579, allocations: 1.186 MB / 0.5645 GB, free: 30.76 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/0.5592, allocations: 2.002 MB / 0.5665 GB, free: 28.74 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.903e-05/0.5593, allocations: 483.5 kB / 0.567 GB, free: 28.27 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.5606, allocations: 0.8459 MB / 0.5678 GB, free: 27.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003414/0.564, allocations: 9.241 MB / 0.5768 GB, free: 14.42 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006743/0.5707, allocations: 11.1 MB / 0.5877 GB, free: 15.87 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/0.5709, allocations: 60 kB / 0.5877 GB, free: 15.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.01007/0.581, allocations: 7.235 MB / 0.5948 GB, free: 8.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.389e-05/0.581, allocations: 88 kB / 0.5949 GB, free: 8.48 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/0.5812, allocations: 200 kB / 0.5951 GB, free: 8.285 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.5814, allocations: 268.8 kB / 0.5953 GB, free: 8.023 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003874/0.5853, allocations: 2.194 MB / 0.5975 GB, free: 5.828 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/0.5855, allocations: 398.4 kB / 0.5978 GB, free: 5.438 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004538/0.59, allocations: 415.7 kB / 0.5982 GB, free: 5.031 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005658/0.5906, allocations: 488 kB / 0.5987 GB, free: 4.555 MB / 426.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.002138/0.5927, allocations: 0.9477 MB / 0.5996 GB, free: 3.598 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009311/0.5936, allocations: 0.5632 MB / 0.6002 GB, free: 3.031 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.5955, allocations: 1.568 MB / 0.6017 GB, free: 1.449 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.968e-05/0.5956, allocations: 28 kB / 0.6017 GB, free: 1.422 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.5956, allocations: 11.94 kB / 0.6017 GB, free: 1.41 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.626e-05/0.5956, allocations: 11.95 kB / 0.6017 GB, free: 1.398 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/0.6091, allocations: 8.944 MB / 0.6105 GB, free: 7.809 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.034e-05/0.6092, allocations: 32 kB / 0.6105 GB, free: 7.777 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.6103, allocations: 0.5234 MB / 0.611 GB, free: 7.254 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-05/0.6104, allocations: 55.92 kB / 0.6111 GB, free: 7.199 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001304/0.6105, allocations: 88 kB / 0.6112 GB, free: 7.113 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-05/0.6105, allocations: 71.23 kB / 0.6112 GB, free: 7.047 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/0.6106, allocations: 51.31 kB / 0.6113 GB, free: 7 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.6145, allocations: 3.967 MB / 0.6152 GB, free: 2.344 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.6158, allocations: 0.4886 MB / 0.6156 GB, free: 1.852 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004487/0.6162, allocations: 98.72 kB / 0.6157 GB, free: 1.758 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.6173, allocations: 99.97 kB / 0.6158 GB, free: 1.66 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.6176, allocations: 275.8 kB / 0.6161 GB, free: 1.391 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.6177, allocations: 104 kB / 0.6162 GB, free: 1.289 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002388/0.6201, allocations: 1.925 MB / 0.6181 GB, free: 15.38 MB / 458.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6201, allocations: 3.938 kB / 0.6181 GB, free: 15.37 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006823/0.6269, allocations: 1.547 MB / 0.6196 GB, free: 13.82 MB / 458.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.000707/0.6276, allocations: 274.3 kB / 0.6198 GB, free: 13.55 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006268/0.6339, allocations: 3.863 MB / 0.6236 GB, free: 9.707 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 2.179e-05/0.6339, allocations: 4 kB / 0.6236 GB, free: 9.703 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.6349, allocations: 0.7711 MB / 0.6244 GB, free: 8.93 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/0.6382, allocations: 0.6678 MB / 0.625 GB, free: 8.293 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/0.6581, allocations: 12.7 MB / 0.6374 GB, free: 10.9 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00273/0.6608, allocations: 1.946 MB / 0.6393 GB, free: 8.934 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.002425/0.6633, allocations: 0.7724 MB / 0.6401 GB, free: 8.16 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.6644, allocations: 0.8808 MB / 0.6409 GB, free: 7.277 MB / 474.8 MB Notification: Performance of SimCode: time 2.514e-06/0.6644, allocations: 0 / 0.6409 GB, free: 7.277 MB / 474.8 MB Notification: Performance of Templates: time 0.2089/0.8733, allocations: 40.31 MB / 0.6803 GB, free: 166.4 MB / 490.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.282128402963281]