Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.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.0009656/0.0009656, 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.001116/0.001116, 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.9838/0.9838, allocations: 177.1 MB / 205 MB, free: 5.59 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.2596/0.2596, allocations: 32.8 MB / 294.3 MB, free: 1.277 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.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5097,variableFilter="time|heatCapacitor.T|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.461e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01747/0.01751, allocations: 15.56 MB / 391.6 MB, free: 5.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01019/0.02769, allocations: 4.954 MB / 396.5 MB, free: 52 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.02935, allocations: 119.6 kB / 396.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005639/0.03499, allocations: 5.561 MB / 402.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.03954, allocations: 2.647 MB / 404.9 MB, free: 7.695 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.04153, allocations: 1.326 MB / 406.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006428/0.04796, allocations: 7.767 MB / 414 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004885/0.05284, allocations: 5.973 MB / 419.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003988/0.05683, allocations: 4.043 MB / 424 MB, free: 4.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004046/0.06088, allocations: 4.112 MB / 428.1 MB, free: 376 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007823/0.06166, allocations: 0.5899 MB / 428.7 MB, free: 15.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.06337, allocations: 1.248 MB / 429.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002059/0.06543, allocations: 3.471 MB / 433.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001831/0.06726, allocations: 2.22 MB / 435.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.07323, allocations: 7.243 MB / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.07324, allocations: 0 / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.07324, allocations: 0 / 442.9 MB, free: 1.551 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001251/0.07337, allocations: 0 / 442.9 MB, free: 1.551 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: 2522 * Number of variables: 2522 Notification: Performance of Generate backend data structure: time 0.1808/0.2541, allocations: 8.386 MB / 451.2 MB, free: 97.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.2542, allocations: 8.125 kB / 451.3 MB, free: 97.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006326/0.2605, allocations: 3.502 MB / 454.8 MB, free: 96.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.2643, allocations: 3.257 MB / 458 MB, free: 94.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.2645, allocations: 425.4 kB / 458.4 MB, free: 94.83 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005349/0.265, allocations: 0.5521 MB / 459 MB, free: 94.69 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01958/0.2846, allocations: 13.49 MB / 472.5 MB, free: 88.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.2848, allocations: 73.14 kB / 472.5 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006415/0.2854, allocations: 268 kB / 472.8 MB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00409/0.2895, allocations: 3.155 MB / 476 MB, free: 87.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0273/0.3168, allocations: 8.252 MB / 484.2 MB, free: 86.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04121/0.358, allocations: 70.97 MB / 0.5422 GB, free: 16.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008035/0.3661, allocations: 4.534 MB / 0.5466 GB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.3672, allocations: 0.9068 MB / 0.5475 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006527/0.3737, allocations: 5.722 MB / 0.5531 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006492/0.3802, allocations: 3.821 MB / 0.5568 GB, free: 1.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=260): time 4.889e-06/0.3802, allocations: 0 / 0.5568 GB, free: 1.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=294): time 0.03376/0.414, allocations: 18.19 MB / 0.5746 GB, free: 15.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.4141, allocations: 162.5 kB / 0.5747 GB, free: 15.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005775/0.4198, allocations: 4.892 MB / 0.5795 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.42, allocations: 77.69 kB / 0.5796 GB, free: 10.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003887/0.4239, allocations: 5.239 MB / 0.5847 GB, free: 5.359 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009391/0.4248, allocations: 1.184 MB / 0.5859 GB, free: 4.188 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00218/0.427, allocations: 1.944 MB / 0.5877 GB, free: 2.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.4271, allocations: 480.7 kB / 0.5882 GB, free: 1.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.4292, allocations: 0.9685 MB / 0.5892 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006964/0.4362, allocations: 9.174 MB / 0.5981 GB, free: 3.832 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2992/0.7353, allocations: 11.17 MB / 0.609 GB, free: 108.5 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.556e-05/0.7354, allocations: 57.62 kB / 0.6091 GB, free: 108.5 MB / 458.8 MB Notification: Performance of matching and sorting (n=1212) (initialization): time 0.008308/0.7437, allocations: 7.729 MB / 0.6166 GB, free: 107 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.842e-05/0.7438, allocations: 117.7 kB / 0.6167 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001178/0.7439, allocations: 200.2 kB / 0.6169 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001366/0.7441, allocations: 262.1 kB / 0.6172 GB, free: 107 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.7474, allocations: 2.219 MB / 0.6193 GB, free: 106.8 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000184/0.7476, allocations: 389 kB / 0.6197 GB, free: 106.7 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/0.7505, allocations: 0.5593 MB / 0.6203 GB, free: 106.7 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/0.7509, allocations: 0.5395 MB / 0.6208 GB, free: 106.7 MB / 458.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: 83 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1187): * Single equations (assignments): 1183 * Array equations: 3 * Algorithm blocks: 1 * 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.001556/0.7525, allocations: 0.9378 MB / 0.6217 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003969/0.7529, allocations: 0.5633 MB / 0.6223 GB, free: 106.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.7547, allocations: 1.735 MB / 0.6239 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.221e-05/0.7547, allocations: 38.41 kB / 0.624 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.7547, allocations: 0 / 0.624 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.7547, allocations: 17.28 kB / 0.624 GB, free: 106.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008707/0.7634, allocations: 9.09 MB / 0.6329 GB, free: 103.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.7635, allocations: 30.06 kB / 0.6329 GB, free: 103.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.7647, allocations: 0.5612 MB / 0.6335 GB, free: 103.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.485e-05/0.7647, allocations: 47.25 kB / 0.6335 GB, free: 103.4 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.7649, allocations: 86.12 kB / 0.6336 GB, free: 103.3 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.26e-05/0.7649, allocations: 68.03 kB / 0.6336 GB, free: 103.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-05/0.765, allocations: 47.53 kB / 0.6337 GB, free: 103.3 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004081/0.7691, allocations: 3.873 MB / 0.6375 GB, free: 100.6 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/0.7702, allocations: 0.4933 MB / 0.638 GB, free: 100.5 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005518/0.7707, allocations: 97.72 kB / 0.638 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.772, allocations: 189.9 kB / 0.6382 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.7723, allocations: 291 kB / 0.6385 GB, free: 100.3 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001803/0.7725, allocations: 125.8 kB / 0.6386 GB, free: 100.3 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.003437/0.776, allocations: 2.059 MB / 0.6406 GB, free: 99.63 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.11e-07/0.776, allocations: 0 / 0.6406 GB, free: 99.63 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.006592/0.7826, allocations: 1.546 MB / 0.6421 GB, free: 99.45 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007689/0.7833, allocations: 280.1 kB / 0.6424 GB, free: 99.27 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.006918/0.7902, allocations: 4.157 MB / 0.6465 GB, free: 97.88 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 4.06e-05/0.7903, allocations: 3.969 kB / 0.6465 GB, free: 97.88 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001466/0.7917, allocations: 0.8384 MB / 0.6473 GB, free: 97.62 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/0.7951, allocations: 0.68 MB / 0.648 GB, free: 97.35 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01833/0.8134, allocations: 12.77 MB / 0.6604 GB, free: 87.86 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002481/0.8159, allocations: 1.955 MB / 0.6623 GB, free: 86.47 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00407/0.82, allocations: 2.218 MB / 0.6645 GB, free: 85.18 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008801/0.8208, allocations: 361.1 kB / 0.6649 GB, free: 84.85 MB / 458.8 MB Notification: Performance of SimCode: time 2.485e-06/0.8208, allocations: 0 / 0.6649 GB, free: 84.85 MB / 458.8 MB Notification: Performance of Templates: time 0.05829/0.8791, allocations: 35.85 MB / 0.6999 GB, free: 54.93 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper2/Damper2.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.276281206402928]