Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.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 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 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) 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.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001028/0.001029, allocations: 183 kB / 18.71 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 44.19 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.89 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4315/0.4327, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01733/0.45, allocations: 16.42 MB / 0.5349 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01382/0.4639, allocations: 5.009 MB / 0.5398 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004653/0.4686, allocations: 99.75 kB / 0.5399 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01004/0.4786, allocations: 5.202 MB / 0.545 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008469/0.4872, allocations: 2.64 MB / 0.5476 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.4906, allocations: 1.182 MB / 0.5487 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01142/0.502, allocations: 6.665 MB / 0.5553 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007211/0.5093, allocations: 6.396 MB / 0.5615 GB, free: 268 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.5134, allocations: 2.64 MB / 0.5641 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005478/0.5189, allocations: 3.735 MB / 0.5677 GB, free: 9.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001609/0.5205, allocations: 0.582 MB / 0.5683 GB, free: 9.285 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003172/0.5237, allocations: 1.307 MB / 0.5696 GB, free: 7.977 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003463/0.5272, allocations: 3.336 MB / 0.5728 GB, free: 4.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006083/0.5333, allocations: 3.779 MB / 0.5765 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01507/0.5484, allocations: 11.49 MB / 0.5877 GB, free: 5.305 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.5484, allocations: 0 / 0.5877 GB, free: 5.305 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5484, allocations: 0 / 0.5877 GB, free: 5.305 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00045/0.5489, allocations: 0 / 0.5877 GB, free: 5.305 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01869/0.5676, allocations: 7.812 MB / 0.5954 GB, free: 13.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.5676, allocations: 8.031 kB / 0.5954 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.578, allocations: 2.663 MB / 0.598 GB, free: 10.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007566/0.5856, allocations: 3.72 MB / 0.6016 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000332/0.586, allocations: 447.4 kB / 0.602 GB, free: 6.504 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/0.5876, allocations: 0.5659 MB / 0.6026 GB, free: 5.938 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04709/0.6347, allocations: 20.26 MB / 0.6224 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002252/0.635, allocations: 71.41 kB / 0.6224 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009381/0.636, allocations: 275.8 kB / 0.6227 GB, free: 184 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005268/0.6412, allocations: 3.341 MB / 0.626 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03988/0.6811, allocations: 16.29 MB / 0.6419 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0946/0.7758, allocations: 65 MB / 0.7054 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01761/0.7934, allocations: 6.283 MB / 0.7115 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003414/0.7969, allocations: 2.081 MB / 0.7135 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6065/1.403, allocations: 9.126 MB / 0.7224 GB, free: 165.6 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/1.404, allocations: 63.73 kB / 0.7225 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 5.971e-06/1.404, allocations: 0 / 0.7225 GB, free: 165.5 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.05562/1.459, allocations: 21.3 MB / 0.7433 GB, free: 158.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/1.459, allocations: 164.8 kB / 0.7435 GB, free: 157.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007479/1.467, allocations: 5.842 MB / 0.7492 GB, free: 154.4 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005043/1.467, allocations: 65.7 kB / 0.7492 GB, free: 154.3 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002238/1.47, allocations: 4.966 MB / 0.7541 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/1.471, allocations: 1.11 MB / 0.7552 GB, free: 148.3 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001807/1.472, allocations: 1.837 MB / 0.7569 GB, free: 146.4 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 5.344e-05/1.472, allocations: 313.5 kB / 0.7572 GB, free: 146.1 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003387/1.476, allocations: 2.618 MB / 0.7598 GB, free: 143.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005282/1.481, allocations: 8.239 MB / 0.7679 GB, free: 132.5 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009885/1.491, allocations: 11.81 MB / 0.7794 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001204/1.491, allocations: 56 kB / 0.7794 GB, free: 117.9 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.01608/1.507, allocations: 10.58 MB / 0.7898 GB, free: 107.3 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/1.507, allocations: 91.12 kB / 0.7899 GB, free: 107.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002161/1.508, allocations: 200 kB / 0.79 GB, free: 107 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000226/1.508, allocations: 264 kB / 0.7903 GB, free: 106.8 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006852/1.515, allocations: 2.219 MB / 0.7925 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003402/1.515, allocations: 386.5 kB / 0.7928 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009102/1.524, allocations: 455.3 kB / 0.7933 GB, free: 103.7 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002127/1.526, allocations: 0.5508 MB / 0.7938 GB, free: 103.2 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * Array equations: 3 * Algorithm blocks: 0 * 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.00847/1.535, allocations: 3.228 MB / 0.797 GB, free: 99.93 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002005/1.537, allocations: 0.5168 MB / 0.7975 GB, free: 99.41 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006893/1.544, allocations: 2.965 MB / 0.8004 GB, free: 96.43 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.227e-05/1.544, allocations: 32 kB / 0.8004 GB, free: 96.39 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/1.544, allocations: 0 / 0.8004 GB, free: 96.39 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.772e-05/1.544, allocations: 15.89 kB / 0.8004 GB, free: 96.38 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02477/1.569, allocations: 12.41 MB / 0.8125 GB, free: 83.5 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.339e-05/1.569, allocations: 32 kB / 0.8125 GB, free: 83.47 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/1.571, allocations: 0.5264 MB / 0.8131 GB, free: 82.95 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.619e-05/1.571, allocations: 48.41 kB / 0.8131 GB, free: 82.9 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/1.571, allocations: 99.58 kB / 0.8132 GB, free: 82.8 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.933e-05/1.571, allocations: 63.78 kB / 0.8133 GB, free: 82.74 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.161e-05/1.571, allocations: 52 kB / 0.8133 GB, free: 82.69 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006461/1.578, allocations: 5.543 MB / 0.8187 GB, free: 76.62 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001822/1.58, allocations: 0.5878 MB / 0.8193 GB, free: 76 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.581, allocations: 99.91 kB / 0.8194 GB, free: 75.91 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.584, allocations: 123.9 kB / 0.8195 GB, free: 75.79 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003024/1.584, allocations: 274.2 kB / 0.8198 GB, free: 75.52 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.585, allocations: 127.2 kB / 0.8199 GB, free: 75.4 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005229/1.59, allocations: 3.626 MB / 0.8234 GB, free: 71.77 MB / 0.5607 GB Notification: Performance of sort global known variables: time 2.01e-07/1.59, allocations: 0 / 0.8234 GB, free: 71.77 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007922/1.598, allocations: 1.462 MB / 0.8249 GB, free: 70.31 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 272 * Array equations: 3 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005628/1.598, allocations: 267.1 kB / 0.8251 GB, free: 70.05 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.008752/1.607, allocations: 6.054 MB / 0.831 GB, free: 64.04 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.471e-05/1.607, allocations: 8 kB / 0.831 GB, free: 64.03 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/1.609, allocations: 1.336 MB / 0.8323 GB, free: 62.71 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004629/1.614, allocations: 0.7917 MB / 0.8331 GB, free: 61.93 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02188/1.635, allocations: 14.57 MB / 0.8473 GB, free: 46.9 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004885/1.64, allocations: 4.886 MB / 0.8521 GB, free: 41.99 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005372/1.646, allocations: 2.603 MB / 0.8547 GB, free: 39.38 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009425/1.647, allocations: 383.4 kB / 0.855 GB, free: 39 MB / 0.5607 GB Notification: Performance of SimCode: time 5.91e-07/1.647, allocations: 0 / 0.855 GB, free: 39 MB / 0.5607 GB Notification: Performance of Templates: time 0.07935/1.726, allocations: 42.22 MB / 0.8963 GB, free: 13.09 MB / 0.5763 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches