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.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 104.2 kB / 16.27 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 191.2 kB / 17.2 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2471/0.2471, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 69.56 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.119, allocations: 57.79 MB / 440.5 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01767/0.1367, allocations: 17.68 MB / 458.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1495, allocations: 5.255 MB / 463.5 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003836/0.1534, allocations: 107.8 kB / 463.6 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.1636, allocations: 5.245 MB / 468.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007909/0.1716, allocations: 2.738 MB / 471.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.1751, allocations: 1.205 MB / 472.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01148/0.1866, allocations: 7.078 MB / 479.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01072/0.1974, allocations: 6.571 MB / 486.4 MB, free: 8.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005561/0.203, allocations: 2.804 MB / 489.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006705/0.2097, allocations: 4.008 MB / 493.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002864/0.2126, allocations: 0.6328 MB / 493.8 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.2169, allocations: 1.327 MB / 495.2 MB, free: 36 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005493/0.2224, allocations: 3.511 MB / 498.7 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008223/0.2307, allocations: 4.028 MB / 0.4909 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01652/0.2472, allocations: 11.84 MB / 0.5025 GB, free: 12.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2473, allocations: 4 kB / 0.5025 GB, free: 12.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2473, allocations: 0 / 0.5025 GB, free: 12.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004863/0.2478, allocations: 0 / 0.5025 GB, free: 12.58 MB / 398.1 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.02391/0.2717, allocations: 8.289 MB / 0.5106 GB, free: 4.203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.2718, allocations: 12.03 kB / 0.5106 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/0.2849, allocations: 2.724 MB / 0.5133 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009829/0.2947, allocations: 3.947 MB / 0.5171 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005286/0.2953, allocations: 468 kB / 0.5176 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00244/0.2978, allocations: 0.5932 MB / 0.5181 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4964/0.7942, allocations: 21.25 MB / 0.5389 GB, free: 77.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003443/0.7946, allocations: 79.25 kB / 0.539 GB, free: 77.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001839/0.7964, allocations: 284.8 kB / 0.5392 GB, free: 77.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007442/0.8039, allocations: 3.535 MB / 0.5427 GB, free: 76.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0418/0.8457, allocations: 17.26 MB / 0.5595 GB, free: 68.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08986/0.9356, allocations: 67.91 MB / 0.6259 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0214/0.9571, allocations: 6.756 MB / 0.6325 GB, free: 8.508 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005851/0.9629, allocations: 2.319 MB / 0.6347 GB, free: 6.176 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02345/0.9864, allocations: 9.818 MB / 0.6443 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01545/1.002, allocations: 4.39 MB / 0.6486 GB, free: 7.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=299): time 9.588e-06/1.002, allocations: 0 / 0.6486 GB, free: 7.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=333): time 0.0694/1.071, allocations: 23 MB / 0.6711 GB, free: 436 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.072, allocations: 162.7 kB / 0.6712 GB, free: 240 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.082, allocations: 6.05 MB / 0.6771 GB, free: 10.16 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005933/1.082, allocations: 77.7 kB / 0.6772 GB, free: 10.08 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00524/1.088, allocations: 5.296 MB / 0.6824 GB, free: 4.719 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.089, allocations: 1.265 MB / 0.6836 GB, free: 3.438 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004864/1.094, allocations: 1.937 MB / 0.6855 GB, free: 1.488 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/1.094, allocations: 301.1 kB / 0.6858 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005985/1.1, allocations: 2.897 MB / 0.6886 GB, free: 14.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01021/1.111, allocations: 8.714 MB / 0.6971 GB, free: 2.699 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01569/1.126, allocations: 12.61 MB / 0.7094 GB, free: 3.18 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.127, allocations: 56 kB / 0.7095 GB, free: 3.125 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02199/1.149, allocations: 11.37 MB / 0.7206 GB, free: 7.699 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002637/1.149, allocations: 125.7 kB / 0.7207 GB, free: 7.57 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003234/1.149, allocations: 208.1 kB / 0.7209 GB, free: 7.367 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003453/1.15, allocations: 272 kB / 0.7212 GB, free: 7.102 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008521/1.158, allocations: 2.367 MB / 0.7235 GB, free: 4.73 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006891/1.159, allocations: 406.4 kB / 0.7239 GB, free: 4.332 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007997/1.167, allocations: 487.3 kB / 0.7243 GB, free: 3.855 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001916/1.169, allocations: 0.5781 MB / 0.7249 GB, free: 3.277 MB / 0.5138 GB 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.2243/1.393, allocations: 3.403 MB / 0.7282 GB, free: 169.2 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.394, allocations: 0.5399 MB / 0.7287 GB, free: 169.2 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007188/1.402, allocations: 3.525 MB / 0.7322 GB, free: 169 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/1.402, allocations: 34.41 kB / 0.7322 GB, free: 169 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.402, allocations: 8.672 kB / 0.7322 GB, free: 169 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-05/1.402, allocations: 16.22 kB / 0.7322 GB, free: 169 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.427, allocations: 13.77 MB / 0.7457 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-05/1.427, allocations: 30.94 kB / 0.7457 GB, free: 164.8 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.43, allocations: 0.6563 MB / 0.7464 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.613e-05/1.43, allocations: 47.62 kB / 0.7464 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001792/1.43, allocations: 106.1 kB / 0.7465 GB, free: 164.7 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.564e-05/1.43, allocations: 62.42 kB / 0.7466 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.278e-05/1.43, allocations: 54.95 kB / 0.7466 GB, free: 164.6 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007239/1.437, allocations: 6.203 MB / 0.7527 GB, free: 161.3 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002036/1.44, allocations: 0.8465 MB / 0.7535 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009027/1.44, allocations: 102.2 kB / 0.7536 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002405/1.443, allocations: 159.7 kB / 0.7538 GB, free: 161 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003591/1.443, allocations: 311.1 kB / 0.7541 GB, free: 160.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/1.443, allocations: 133.5 kB / 0.7542 GB, free: 160.8 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005619/1.449, allocations: 3.758 MB / 0.7579 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.71e-07/1.449, allocations: 0 / 0.7579 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007511/1.457, allocations: 1.576 MB / 0.7594 GB, free: 159.4 MB / 0.5138 GB 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.0006455/1.457, allocations: 283.7 kB / 0.7597 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.471, allocations: 7.606 MB / 0.7671 GB, free: 157 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.142e-05/1.471, allocations: 4.875 kB / 0.7671 GB, free: 157 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003212/1.474, allocations: 1.879 MB / 0.7689 GB, free: 155.3 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005096/1.479, allocations: 0.7909 MB / 0.7697 GB, free: 154.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/1.504, allocations: 15.84 MB / 0.7852 GB, free: 139.8 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005647/1.509, allocations: 5.147 MB / 0.7902 GB, free: 134.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.006466/1.516, allocations: 2.754 MB / 0.7929 GB, free: 132 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/1.517, allocations: 419.4 kB / 0.7933 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of SimCode: time 9.71e-07/1.517, allocations: 0 / 0.7933 GB, free: 131.6 MB / 0.5138 GB Notification: Performance of Templates: time 0.08856/1.606, allocations: 51.84 MB / 0.8439 GB, free: 79.86 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) 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) Reference file matches