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.0009881/0.0009881, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001542/0.001542, allocations: 175.3 kB / 24.92 MB, free: 9.18 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.9716/0.9716, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2519/0.2519, allocations: 34.25 MB / 296.1 MB, free: 0.7188 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.082e-06/1.082e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.315e-05, allocations: 3.516 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01081/0.01082, allocations: 15.17 MB / 340.5 MB, free: 8.406 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008133/0.01895, allocations: 5.08 MB / 345.6 MB, free: 3.309 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00116/0.02011, allocations: 115.4 kB / 345.7 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00466/0.02477, allocations: 5.459 MB / 351.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003543/0.02832, allocations: 2.619 MB / 353.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001664/0.02998, allocations: 1.318 MB / 355.1 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005973/0.03595, allocations: 7.706 MB / 362.8 MB, free: 2.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004859/0.04081, allocations: 5.778 MB / 368.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.045, allocations: 4.038 MB / 372.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00365/0.04865, allocations: 3.803 MB / 376.4 MB, free: 4.301 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007373/0.04938, allocations: 0.5703 MB / 377 MB, free: 3.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.05092, allocations: 1.264 MB / 378.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001964/0.05288, allocations: 3.448 MB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.05465, allocations: 2.185 MB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004809/0.05946, allocations: 7.146 MB / 391 MB, free: 5.645 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.05946, allocations: 0 / 391 MB, free: 5.645 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05946, allocations: 3.938 kB / 391 MB, free: 5.641 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001/0.05956, allocations: 0 / 391 MB, free: 5.641 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.006265/0.06583, allocations: 7.105 MB / 398.1 MB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.06586, allocations: 12.03 kB / 398.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.06989, allocations: 1.764 MB / 399.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.07256, allocations: 2.741 MB / 402.6 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002112/0.07277, allocations: 423.3 kB / 403 MB, free: 9.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005399/0.07331, allocations: 0.5547 MB / 403.6 MB, free: 8.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00967/0.08298, allocations: 8.812 MB / 412.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/0.0831, allocations: 79.36 kB / 412.5 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003832/0.08348, allocations: 275.8 kB / 412.8 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/0.08562, allocations: 2.787 MB / 415.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00826/0.09388, allocations: 4.503 MB / 420 MB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1892/0.2831, allocations: 49.93 MB / 470 MB, free: 71.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008242/0.2913, allocations: 3.292 MB / 473.3 MB, free: 71.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009437/0.2923, allocations: 0.6546 MB / 473.9 MB, free: 71.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006882/0.2991, allocations: 5.07 MB / 479 MB, free: 70.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.2992, allocations: 64.25 kB / 479.1 MB, free: 70.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=257): time 4.929e-06/0.2992, allocations: 3.719 kB / 479.1 MB, free: 70.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=291): time 0.02633/0.3255, allocations: 10.33 MB / 489.4 MB, free: 64.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.3256, allocations: 162 kB / 489.6 MB, free: 64.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003447/0.329, allocations: 4.468 MB / 494 MB, free: 61.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.3291, allocations: 70.2 kB / 494.1 MB, free: 61.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.3306, allocations: 4.806 MB / 498.9 MB, free: 56.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005444/0.3311, allocations: 1.155 MB / 0.4883 GB, free: 55.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001406/0.3325, allocations: 1.76 MB / 0.49 GB, free: 53.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.3325, allocations: 309 kB / 0.4903 GB, free: 53.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/0.3341, allocations: 1.081 MB / 0.4914 GB, free: 51.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/0.3365, allocations: 6.582 MB / 0.4978 GB, free: 42.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007002/0.3435, allocations: 8.562 MB / 0.5062 GB, free: 31.81 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002033/0.3437, allocations: 56 kB / 0.5062 GB, free: 31.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.01613/0.3598, allocations: 6.127 MB / 0.5122 GB, free: 25.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.36, allocations: 95.98 kB / 0.5123 GB, free: 25.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002937/0.3603, allocations: 201.5 kB / 0.5125 GB, free: 25.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002589/0.3605, allocations: 268 kB / 0.5128 GB, free: 25.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006652/0.3672, allocations: 2.314 MB / 0.515 GB, free: 22.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002082/0.3674, allocations: 402.4 kB / 0.5154 GB, free: 22.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004138/0.3715, allocations: 415.6 kB / 0.5158 GB, free: 21.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006436/0.3722, allocations: 484 kB / 0.5163 GB, free: 21.47 MB / 410.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.002367/0.3746, allocations: 0.9116 MB / 0.5172 GB, free: 20.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.3752, allocations: 343.6 kB / 0.5175 GB, free: 20.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.3767, allocations: 1.307 MB / 0.5188 GB, free: 18.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.243e-05/0.3767, allocations: 32 kB / 0.5188 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3768, allocations: 7.938 kB / 0.5188 GB, free: 18.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.3768, allocations: 11.95 kB / 0.5188 GB, free: 18.84 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009605/0.3864, allocations: 7.768 MB / 0.5264 GB, free: 10.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.3864, allocations: 32 kB / 0.5264 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.3875, allocations: 0.5747 MB / 0.527 GB, free: 9.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.318e-05/0.3876, allocations: 44 kB / 0.527 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.3877, allocations: 91.98 kB / 0.5271 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.413e-05/0.3877, allocations: 63.78 kB / 0.5272 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/0.3877, allocations: 51.75 kB / 0.5272 GB, free: 9.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.3903, allocations: 3.398 MB / 0.5305 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.3914, allocations: 491.5 kB / 0.531 GB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/0.3918, allocations: 91.97 kB / 0.5311 GB, free: 5.027 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3929, allocations: 97.47 kB / 0.5312 GB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/0.3931, allocations: 283.8 kB / 0.5315 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/0.3932, allocations: 95.98 kB / 0.5316 GB, free: 4.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001811/0.395, allocations: 1.855 MB / 0.5334 GB, free: 2.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.395, allocations: 4 kB / 0.5334 GB, free: 2.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006904/0.4019, allocations: 1.543 MB / 0.5349 GB, free: 1.168 MB / 410.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.000587/0.4025, allocations: 259 kB / 0.5351 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00574/0.4082, allocations: 3.609 MB / 0.5387 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003682/0.4086, allocations: 124.2 kB / 0.5388 GB, free: 13.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009431/0.4095, allocations: 0.7109 MB / 0.5395 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/0.4128, allocations: 0.6734 MB / 0.5401 GB, free: 11.84 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01799/0.4307, allocations: 12.61 MB / 0.5524 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.4328, allocations: 1.943 MB / 0.5543 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002234/0.4351, allocations: 0.7596 MB / 0.5551 GB, free: 11.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/0.4363, allocations: 0.8331 MB / 0.5559 GB, free: 11.12 MB / 442.7 MB Notification: Performance of SimCode: time 2.044e-06/0.4363, allocations: 0 / 0.5559 GB, free: 11.12 MB / 442.7 MB Notification: Performance of Templates: time 0.06518/0.5015, allocations: 39.46 MB / 0.5944 GB, free: 4.148 MB / 474.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 -s gbode -gbm=radauIIA3 -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: 4.486099493224174]