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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 221.5 MB / 230.7 MB, free: 7.512 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009686/0.0009688, allocations: 97.48 kB / 281.6 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.893e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 61.92 MB / 0.4947 GB, free: 1.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4033/0.5198, allocations: 109.2 MB / 0.6013 GB, free: 3.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5201, allocations: 83.94 kB / 0.6014 GB, free: 3.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5897/1.11, allocations: 137.9 MB / 0.736 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/1.11, allocations: 0 / 0.736 GB, free: 106.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004437/1.11, allocations: 140.8 kB / 0.7362 GB, free: 106.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2609 * Number of variables: 2609 Notification: Performance of Generate backend data structure: time 0.02157/1.132, allocations: 6.438 MB / 0.7425 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.132, allocations: 11.8 kB / 0.7425 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01781/1.15, allocations: 3.546 MB / 0.7459 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01741/1.167, allocations: 7.073 MB / 0.7528 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/1.168, allocations: 254.2 kB / 0.7531 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004359/1.172, allocations: 461.7 kB / 0.7535 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02371/1.196, allocations: 10.75 MB / 0.764 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04045/1.237, allocations: 15.81 MB / 0.7795 GB, free: 91.74 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006227/1.237, allocations: 91.19 kB / 0.7796 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004493/1.242, allocations: 48.06 kB / 0.7796 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/1.245, allocations: 1.823 MB / 0.7814 GB, free: 90.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08741/1.333, allocations: 75.25 MB / 0.8549 GB, free: 17.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005302/1.338, allocations: 3.137 MB / 0.8579 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002602/1.341, allocations: 1.732 MB / 0.8596 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/1.342, allocations: 1.771 MB / 0.8613 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002551/1.345, allocations: 1.857 MB / 0.8632 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=267): time 6.091e-06/1.345, allocations: 0 / 0.8632 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of matching and sorting (n=295): time 0.03515/1.38, allocations: 15.46 MB / 0.8783 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.658e-05/1.38, allocations: 158.5 kB / 0.8784 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006743/1.387, allocations: 4.261 MB / 0.8826 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006325/1.387, allocations: 25.7 kB / 0.8826 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005272/1.393, allocations: 5.116 MB / 0.8876 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.394, allocations: 1.103 MB / 0.8887 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007642/1.395, allocations: 0 / 0.8887 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006522/1.396, allocations: 0.7029 MB / 0.8894 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.4, allocations: 2.322 MB / 0.8916 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007879/1.408, allocations: 7.956 MB / 0.8994 GB, free: 352 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3203/1.728, allocations: 4.236 MB / 0.9035 GB, free: 119 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001961/1.728, allocations: 57.62 kB / 0.9036 GB, free: 119 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1231) (initialization): time 0.02118/1.749, allocations: 9.052 MB / 0.9124 GB, free: 118.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001929/1.75, allocations: 118.1 kB / 0.9125 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004569/1.75, allocations: 202.2 kB / 0.9127 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005316/1.751, allocations: 298.8 kB / 0.913 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008796/1.76, allocations: 2.297 MB / 0.9153 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/1.76, allocations: 401.9 kB / 0.9156 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/1.767, allocations: 432.7 kB / 0.916 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.769, allocations: 0.5566 MB / 0.9166 GB, free: 118.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * Number of states: 0 () * Number of discrete variables: 83 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,force.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1206): * Single equations (assignments): 1202 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001904/1.771, allocations: 0.617 MB / 0.9172 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008147/1.772, allocations: 479.9 kB / 0.9177 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004401/1.776, allocations: 2.541 MB / 0.9201 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.094e-05/1.776, allocations: 31.72 kB / 0.9202 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.776, allocations: 0 / 0.9202 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.518e-05/1.776, allocations: 12.52 kB / 0.9202 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/1.796, allocations: 10.79 MB / 0.9307 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-05/1.796, allocations: 32.75 kB / 0.9307 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/1.798, allocations: 0.5304 MB / 0.9313 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.883e-05/1.798, allocations: 50.47 kB / 0.9313 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.798, allocations: 53.06 kB / 0.9314 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-05/1.798, allocations: 64.94 kB / 0.9314 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.078e-05/1.798, allocations: 47.09 kB / 0.9315 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005607/1.804, allocations: 9.33 MB / 0.9406 GB, free: 109.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/1.805, allocations: 0.5235 MB / 0.9411 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004518/1.805, allocations: 46.39 kB / 0.9411 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/1.807, allocations: 163.3 kB / 0.9413 GB, free: 108.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/1.808, allocations: 273.9 kB / 0.9416 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.808, allocations: 120.4 kB / 0.9417 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00436/1.812, allocations: 2.773 MB / 0.9444 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.964e-06/1.812, allocations: 0 / 0.9444 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008104/1.82, allocations: 1.261 MB / 0.9456 GB, free: 108.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 137 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 268 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006202/1.821, allocations: 227.1 kB / 0.9458 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00766/1.829, allocations: 5.368 MB / 0.9511 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-05/1.829, allocations: 3.531 kB / 0.9511 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.831, allocations: 1.492 MB / 0.9525 GB, free: 106 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/1.834, allocations: 0.5639 MB / 0.9531 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0255/1.86, allocations: 11.81 MB / 0.9646 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007137/1.867, allocations: 5.015 MB / 0.9695 GB, free: 99.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007475/1.874, allocations: 2.646 MB / 0.9721 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001146/1.876, allocations: 348 kB / 0.9724 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of SimCode: time 8.71e-07/1.876, allocations: 0 / 0.9724 GB, free: 98.82 MB / 0.5261 GB Notification: Performance of Templates: time 0.07589/1.952, allocations: 37.61 MB / 1.009 GB, free: 80.04 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches