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.001085/0.001085, allocations: 111.2 kB / 17.04 MB, free: 5.812 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.001047/0.001047, allocations: 195 kB / 17.97 MB, free: 5.027 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.347/1.347, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2045/0.2045, allocations: 43.52 MB / 314.7 MB, free: 480 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.001478/0.001478, allocations: 67.75 kB / 384.2 MB, free: 56.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09685, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01624/0.1131, allocations: 17.68 MB / 459.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01195/0.1251, allocations: 5.263 MB / 464.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.1275, allocations: 103.8 kB / 465 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008837/0.1364, allocations: 5.245 MB / 470.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00682/0.1433, allocations: 2.742 MB / 473 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.146, allocations: 1.193 MB / 474.2 MB, free: 5.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009583/0.1556, allocations: 7.085 MB / 481.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007719/0.1633, allocations: 6.567 MB / 487.9 MB, free: 8.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005265/0.1686, allocations: 2.8 MB / 490.7 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.1753, allocations: 4.015 MB / 494.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00253/0.1779, allocations: 0.6289 MB / 495.3 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/0.1824, allocations: 1.331 MB / 496.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005261/0.1877, allocations: 3.518 MB / 0.4884 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00699/0.1947, allocations: 4.02 MB / 0.4923 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01374/0.2085, allocations: 12.26 MB / 0.5043 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2085, allocations: 0 / 0.5043 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2085, allocations: 4 kB / 0.5043 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003896/0.2089, allocations: 0 / 0.5043 GB, free: 11.38 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.01729/0.2262, allocations: 8.289 MB / 0.5124 GB, free: 3.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.2263, allocations: 8.031 kB / 0.5124 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.2367, allocations: 2.724 MB / 0.5151 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008858/0.2456, allocations: 4.018 MB / 0.519 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.246, allocations: 472 kB / 0.5195 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/0.2479, allocations: 0.5893 MB / 0.52 GB, free: 11.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3457/0.5936, allocations: 21.25 MB / 0.5408 GB, free: 76.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002142/0.5939, allocations: 74.16 kB / 0.5409 GB, free: 76.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000829/0.5947, allocations: 289.8 kB / 0.5411 GB, free: 76.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00497/0.5997, allocations: 3.541 MB / 0.5446 GB, free: 75.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03646/0.6361, allocations: 17.26 MB / 0.5614 GB, free: 66.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0758/0.712, allocations: 67.56 MB / 0.6274 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01862/0.7307, allocations: 6.75 MB / 0.634 GB, free: 7.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/0.7348, allocations: 2.317 MB / 0.6363 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.7523, allocations: 9.814 MB / 0.6459 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01385/0.7662, allocations: 4.388 MB / 0.6501 GB, free: 6.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=299): time 5.44e-06/0.7663, allocations: 0 / 0.6501 GB, free: 6.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=333): time 0.06268/0.829, allocations: 22.99 MB / 0.6726 GB, free: 15.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.8291, allocations: 178.6 kB / 0.6728 GB, free: 15.17 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009036/0.8382, allocations: 6.038 MB / 0.6787 GB, free: 9.117 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006577/0.8389, allocations: 77.7 kB / 0.6787 GB, free: 9.035 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004789/0.8437, allocations: 5.297 MB / 0.6839 GB, free: 3.668 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001749/0.8454, allocations: 1.269 MB / 0.6852 GB, free: 2.383 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002726/0.8482, allocations: 1.936 MB / 0.687 GB, free: 444 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.8483, allocations: 309.1 kB / 0.6873 GB, free: 132 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/0.8534, allocations: 2.885 MB / 0.6902 GB, free: 13.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00906/0.8625, allocations: 8.722 MB / 0.6987 GB, free: 1.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/0.8787, allocations: 12.6 MB / 0.711 GB, free: 2.125 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001881/0.8789, allocations: 56 kB / 0.711 GB, free: 2.07 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02251/0.9015, allocations: 11.37 MB / 0.7221 GB, free: 6.648 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.9017, allocations: 125.7 kB / 0.7223 GB, free: 6.52 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002276/0.9019, allocations: 204 kB / 0.7225 GB, free: 6.32 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.9021, allocations: 272.8 kB / 0.7227 GB, free: 6.055 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007644/0.9098, allocations: 2.375 MB / 0.725 GB, free: 3.676 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003131/0.9101, allocations: 410.3 kB / 0.7254 GB, free: 3.273 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006863/0.917, allocations: 491.4 kB / 0.7259 GB, free: 2.793 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001125/0.9181, allocations: 0.5742 MB / 0.7265 GB, free: 2.219 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.2045/1.123, allocations: 3.399 MB / 0.7298 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008811/1.124, allocations: 0.5429 MB / 0.7303 GB, free: 168 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006253/1.13, allocations: 3.518 MB / 0.7337 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.118e-05/1.13, allocations: 35.09 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/1.13, allocations: 4.344 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/1.13, allocations: 19.28 kB / 0.7338 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/1.151, allocations: 13.75 MB / 0.7472 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/1.151, allocations: 35.31 kB / 0.7473 GB, free: 163.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.153, allocations: 0.6501 MB / 0.7479 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-05/1.153, allocations: 44.78 kB / 0.7479 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/1.153, allocations: 104.8 kB / 0.748 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.36e-05/1.154, allocations: 69.52 kB / 0.7481 GB, free: 163.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-05/1.154, allocations: 54.88 kB / 0.7482 GB, free: 163.3 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/1.16, allocations: 6.202 MB / 0.7542 GB, free: 160 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002053/1.163, allocations: 0.8477 MB / 0.755 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006181/1.163, allocations: 102.4 kB / 0.7551 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00194/1.165, allocations: 157 kB / 0.7553 GB, free: 159.7 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/1.165, allocations: 309.1 kB / 0.7556 GB, free: 159.6 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001734/1.166, allocations: 132 kB / 0.7557 GB, free: 159.5 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005076/1.171, allocations: 3.769 MB / 0.7594 GB, free: 158.3 MB / 0.5138 GB Notification: Performance of sort global known variables: time 3.31e-07/1.171, allocations: 0 / 0.7594 GB, free: 158.3 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007264/1.178, allocations: 1.57 MB / 0.7609 GB, free: 158.1 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.0006013/1.179, allocations: 283.8 kB / 0.7612 GB, free: 157.9 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.189, allocations: 6.718 MB / 0.7678 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.705e-05/1.189, allocations: 3.906 kB / 0.7678 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003393/1.193, allocations: 1.888 MB / 0.7696 GB, free: 154.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005441/1.198, allocations: 0.805 MB / 0.7704 GB, free: 154.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02991/1.228, allocations: 15.64 MB / 0.7857 GB, free: 139.5 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006883/1.235, allocations: 5.142 MB / 0.7907 GB, free: 134.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00659/1.242, allocations: 2.758 MB / 0.7934 GB, free: 131.8 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.243, allocations: 415.4 kB / 0.7938 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of SimCode: time 1.543e-06/1.243, allocations: 0 / 0.7938 GB, free: 131.4 MB / 0.5138 GB Notification: Performance of Templates: time 0.08157/1.325, allocations: 43.05 MB / 0.8358 GB, free: 88.67 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 -s gbode -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