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.001569/0.001569, allocations: 116.6 kB / 17.05 MB, free: 6.008 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.001293/0.001293, allocations: 188.5 kB / 17.98 MB, free: 5.102 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.451/1.451, 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.2124/0.2124, allocations: 43.51 MB / 314.7 MB, free: 460 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.001508/0.001508, allocations: 65.47 kB / 442.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1171, allocations: 57.8 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01787/0.135, allocations: 17.69 MB / 0.5058 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01325/0.1483, allocations: 5.263 MB / 0.5109 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003845/0.1522, allocations: 103.8 kB / 0.511 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009978/0.1622, allocations: 5.241 MB / 0.5161 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009195/0.1714, allocations: 2.738 MB / 0.5188 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.1753, allocations: 1.197 MB / 0.52 GB, free: 11.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01289/0.1883, allocations: 7.083 MB / 0.5269 GB, free: 4.328 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3179/0.5062, allocations: 6.555 MB / 0.5333 GB, free: 7.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00719/0.5135, allocations: 2.807 MB / 0.536 GB, free: 7.145 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008595/0.5221, allocations: 4.006 MB / 0.54 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003934/0.5261, allocations: 0.6323 MB / 0.5406 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006298/0.5324, allocations: 1.328 MB / 0.5419 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007449/0.5398, allocations: 3.513 MB / 0.5453 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01227/0.5521, allocations: 4.034 MB / 0.5492 GB, free: 5.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02028/0.5725, allocations: 12.26 MB / 0.5612 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5725, allocations: 0 / 0.5612 GB, free: 1.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.5725, allocations: 0 / 0.5612 GB, free: 1.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000702/0.5732, allocations: 0 / 0.5612 GB, free: 1.016 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.02991/0.6031, allocations: 8.285 MB / 0.5693 GB, free: 11.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.416e-05/0.6032, allocations: 10.09 kB / 0.5693 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01394/0.6172, allocations: 2.728 MB / 0.572 GB, free: 10.15 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/0.6284, allocations: 4.012 MB / 0.5759 GB, free: 7.965 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007041/0.6291, allocations: 464.4 kB / 0.5763 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003835/0.633, allocations: 0.585 MB / 0.5769 GB, free: 7.672 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05337/0.6864, allocations: 21.27 MB / 0.5977 GB, free: 3.984 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002764/0.6867, allocations: 75.05 kB / 0.5978 GB, free: 3.945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/0.6882, allocations: 284.9 kB / 0.598 GB, free: 3.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005859/0.6941, allocations: 3.537 MB / 0.6015 GB, free: 240 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04441/0.7385, allocations: 17.26 MB / 0.6183 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09828/0.8368, allocations: 67.58 MB / 0.6843 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01899/0.8559, allocations: 6.753 MB / 0.6909 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/0.8603, allocations: 2.323 MB / 0.6932 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01865/0.879, allocations: 9.806 MB / 0.7028 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01512/0.8942, allocations: 4.389 MB / 0.7071 GB, free: 3.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=299): time 6.182e-06/0.8942, allocations: 0 / 0.7071 GB, free: 3.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=333): time 0.06674/0.961, allocations: 22.99 MB / 0.7295 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.9611, allocations: 169.7 kB / 0.7297 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/0.9724, allocations: 6.038 MB / 0.7356 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0007284/0.9731, allocations: 81.69 kB / 0.7356 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005739/0.9789, allocations: 5.299 MB / 0.7408 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/0.9812, allocations: 1.27 MB / 0.7421 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005155/0.9864, allocations: 1.94 MB / 0.7439 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.9866, allocations: 309.1 kB / 0.7442 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005217/0.9918, allocations: 2.885 MB / 0.7471 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2957/1.288, allocations: 8.709 MB / 0.7556 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/1.304, allocations: 12.61 MB / 0.7679 GB, free: 188 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/1.304, allocations: 58.5 kB / 0.7679 GB, free: 188 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02661/1.331, allocations: 11.36 MB / 0.779 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.331, allocations: 123 kB / 0.7791 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003227/1.331, allocations: 206.6 kB / 0.7793 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/1.332, allocations: 276.1 kB / 0.7796 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008132/1.34, allocations: 2.375 MB / 0.7819 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004822/1.34, allocations: 403.6 kB / 0.7823 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007616/1.348, allocations: 493.8 kB / 0.7828 GB, free: 183.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.35, allocations: 0.5802 MB / 0.7833 GB, free: 183.5 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.007672/1.357, allocations: 3.406 MB / 0.7867 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.358, allocations: 0.5421 MB / 0.7872 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006426/1.365, allocations: 3.522 MB / 0.7906 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.936e-05/1.365, allocations: 34.81 kB / 0.7907 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/1.365, allocations: 2.312 kB / 0.7907 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.558e-05/1.365, allocations: 21.06 kB / 0.7907 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/1.39, allocations: 13.74 MB / 0.8041 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/1.39, allocations: 32 kB / 0.8041 GB, free: 172.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/1.393, allocations: 0.6603 MB / 0.8048 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-05/1.393, allocations: 51.94 kB / 0.8048 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001935/1.393, allocations: 103.1 kB / 0.8049 GB, free: 172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-05/1.393, allocations: 67.64 kB / 0.805 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.091e-05/1.393, allocations: 51.75 kB / 0.8051 GB, free: 171.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0071/1.4, allocations: 6.211 MB / 0.8111 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00223/1.402, allocations: 0.8487 MB / 0.8119 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008372/1.403, allocations: 102.5 kB / 0.812 GB, free: 165 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.405, allocations: 161.8 kB / 0.8122 GB, free: 164.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003583/1.406, allocations: 303.1 kB / 0.8125 GB, free: 164.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.406, allocations: 140.4 kB / 0.8126 GB, free: 164.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006021/1.412, allocations: 3.756 MB / 0.8163 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.71e-07/1.412, allocations: 4 kB / 0.8163 GB, free: 161.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0097/1.422, allocations: 1.577 MB / 0.8178 GB, free: 159.8 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.0007943/1.422, allocations: 272 kB / 0.8181 GB, free: 159.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01191/1.434, allocations: 6.718 MB / 0.8247 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.553e-05/1.434, allocations: 4 kB / 0.8247 GB, free: 153.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002956/1.437, allocations: 1.757 MB / 0.8264 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.004773/1.442, allocations: 0.8025 MB / 0.8272 GB, free: 151.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02848/1.471, allocations: 16.39 MB / 0.8432 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007788/1.479, allocations: 5.136 MB / 0.8482 GB, free: 130.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/1.48, allocations: 491.4 kB / 0.8486 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.322e-06/1.48, allocations: 0 / 0.8486 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1271/1.607, allocations: 90.89 MB / 0.9374 GB, free: 39.26 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