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.0009379/0.0009379, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001458/0.001458, allocations: 169 kB / 24.14 MB, free: 360 kB / 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 0.8431/0.8431, allocations: 158.6 MB / 186 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] 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.1673/0.1673, allocations: 32.37 MB / 270.7 MB, free: 14.6 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.693e-06/1.693e-06, allocations: 0 / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.653e-05, allocations: 2.312 kB / 299.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.1926/0.1926, allocations: 16.57 MB / 315.7 MB, free: 10.86 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.2047, allocations: 5.385 MB / 321 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003909/0.2086, allocations: 120.1 kB / 321.2 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007124/0.2157, allocations: 5.643 MB / 326.8 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008462/0.2242, allocations: 2.938 MB / 329.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003077/0.2273, allocations: 1.341 MB / 331.1 MB, free: 14.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01019/0.2374, allocations: 8.043 MB / 339.1 MB, free: 6.117 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008178/0.2456, allocations: 6.378 MB / 345.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0092/0.2548, allocations: 4.452 MB / 350 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/0.2611, allocations: 4.142 MB / 354.1 MB, free: 7.016 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00214/0.2633, allocations: 0.6289 MB / 354.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.2662, allocations: 1.303 MB / 356 MB, free: 5.082 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003942/0.2702, allocations: 3.779 MB / 359.8 MB, free: 1.293 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005217/0.2754, allocations: 2.411 MB / 362.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01111/0.2865, allocations: 7.892 MB / 370.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.2865, allocations: 0 / 370.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2865, allocations: 0 / 370.1 MB, free: 6.953 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005099/0.287, allocations: 0 / 370.1 MB, free: 6.953 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01277/0.2998, allocations: 7.787 MB / 377.9 MB, free: 15.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.2998, allocations: 8.031 kB / 377.9 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005633/0.3054, allocations: 1.932 MB / 379.8 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005475/0.3109, allocations: 2.964 MB / 382.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003581/0.3113, allocations: 457.3 kB / 383.2 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001295/0.3126, allocations: 0.5898 MB / 383.8 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01886/0.3314, allocations: 9.378 MB / 393.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002524/0.3317, allocations: 71.38 kB / 393.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006797/0.3324, allocations: 287.7 kB / 393.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003069/0.3354, allocations: 3.148 MB / 396.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/0.3489, allocations: 4.838 MB / 401.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06074/0.4096, allocations: 52.54 MB / 454.1 MB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009588/0.4192, allocations: 3.433 MB / 457.5 MB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.4207, allocations: 0.7515 MB / 458.3 MB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009998/0.4307, allocations: 5.432 MB / 463.7 MB, free: 6.172 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005674/0.4363, allocations: 2.873 MB / 466.6 MB, free: 3.215 MB / 426.7 MB Notification: Performance of pre-optimization done (n=299): time 7.695e-06/0.4363, allocations: 0 / 466.6 MB, free: 3.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=333): time 0.191/0.6274, allocations: 10.79 MB / 477.4 MB, free: 137.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.6274, allocations: 162.4 kB / 477.5 MB, free: 137.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007474/0.6349, allocations: 4.687 MB / 482.2 MB, free: 136.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005563/0.6355, allocations: 77.3 kB / 482.3 MB, free: 136.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003299/0.6388, allocations: 5.172 MB / 487.5 MB, free: 133.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/0.6401, allocations: 1.297 MB / 488.8 MB, free: 132.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/0.642, allocations: 1.878 MB / 490.6 MB, free: 132.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.6421, allocations: 303.8 kB / 490.9 MB, free: 131.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/0.644, allocations: 1.198 MB / 492.1 MB, free: 131.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004211/0.6482, allocations: 6.95 MB / 499.1 MB, free: 123.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00955/0.6578, allocations: 9.053 MB / 0.4962 GB, free: 115 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/0.658, allocations: 62.38 kB / 0.4963 GB, free: 115 MB / 426.7 MB Notification: Performance of matching and sorting (n=1314) (initialization): time 0.01664/0.6746, allocations: 6.566 MB / 0.5027 GB, free: 111.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.6748, allocations: 117.7 kB / 0.5028 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002423/0.6751, allocations: 215.9 kB / 0.503 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002063/0.6753, allocations: 276 kB / 0.5033 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006834/0.6821, allocations: 2.344 MB / 0.5056 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003784/0.6825, allocations: 410.4 kB / 0.506 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007898/0.6904, allocations: 448.8 kB / 0.5064 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/0.692, allocations: 0.5 MB / 0.5069 GB, free: 106.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 952 * 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 (1289): * Single equations (assignments): 1285 * 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.004086/0.6961, allocations: 0.9483 MB / 0.5078 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001483/0.6976, allocations: 375.5 kB / 0.5082 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/0.7002, allocations: 1.537 MB / 0.5097 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.7003, allocations: 39.83 kB / 0.5097 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.7003, allocations: 0 / 0.5097 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.7003, allocations: 19.94 kB / 0.5097 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/0.7148, allocations: 8.406 MB / 0.5179 GB, free: 94.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/0.7149, allocations: 36.03 kB / 0.518 GB, free: 94.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001807/0.7167, allocations: 0.6045 MB / 0.5186 GB, free: 94.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.234e-05/0.7167, allocations: 51.38 kB / 0.5186 GB, free: 94.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001821/0.7169, allocations: 99.97 kB / 0.5187 GB, free: 94.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.424e-05/0.7169, allocations: 63.8 kB / 0.5188 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-05/0.717, allocations: 51.75 kB / 0.5188 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/0.7203, allocations: 3.439 MB / 0.5222 GB, free: 89.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.7217, allocations: 0.6486 MB / 0.5228 GB, free: 89.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/0.7222, allocations: 99.97 kB / 0.5229 GB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/0.7232, allocations: 108 kB / 0.523 GB, free: 88.91 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002645/0.7235, allocations: 316.6 kB / 0.5233 GB, free: 88.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.7236, allocations: 108 kB / 0.5234 GB, free: 88.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001989/0.7256, allocations: 1.956 MB / 0.5253 GB, free: 86.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7256, allocations: 0 / 0.5253 GB, free: 86.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007168/0.7328, allocations: 1.73 MB / 0.527 GB, free: 84.82 MB / 426.7 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.0007111/0.7335, allocations: 289.8 kB / 0.5273 GB, free: 84.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005514/0.739, allocations: 3.975 MB / 0.5312 GB, free: 80.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003474/0.7394, allocations: 126.1 kB / 0.5313 GB, free: 80.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.7405, allocations: 0.816 MB / 0.5321 GB, free: 79.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/0.7441, allocations: 0.6889 MB / 0.5327 GB, free: 78.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/0.7689, allocations: 13.83 MB / 0.5463 GB, free: 64.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002928/0.7718, allocations: 2.135 MB / 0.5483 GB, free: 62.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00296/0.7747, allocations: 0.8307 MB / 0.5491 GB, free: 61.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/0.7762, allocations: 0.8838 MB / 0.55 GB, free: 60.68 MB / 426.7 MB Notification: Performance of SimCode: time 3.486e-06/0.7762, allocations: 1.312 kB / 0.55 GB, free: 60.68 MB / 426.7 MB Notification: Performance of Templates: time 0.06994/0.8461, allocations: 44.08 MB / 0.5931 GB, free: 16.71 MB / 426.7 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","",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.853777125943452]