Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002405/0.002405, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.003069/0.003069, allocations: 173.2 kB / 23.53 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2156/0.2156, allocations: 32.36 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 346.9 MB, free: 9.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.521e-05, allocations: 2.312 kB / 347 MB, free: 9.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01844/0.01846, allocations: 16.93 MB / 363.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01418/0.03264, allocations: 5.169 MB / 369 MB, free: 3.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003617/0.03626, allocations: 119.5 kB / 369.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.04896, allocations: 5.623 MB / 374.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008957/0.05792, allocations: 2.934 MB / 377.7 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.06158, allocations: 1.341 MB / 379.1 MB, free: 9.547 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01328/0.07486, allocations: 8.047 MB / 387.1 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.08562, allocations: 6.242 MB / 393.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.09729, allocations: 4.35 MB / 397.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008964/0.1063, allocations: 4.454 MB / 402.2 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002414/0.1087, allocations: 0.6406 MB / 402.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004334/0.113, allocations: 1.319 MB / 404.1 MB, free: 388 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005492/0.1185, allocations: 3.803 MB / 407.9 MB, free: 12.57 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005831/0.1243, allocations: 2.423 MB / 410.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02015/0.1445, allocations: 12.45 MB / 422.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1445, allocations: 4 kB / 422.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1445, allocations: 0 / 422.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005721/0.1451, allocations: 0 / 422.8 MB, free: 13.64 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.02836/0.1734, allocations: 9.812 MB / 432.6 MB, free: 3.734 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1735, allocations: 16.02 kB / 432.6 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3151/0.4886, allocations: 3.725 MB / 436.3 MB, free: 85.54 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01124/0.4998, allocations: 3.532 MB / 439.9 MB, free: 85.04 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005143/0.5003, allocations: 455.7 kB / 440.3 MB, free: 85.02 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.503, allocations: 0.5865 MB / 440.9 MB, free: 85.02 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03514/0.5381, allocations: 14.87 MB / 455.8 MB, free: 73.37 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/0.5383, allocations: 78.22 kB / 455.9 MB, free: 73.3 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008122/0.5392, allocations: 292.9 kB / 456.1 MB, free: 73.08 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004295/0.5434, allocations: 3.535 MB / 459.7 MB, free: 69.56 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03031/0.5738, allocations: 9.183 MB / 468.9 MB, free: 60.41 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09329/0.667, allocations: 81.01 MB / 0.537 GB, free: 9.66 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/0.6856, allocations: 4.839 MB / 0.5417 GB, free: 4.773 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003035/0.6886, allocations: 1.132 MB / 0.5428 GB, free: 3.621 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01776/0.7064, allocations: 6.317 MB / 0.549 GB, free: 13.36 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01594/0.7223, allocations: 4.152 MB / 0.553 GB, free: 9.121 MB / 410.8 MB Notification: Performance of pre-optimization done (n=299): time 6.893e-06/0.7223, allocations: 0 / 0.553 GB, free: 9.121 MB / 410.8 MB Notification: Performance of matching and sorting (n=333): time 0.06543/0.7877, allocations: 19.76 MB / 0.5723 GB, free: 5.277 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001547/0.7879, allocations: 162.7 kB / 0.5725 GB, free: 5.086 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01195/0.7998, allocations: 6.472 MB / 0.5788 GB, free: 14.61 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000657/0.8005, allocations: 81.64 kB / 0.5789 GB, free: 14.53 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007459/0.808, allocations: 5.894 MB / 0.5846 GB, free: 8.574 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002606/0.8106, allocations: 1.408 MB / 0.586 GB, free: 7.156 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004588/0.8152, allocations: 2.416 MB / 0.5884 GB, free: 4.727 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0003285/0.8155, allocations: 480.7 kB / 0.5888 GB, free: 4.254 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003577/0.8191, allocations: 1.22 MB / 0.59 GB, free: 3.023 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2/1.019, allocations: 10.1 MB / 0.5999 GB, free: 130.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01086/1.03, allocations: 12.44 MB / 0.612 GB, free: 118.6 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003443/1.03, allocations: 57.75 kB / 0.6121 GB, free: 118.6 MB / 442.8 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01914/1.049, allocations: 8.563 MB / 0.6204 GB, free: 116.9 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/1.05, allocations: 116.5 kB / 0.6206 GB, free: 116.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003156/1.05, allocations: 205.1 kB / 0.6208 GB, free: 116.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002598/1.05, allocations: 276.6 kB / 0.621 GB, free: 116.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00792/1.058, allocations: 2.369 MB / 0.6233 GB, free: 116.7 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003829/1.059, allocations: 407.2 kB / 0.6237 GB, free: 116.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008351/1.067, allocations: 0.5947 MB / 0.6243 GB, free: 116.6 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001991/1.069, allocations: 0.5732 MB / 0.6249 GB, free: 116.6 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 77 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,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 (1271): * Single equations (assignments): 1267 * 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.006006/1.075, allocations: 1.105 MB / 0.6259 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001733/1.077, allocations: 0.6006 MB / 0.6265 GB, free: 116.2 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006456/1.083, allocations: 2.197 MB / 0.6287 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.533e-05/1.083, allocations: 37.25 kB / 0.6287 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.248e-05/1.083, allocations: 2.594 kB / 0.6287 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.351e-05/1.083, allocations: 18.81 kB / 0.6287 GB, free: 116 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02578/1.109, allocations: 12.04 MB / 0.6405 GB, free: 106.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/1.109, allocations: 32 kB / 0.6405 GB, free: 106.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.111, allocations: 0.6298 MB / 0.6411 GB, free: 106.3 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.865e-05/1.111, allocations: 48 kB / 0.6412 GB, free: 106.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002077/1.112, allocations: 103.9 kB / 0.6413 GB, free: 106.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.149e-05/1.112, allocations: 75.16 kB / 0.6413 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-05/1.112, allocations: 47.81 kB / 0.6414 GB, free: 106.1 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006389/1.118, allocations: 4.689 MB / 0.646 GB, free: 101.1 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002247/1.12, allocations: 0.7561 MB / 0.6467 GB, free: 100.7 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007065/1.121, allocations: 99.94 kB / 0.6468 GB, free: 100.6 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002233/1.123, allocations: 210.5 kB / 0.647 GB, free: 100.4 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004024/1.124, allocations: 317.4 kB / 0.6473 GB, free: 100.2 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.124, allocations: 131.9 kB / 0.6474 GB, free: 100.1 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.004344/1.128, allocations: 2.602 MB / 0.65 GB, free: 97.91 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.11e-07/1.128, allocations: 0 / 0.65 GB, free: 97.91 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.008571/1.137, allocations: 1.725 MB / 0.6517 GB, free: 96.21 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 148 * 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 (320): * Single equations (assignments): 315 * 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.000714/1.137, allocations: 307.6 kB / 0.652 GB, free: 95.94 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.009577/1.147, allocations: 5.081 MB / 0.6569 GB, free: 91.27 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 3.75e-05/1.147, allocations: 8 kB / 0.6569 GB, free: 91.27 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/1.149, allocations: 1.143 MB / 0.658 GB, free: 90.12 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004365/1.153, allocations: 0.696 MB / 0.6587 GB, free: 89.45 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/1.176, allocations: 14.17 MB / 0.6726 GB, free: 74.59 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.181, allocations: 4.263 MB / 0.6767 GB, free: 70.29 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.005696/1.187, allocations: 2.367 MB / 0.679 GB, free: 67.92 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.188, allocations: 400.4 kB / 0.6794 GB, free: 67.53 MB / 442.8 MB Notification: Performance of SimCode: time 1.493e-06/1.188, allocations: 0 / 0.6794 GB, free: 67.53 MB / 442.8 MB Notification: Performance of Templates: time 0.07665/1.264, allocations: 39.34 MB / 0.7178 GB, free: 28.37 MB / 442.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.242930092965253]