Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.00101/0.00101, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001042/0.001042, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3692/0.3692, allocations: 40 MB / 310.4 MB, free: 9.594 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005792/0.0005792, allocations: 12 kB / 378.8 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1438, allocations: 57.95 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.3415/0.4854, allocations: 79.5 MB / 0.5042 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04893/0.5344, allocations: 16.03 MB / 0.5199 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0246/0.5591, allocations: 368.9 kB / 0.5202 GB, free: 6.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01774/0.5768, allocations: 4.167 MB / 0.5243 GB, free: 5.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.04909/0.626, allocations: 12.12 MB / 0.5361 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00693/0.633, allocations: 1.085 MB / 0.5372 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01523/0.6482, allocations: 8.212 MB / 0.5452 GB, free: 8.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0147/0.663, allocations: 8.558 MB / 0.5535 GB, free: 208 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005835/0.6689, allocations: 2.187 MB / 0.5557 GB, free: 14.01 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006204/0.6751, allocations: 3.61 MB / 0.5592 GB, free: 10.39 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.6769, allocations: 280 kB / 0.5595 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003528/0.6805, allocations: 0.8818 MB / 0.5603 GB, free: 9.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004573/0.6851, allocations: 3.051 MB / 0.5633 GB, free: 6.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.6883, allocations: 1.423 MB / 0.5647 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.7017, allocations: 9.364 MB / 0.5738 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.7018, allocations: 4 kB / 0.5739 GB, free: 11.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.7018, allocations: 3.938 kB / 0.5739 GB, free: 11.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005034/0.7023, allocations: 0 / 0.5739 GB, free: 11.34 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: 2765 * Number of variables: 2765 Notification: Performance of Generate backend data structure: time 0.01726/0.7196, allocations: 6.794 MB / 0.5805 GB, free: 4.461 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.7197, allocations: 8.031 kB / 0.5805 GB, free: 4.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01269/0.7324, allocations: 2.784 MB / 0.5832 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/0.743, allocations: 3.889 MB / 0.587 GB, free: 13.71 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/0.7436, allocations: 463.6 kB / 0.5875 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002746/0.7464, allocations: 0.5934 MB / 0.588 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04719/0.7936, allocations: 21.28 MB / 0.6088 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002809/0.7939, allocations: 75.33 kB / 0.6089 GB, free: 6.152 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/0.7954, allocations: 291.7 kB / 0.6092 GB, free: 5.867 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005658/0.8011, allocations: 3.533 MB / 0.6126 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04311/0.8442, allocations: 17.26 MB / 0.6295 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7559/1.6, allocations: 67.87 MB / 0.6957 GB, free: 33.42 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.619, allocations: 6.78 MB / 0.7024 GB, free: 31.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004774/1.624, allocations: 2.33 MB / 0.7046 GB, free: 30.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02055/1.644, allocations: 9.82 MB / 0.7142 GB, free: 26.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01403/1.658, allocations: 4.416 MB / 0.7185 GB, free: 25.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 7.373e-06/1.658, allocations: 0 / 0.7185 GB, free: 25.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.05833/1.717, allocations: 23.21 MB / 0.7412 GB, free: 6.574 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.717, allocations: 162.7 kB / 0.7414 GB, free: 6.383 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008303/1.725, allocations: 6.013 MB / 0.7472 GB, free: 1.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007957/1.726, allocations: 81.97 kB / 0.7473 GB, free: 1.836 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005066/1.731, allocations: 5.3 MB / 0.7525 GB, free: 13.53 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.002452/1.734, allocations: 1.265 MB / 0.7537 GB, free: 12.47 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008332/1.734, allocations: 203.4 kB / 0.7539 GB, free: 12.43 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 0.0007843/1.735, allocations: 0.7174 MB / 0.7546 GB, free: 11.87 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007635/1.743, allocations: 2.871 MB / 0.7574 GB, free: 9.855 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01469/1.758, allocations: 8.681 MB / 0.7659 GB, free: 14.64 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.769, allocations: 4.861 MB / 0.7706 GB, free: 9.938 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002396/1.77, allocations: 60 kB / 0.7707 GB, free: 9.879 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.03246/1.802, allocations: 11.32 MB / 0.7818 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002295/1.802, allocations: 121.7 kB / 0.7819 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004121/1.803, allocations: 204 kB / 0.7821 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/1.803, allocations: 304 kB / 0.7824 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/1.814, allocations: 2.377 MB / 0.7847 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005695/1.814, allocations: 404 kB / 0.7851 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/1.823, allocations: 499.3 kB / 0.7855 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.825, allocations: 0.5781 MB / 0.7861 GB, free: 11.56 MB / 0.5294 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 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007574/1.832, allocations: 3.401 MB / 0.7894 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/1.833, allocations: 0.5414 MB / 0.79 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006983/1.84, allocations: 3.545 MB / 0.7934 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/1.841, allocations: 35.12 kB / 0.7934 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.841, allocations: 4 kB / 0.7935 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.63e-05/1.841, allocations: 11.95 kB / 0.7935 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02901/1.87, allocations: 13.79 MB / 0.8069 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-05/1.87, allocations: 32 kB / 0.807 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002502/1.872, allocations: 0.6827 MB / 0.8076 GB, free: 5.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.43e-05/1.872, allocations: 52 kB / 0.8077 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/1.873, allocations: 99.98 kB / 0.8078 GB, free: 5.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.22e-05/1.873, allocations: 69.75 kB / 0.8078 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.534e-05/1.873, allocations: 49.41 kB / 0.8079 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009731/1.882, allocations: 6.216 MB / 0.814 GB, free: 14.4 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/1.885, allocations: 0.8491 MB / 0.8148 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008744/1.886, allocations: 102.4 kB / 0.8149 GB, free: 13.42 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.888, allocations: 175.9 kB / 0.8151 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.888, allocations: 308.4 kB / 0.8153 GB, free: 12.98 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.889, allocations: 139.4 kB / 0.8155 GB, free: 12.84 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.006867/1.895, allocations: 3.725 MB / 0.8191 GB, free: 9.121 MB / 0.5607 GB Notification: Performance of sort global known variables: time 6.11e-07/1.895, allocations: 0 / 0.8191 GB, free: 9.121 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.009626/1.905, allocations: 1.576 MB / 0.8207 GB, free: 7.547 MB / 0.5607 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007857/1.906, allocations: 284.6 kB / 0.8209 GB, free: 7.312 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01231/1.918, allocations: 6.603 MB / 0.8274 GB, free: 1.328 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.969e-05/1.918, allocations: 4 kB / 0.8274 GB, free: 1.324 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003768/1.922, allocations: 1.892 MB / 0.8292 GB, free: 15.57 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004762/1.927, allocations: 0.7699 MB / 0.83 GB, free: 14.81 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2702/2.197, allocations: 18.78 MB / 0.8483 GB, free: 213.1 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007466/2.205, allocations: 5.146 MB / 0.8533 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.007232/2.212, allocations: 2.763 MB / 0.856 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/2.213, allocations: 414.4 kB / 0.8564 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of SimCode: time 2.074e-06/2.213, allocations: 0 / 0.8564 GB, free: 212.2 MB / 0.5763 GB Notification: Performance of Templates: time 0.1108/2.324, allocations: 48.24 MB / 0.9035 GB, free: 198.9 MB / 0.5763 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1) Environment - environmentSimulation: