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.001713/0.001713, allocations: 114.2 kB / 17.08 MB, free: 6.004 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.001932/0.001932, allocations: 194.4 kB / 18.01 MB, free: 5.086 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.49/1.49, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2467/0.2467, allocations: 43.52 MB / 314.8 MB, free: 464 kB / 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.001431/0.001431, allocations: 63.91 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1239, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01863/0.1426, allocations: 17.69 MB / 0.5058 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.1554, allocations: 5.267 MB / 0.511 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0042/0.1596, allocations: 103.8 kB / 0.5111 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.1702, allocations: 5.241 MB / 0.5162 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008682/0.179, allocations: 2.742 MB / 0.5189 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.1825, allocations: 1.197 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01121/0.1937, allocations: 7.083 MB / 0.527 GB, free: 4.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2782/0.472, allocations: 6.557 MB / 0.5334 GB, free: 7.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006256/0.4783, allocations: 2.807 MB / 0.5361 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00798/0.4863, allocations: 4.009 MB / 0.54 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003465/0.4898, allocations: 0.6297 MB / 0.5406 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0071/0.4969, allocations: 1.33 MB / 0.5419 GB, free: 6.824 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007377/0.5043, allocations: 3.531 MB / 0.5454 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01144/0.5158, allocations: 4.029 MB / 0.5493 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02149/0.5373, allocations: 12.27 MB / 0.5613 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.5373, allocations: 0.5 kB / 0.5613 GB, free: 1.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.5373, allocations: 3.531 kB / 0.5613 GB, free: 1.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005704/0.5379, allocations: 0 / 0.5613 GB, free: 1.094 MB / 414.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.02961/0.5675, allocations: 8.286 MB / 0.5694 GB, free: 11.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5676, allocations: 9.688 kB / 0.5694 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.5805, allocations: 2.73 MB / 0.5721 GB, free: 10.22 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009598/0.5901, allocations: 4.007 MB / 0.576 GB, free: 8.035 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.5906, allocations: 471.8 kB / 0.5764 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002745/0.5934, allocations: 0.585 MB / 0.577 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04853/0.6419, allocations: 21.26 MB / 0.5978 GB, free: 4.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002773/0.6423, allocations: 75.53 kB / 0.5978 GB, free: 3.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00147/0.6437, allocations: 281.6 kB / 0.5981 GB, free: 3.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005886/0.6496, allocations: 3.545 MB / 0.6016 GB, free: 272 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04297/0.6926, allocations: 17.26 MB / 0.6184 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1001/0.7928, allocations: 67.57 MB / 0.6844 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02037/0.8132, allocations: 6.753 MB / 0.691 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005074/0.8183, allocations: 2.363 MB / 0.6933 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02215/0.8405, allocations: 9.798 MB / 0.7029 GB, free: 7.695 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01621/0.8568, allocations: 4.392 MB / 0.7072 GB, free: 3.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 1.517e-05/0.8568, allocations: 7.734 kB / 0.7072 GB, free: 3.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.07306/0.9299, allocations: 22.99 MB / 0.7296 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.9301, allocations: 173.4 kB / 0.7298 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01355/0.9437, allocations: 6.042 MB / 0.7357 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000755/0.9444, allocations: 81.69 kB / 0.7358 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.006322/0.9508, allocations: 5.293 MB / 0.7409 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002253/0.9531, allocations: 1.267 MB / 0.7422 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006365/0.9595, allocations: 1.939 MB / 0.7441 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.9596, allocations: 309.1 kB / 0.7444 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006925/0.9665, allocations: 2.889 MB / 0.7472 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2923/1.259, allocations: 8.709 MB / 0.7557 GB, free: 196.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/1.274, allocations: 12.61 MB / 0.768 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002121/1.274, allocations: 57.88 kB / 0.768 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02423/1.298, allocations: 11.37 MB / 0.7791 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.299, allocations: 125.6 kB / 0.7793 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002639/1.299, allocations: 202.2 kB / 0.7795 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004098/1.299, allocations: 274.1 kB / 0.7797 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007989/1.307, allocations: 2.375 MB / 0.782 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003658/1.308, allocations: 403.6 kB / 0.7824 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007285/1.315, allocations: 488.3 kB / 0.7829 GB, free: 183.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.317, allocations: 0.5815 MB / 0.7835 GB, free: 183.2 MB / 0.5919 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.007832/1.325, allocations: 3.404 MB / 0.7868 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001274/1.326, allocations: 0.5484 MB / 0.7873 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006788/1.333, allocations: 3.517 MB / 0.7908 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-05/1.333, allocations: 35.19 kB / 0.7908 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/1.333, allocations: 2.375 kB / 0.7908 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.543e-05/1.333, allocations: 26.75 kB / 0.7908 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02245/1.356, allocations: 13.74 MB / 0.8042 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-05/1.356, allocations: 32 kB / 0.8043 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/1.358, allocations: 0.6639 MB / 0.8049 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.779e-05/1.358, allocations: 48 kB / 0.805 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/1.358, allocations: 104.9 kB / 0.8051 GB, free: 172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.361e-05/1.358, allocations: 63.47 kB / 0.8051 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-05/1.358, allocations: 55.5 kB / 0.8052 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006952/1.365, allocations: 6.207 MB / 0.8112 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/1.367, allocations: 0.8487 MB / 0.8121 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009147/1.368, allocations: 107.5 kB / 0.8122 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002272/1.371, allocations: 153.3 kB / 0.8123 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003599/1.371, allocations: 306.9 kB / 0.8126 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.371, allocations: 136.2 kB / 0.8127 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005544/1.377, allocations: 3.762 MB / 0.8164 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.01e-07/1.377, allocations: 0 / 0.8164 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008743/1.385, allocations: 1.57 MB / 0.8179 GB, free: 159.9 MB / 0.5919 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.0007914/1.386, allocations: 284.9 kB / 0.8182 GB, free: 159.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01019/1.397, allocations: 6.709 MB / 0.8248 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.642e-05/1.397, allocations: 8 kB / 0.8248 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002718/1.399, allocations: 1.76 MB / 0.8265 GB, free: 152.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004573/1.404, allocations: 0.7994 MB / 0.8273 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02773/1.432, allocations: 16.38 MB / 0.8433 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005854/1.438, allocations: 5.136 MB / 0.8483 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.439, allocations: 495.4 kB / 0.8488 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.52e-07/1.439, allocations: 0 / 0.8488 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1226/1.562, allocations: 91.96 MB / 0.9386 GB, free: 38.21 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper2/Damper2.csv","/var/lib/jenkins1/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