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.001644/0.001644, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00178/0.00178, allocations: 161 kB / 24.56 MB, free: 16 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 0.9442/0.9442, allocations: 177.1 MB / 205 MB, free: 5.598 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.2419/0.2419, allocations: 32.81 MB / 294.3 MB, free: 1.285 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 1.092e-06/1.092e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.369e-05/1.478e-05, allocations: 2.312 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01162/0.01164, allocations: 15.51 MB / 391.5 MB, free: 5.082 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007371/0.01901, allocations: 4.911 MB / 396.5 MB, free: 156 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/0.02016, allocations: 115.5 kB / 396.6 MB, free: 40 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004919/0.02507, allocations: 5.561 MB / 402.1 MB, free: 10.46 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003392/0.02847, allocations: 2.631 MB / 404.8 MB, free: 7.816 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.02996, allocations: 1.325 MB / 406.1 MB, free: 6.488 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005065/0.03503, allocations: 7.712 MB / 413.8 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004867/0.0399, allocations: 5.953 MB / 419.7 MB, free: 8.734 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004189/0.04409, allocations: 4.027 MB / 423.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003953/0.04804, allocations: 4.092 MB / 427.9 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007061/0.04874, allocations: 0.5859 MB / 428.5 MB, free: 12 kB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.05033, allocations: 1.245 MB / 429.7 MB, free: 14.77 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.05216, allocations: 3.468 MB / 433.2 MB, free: 11.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.05379, allocations: 2.201 MB / 435.4 MB, free: 9.082 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.05899, allocations: 7.216 MB / 442.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.059, allocations: 0 / 442.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.059, allocations: 0 / 442.6 MB, free: 1.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.05912, allocations: 0 / 442.6 MB, free: 1.84 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.1663/0.2254, allocations: 8.313 MB / 450.9 MB, free: 78.6 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.2254, allocations: 11.41 kB / 450.9 MB, free: 78.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007255/0.2327, allocations: 3.505 MB / 454.4 MB, free: 78.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.2398, allocations: 3.245 MB / 457.7 MB, free: 77.51 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/0.2404, allocations: 424.9 kB / 458.1 MB, free: 77.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002273/0.2426, allocations: 0.5532 MB / 458.6 MB, free: 77.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.2667, allocations: 13.46 MB / 472.1 MB, free: 71.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002399/0.2669, allocations: 68 kB / 472.2 MB, free: 71.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009779/0.2679, allocations: 272.4 kB / 472.4 MB, free: 71.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/0.2709, allocations: 3.151 MB / 475.6 MB, free: 71.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02112/0.292, allocations: 8.248 MB / 483.8 MB, free: 70.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.3456, allocations: 70.94 MB / 0.5418 GB, free: 6.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.3568, allocations: 4.52 MB / 0.5462 GB, free: 2.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.3585, allocations: 0.901 MB / 0.547 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01085/0.3693, allocations: 5.687 MB / 0.5526 GB, free: 11.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/0.3694, allocations: 72.5 kB / 0.5527 GB, free: 11.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 6.493e-06/0.3694, allocations: 0 / 0.5527 GB, free: 11.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.03715/0.4066, allocations: 18.12 MB / 0.5704 GB, free: 9.477 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.4066, allocations: 164.6 kB / 0.5705 GB, free: 9.289 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005374/0.412, allocations: 4.888 MB / 0.5753 GB, free: 4.406 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004384/0.4125, allocations: 73.7 kB / 0.5754 GB, free: 4.328 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003063/0.4155, allocations: 5.225 MB / 0.5805 GB, free: 15.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001164/0.4167, allocations: 1.184 MB / 0.5816 GB, free: 13.97 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001676/0.4184, allocations: 1.935 MB / 0.5835 GB, free: 12.02 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.4185, allocations: 485.9 kB / 0.584 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.4199, allocations: 0.9355 MB / 0.5849 GB, free: 10.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005882/0.4258, allocations: 9.127 MB / 0.5938 GB, free: 13.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3027/0.7285, allocations: 11.14 MB / 0.6047 GB, free: 115.4 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002373/0.7287, allocations: 57.02 kB / 0.6047 GB, free: 115.4 MB / 474.8 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.0123/0.741, allocations: 7.641 MB / 0.6122 GB, free: 115.2 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.7411, allocations: 87.88 kB / 0.6123 GB, free: 115.2 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001843/0.7413, allocations: 201.8 kB / 0.6125 GB, free: 115.2 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.7415, allocations: 259.7 kB / 0.6127 GB, free: 115.2 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/0.7457, allocations: 2.211 MB / 0.6149 GB, free: 115.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002016/0.7459, allocations: 392.6 kB / 0.6153 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.7503, allocations: 0.5417 MB / 0.6158 GB, free: 115 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009259/0.7512, allocations: 0.5458 MB / 0.6163 GB, free: 115 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * 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 (1183): * Single equations (assignments): 1180 * 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.002547/0.7538, allocations: 0.9387 MB / 0.6172 GB, free: 114.7 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009007/0.7547, allocations: 0.5565 MB / 0.6178 GB, free: 114.7 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.7568, allocations: 1.718 MB / 0.6195 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-05/0.7569, allocations: 32.47 kB / 0.6195 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.7569, allocations: 3.562 kB / 0.6195 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.7569, allocations: 16.17 kB / 0.6195 GB, free: 114.5 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01171/0.7686, allocations: 9.109 MB / 0.6284 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.439e-05/0.7686, allocations: 29.34 kB / 0.6284 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7697, allocations: 0.5361 MB / 0.6289 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.858e-05/0.7698, allocations: 48.69 kB / 0.629 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/0.7699, allocations: 91.86 kB / 0.6291 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.074e-05/0.7699, allocations: 66.53 kB / 0.6291 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-05/0.7699, allocations: 50.5 kB / 0.6292 GB, free: 112.1 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/0.7739, allocations: 4.147 MB / 0.6332 GB, free: 109.4 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/0.775, allocations: 0.4961 MB / 0.6337 GB, free: 109.4 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005106/0.7755, allocations: 94.22 kB / 0.6338 GB, free: 109.4 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.7771, allocations: 177.2 kB / 0.634 GB, free: 109.4 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/0.7774, allocations: 288.5 kB / 0.6343 GB, free: 109.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/0.7776, allocations: 116.4 kB / 0.6344 GB, free: 109.3 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.00338/0.781, allocations: 2.055 MB / 0.6364 GB, free: 109.1 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.705e-06/0.781, allocations: 0 / 0.6364 GB, free: 109.1 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007353/0.7883, allocations: 1.538 MB / 0.6379 GB, free: 109.1 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.0006339/0.7889, allocations: 277.2 kB / 0.6381 GB, free: 108.9 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007114/0.7961, allocations: 4.053 MB / 0.6421 GB, free: 108 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 3.753e-05/0.7961, allocations: 5.562 kB / 0.6421 GB, free: 108 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7974, allocations: 0.8307 MB / 0.6429 GB, free: 107.8 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003925/0.8013, allocations: 0.6754 MB / 0.6436 GB, free: 107.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01797/0.8193, allocations: 12.74 MB / 0.656 GB, free: 100.1 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002356/0.8217, allocations: 1.951 MB / 0.6579 GB, free: 99.56 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.004528/0.8262, allocations: 2.215 MB / 0.6601 GB, free: 99.34 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008323/0.827, allocations: 369.4 kB / 0.6604 GB, free: 99.31 MB / 474.8 MB Notification: Performance of SimCode: time 1.884e-06/0.827, allocations: 0 / 0.6604 GB, free: 99.31 MB / 474.8 MB Notification: Performance of Templates: time 0.05958/0.8866, allocations: 34.91 MB / 0.6945 GB, free: 71.3 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.206590280868113]