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.0009263/0.0009263, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001008/0.001008, allocations: 169 kB / 24.91 MB, free: 8.723 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.8842/0.8842, allocations: 177.1 MB / 205.3 MB, free: 4.496 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.1373/0.1373, allocations: 34.26 MB / 296.1 MB, free: 14 MB / 282.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.774e-06/1.774e-06, allocations: 0 / 325.3 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.979e-05/2.156e-05, allocations: 4.844 kB / 325.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01569/0.01572, allocations: 15.11 MB / 340.4 MB, free: 1.594 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.1754/0.1911, allocations: 5.08 MB / 345.5 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002317/0.1934, allocations: 113.6 kB / 345.6 MB, free: 19.19 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007662/0.2011, allocations: 5.556 MB / 351.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006649/0.2078, allocations: 2.643 MB / 353.8 MB, free: 17.12 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002528/0.2103, allocations: 1.321 MB / 355.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008398/0.2187, allocations: 7.698 MB / 362.8 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006174/0.2249, allocations: 6.091 MB / 368.9 MB, free: 6.379 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006068/0.2309, allocations: 4.11 MB / 373 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/0.2355, allocations: 3.802 MB / 376.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001426/0.237, allocations: 0.5742 MB / 377.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002159/0.2391, allocations: 1.237 MB / 378.6 MB, free: 13.19 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002572/0.2417, allocations: 3.448 MB / 382 MB, free: 9.852 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.2448, allocations: 2.185 MB / 384.2 MB, free: 7.773 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007787/0.2526, allocations: 7.141 MB / 391.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2526, allocations: 0 / 391.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2526, allocations: 0 / 391.4 MB, free: 0.9492 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003105/0.253, allocations: 0 / 391.4 MB, free: 0.9492 MB / 330.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.008303/0.2613, allocations: 7.129 MB / 398.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.2613, allocations: 12.03 kB / 398.5 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004441/0.2657, allocations: 1.757 MB / 400.3 MB, free: 8.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004142/0.2699, allocations: 2.741 MB / 403 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.2701, allocations: 427.3 kB / 403.4 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000771/0.2709, allocations: 0.547 MB / 404 MB, free: 4.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/0.285, allocations: 8.841 MB / 412.8 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001601/0.2851, allocations: 74.19 kB / 412.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.2858, allocations: 267.8 kB / 413.1 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002359/0.2881, allocations: 2.779 MB / 415.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01061/0.2987, allocations: 4.51 MB / 420.4 MB, free: 2.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05365/0.3524, allocations: 49.93 MB / 470.4 MB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009665/0.3621, allocations: 3.296 MB / 473.7 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.3632, allocations: 0.658 MB / 474.3 MB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007993/0.3712, allocations: 5.071 MB / 479.4 MB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.3712, allocations: 68.5 kB / 479.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=257): time 5.24e-06/0.3712, allocations: 0 / 479.5 MB, free: 5.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=291): time 0.02142/0.3926, allocations: 10.34 MB / 489.8 MB, free: 11.7 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.3927, allocations: 162.4 kB / 490 MB, free: 11.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004085/0.3968, allocations: 4.466 MB / 494.4 MB, free: 7.035 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.3969, allocations: 77.7 kB / 494.5 MB, free: 6.953 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.3988, allocations: 4.802 MB / 499.3 MB, free: 2.102 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/0.3998, allocations: 1.159 MB / 0.4887 GB, free: 0.9336 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001386/0.4011, allocations: 1.756 MB / 0.4904 GB, free: 15.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.4012, allocations: 301.1 kB / 0.4907 GB, free: 14.87 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.4029, allocations: 1.086 MB / 0.4918 GB, free: 13.77 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004343/0.4072, allocations: 6.569 MB / 0.4982 GB, free: 4.398 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2762/0.6834, allocations: 8.56 MB / 0.5066 GB, free: 134.7 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001706/0.6836, allocations: 57.56 kB / 0.5066 GB, free: 134.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=1225) (initialization): time 0.01041/0.694, allocations: 6.116 MB / 0.5126 GB, free: 133.1 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.004e-05/0.694, allocations: 91.94 kB / 0.5127 GB, free: 133.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.6942, allocations: 202.7 kB / 0.5129 GB, free: 133.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.6944, allocations: 264.8 kB / 0.5131 GB, free: 133.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003936/0.6983, allocations: 2.196 MB / 0.5153 GB, free: 132.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002485/0.6986, allocations: 396.9 kB / 0.5157 GB, free: 132.8 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/0.7023, allocations: 419.5 kB / 0.5161 GB, free: 132.8 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00044/0.7028, allocations: 485.5 kB / 0.5165 GB, free: 132.8 MB / 458.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.001792/0.7046, allocations: 0.9058 MB / 0.5174 GB, free: 132.5 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/0.7051, allocations: 337 kB / 0.5177 GB, free: 132.5 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.7064, allocations: 1.307 MB / 0.519 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.158e-05/0.7065, allocations: 41.98 kB / 0.519 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.7065, allocations: 7.75 kB / 0.519 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.7065, allocations: 16.91 kB / 0.5191 GB, free: 132.4 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008317/0.7148, allocations: 7.769 MB / 0.5267 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.616e-05/0.7148, allocations: 31.75 kB / 0.5267 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009586/0.7158, allocations: 0.5252 MB / 0.5272 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-05/0.7158, allocations: 47.03 kB / 0.5272 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001052/0.7159, allocations: 88.36 kB / 0.5273 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.779e-05/0.716, allocations: 62.62 kB / 0.5274 GB, free: 130.1 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.61e-05/0.716, allocations: 52.69 kB / 0.5274 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.7182, allocations: 3.398 MB / 0.5308 GB, free: 126.8 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/0.7189, allocations: 487.7 kB / 0.5312 GB, free: 126.6 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003473/0.7192, allocations: 103.7 kB / 0.5313 GB, free: 126.5 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.7202, allocations: 95.5 kB / 0.5314 GB, free: 126.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.7204, allocations: 279.4 kB / 0.5317 GB, free: 126.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-05/0.7204, allocations: 99 kB / 0.5318 GB, free: 126.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.001618/0.7221, allocations: 1.85 MB / 0.5336 GB, free: 124.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7221, allocations: 0 / 0.5336 GB, free: 124.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004813/0.7269, allocations: 1.543 MB / 0.5351 GB, free: 123.3 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.0004105/0.7273, allocations: 262.6 kB / 0.5353 GB, free: 123.1 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.003916/0.7312, allocations: 3.608 MB / 0.5389 GB, free: 120 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002331/0.7314, allocations: 124.2 kB / 0.539 GB, free: 119.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.7321, allocations: 0.7104 MB / 0.5397 GB, free: 119.2 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/0.7348, allocations: 0.6731 MB / 0.5403 GB, free: 118.7 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0165/0.7513, allocations: 12.6 MB / 0.5526 GB, free: 106.2 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00189/0.7532, allocations: 1.943 MB / 0.5545 GB, free: 104.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002101/0.7553, allocations: 0.7649 MB / 0.5553 GB, free: 103.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.7563, allocations: 0.8175 MB / 0.5561 GB, free: 102.6 MB / 458.8 MB Notification: Performance of SimCode: time 1.904e-06/0.7563, allocations: 0 / 0.5561 GB, free: 102.6 MB / 458.8 MB Notification: Performance of Templates: time 0.06582/0.8221, allocations: 39.29 MB / 0.5944 GB, free: 63.99 MB / 458.8 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: 4.688323970884085]