Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.Damper2") translateModel(ModelicaTest.MultiBody.Forces.Damper2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001736/0.001736, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002479/0.002479, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.645/1.645, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3608/0.3608, allocations: 37.99 MB / 307.7 MB, free: 10.02 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.1. 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.00154/0.00154, allocations: 79.91 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1353, allocations: 56.45 MB / 431.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper2): time 0.01853/0.1539, allocations: 17.68 MB / 449.4 MB, free: 4.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2757/0.4296, allocations: 5.255 MB / 454.6 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004811/0.4345, allocations: 106.8 kB / 454.7 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009386/0.4439, allocations: 5.242 MB / 460 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009618/0.4536, allocations: 2.742 MB / 462.7 MB, free: 35.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.4569, allocations: 1.194 MB / 463.9 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01024/0.4672, allocations: 7.079 MB / 471 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007652/0.4749, allocations: 6.579 MB / 477.6 MB, free: 31.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/0.4804, allocations: 2.795 MB / 480.4 MB, free: 30.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006641/0.487, allocations: 4.012 MB / 484.4 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003636/0.4907, allocations: 0.6272 MB / 485 MB, free: 29.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005479/0.4962, allocations: 1.334 MB / 486.3 MB, free: 29.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007121/0.5034, allocations: 3.514 MB / 489.9 MB, free: 27.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0112/0.5146, allocations: 4.021 MB / 493.9 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02189/0.5365, allocations: 11.84 MB / 0.4939 GB, free: 19.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5366, allocations: 0 / 0.4939 GB, free: 19.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5366, allocations: 0 / 0.4939 GB, free: 19.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005946/0.5372, allocations: 4 kB / 0.4939 GB, free: 19.74 MB / 382.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.02963/0.5668, allocations: 8.282 MB / 0.502 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5669, allocations: 17.42 kB / 0.502 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.5808, allocations: 2.724 MB / 0.5046 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/0.5936, allocations: 3.958 MB / 0.5085 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006718/0.5943, allocations: 464.6 kB / 0.5089 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003983/0.5983, allocations: 0.584 MB / 0.5095 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05824/0.6566, allocations: 21.25 MB / 0.5303 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006615/0.6573, allocations: 79.23 kB / 0.5303 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00407/0.6614, allocations: 286.8 kB / 0.5306 GB, free: 3.223 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007009/0.6685, allocations: 3.542 MB / 0.5341 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04836/0.7169, allocations: 17.26 MB / 0.5509 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/0.8265, allocations: 67.91 MB / 0.6173 GB, free: 9.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/0.8468, allocations: 6.737 MB / 0.6238 GB, free: 2.297 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2828/1.13, allocations: 2.325 MB / 0.6261 GB, free: 145.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/1.147, allocations: 9.82 MB / 0.6357 GB, free: 142.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01536/1.163, allocations: 4.391 MB / 0.64 GB, free: 141.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=299): time 9.758e-06/1.163, allocations: 0 / 0.64 GB, free: 141.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=333): time 0.07125/1.234, allocations: 23.09 MB / 0.6625 GB, free: 133.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.234, allocations: 162.6 kB / 0.6627 GB, free: 133.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01626/1.251, allocations: 6.051 MB / 0.6686 GB, free: 131 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008416/1.251, allocations: 82.67 kB / 0.6687 GB, free: 131 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005146/1.257, allocations: 5.303 MB / 0.6739 GB, free: 127 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001625/1.258, allocations: 1.265 MB / 0.6751 GB, free: 126 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002619/1.261, allocations: 1.944 MB / 0.677 GB, free: 125.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.94e-05/1.261, allocations: 308.9 kB / 0.6773 GB, free: 124.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004233/1.265, allocations: 2.886 MB / 0.6801 GB, free: 123.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/1.272, allocations: 8.715 MB / 0.6886 GB, free: 115.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0127/1.284, allocations: 12.6 MB / 0.7009 GB, free: 103.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001743/1.284, allocations: 56 kB / 0.701 GB, free: 103.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.02286/1.307, allocations: 11.38 MB / 0.7121 GB, free: 92.88 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002475/1.308, allocations: 125.7 kB / 0.7122 GB, free: 92.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003611/1.308, allocations: 204 kB / 0.7124 GB, free: 92.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002942/1.308, allocations: 272 kB / 0.7127 GB, free: 92.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008442/1.317, allocations: 2.372 MB / 0.715 GB, free: 90.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003564/1.317, allocations: 411.3 kB / 0.7154 GB, free: 89.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009738/1.327, allocations: 483.4 kB / 0.7158 GB, free: 89.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00271/1.33, allocations: 0.582 MB / 0.7164 GB, free: 88.68 MB / 494.1 MB 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.009953/1.34, allocations: 3.397 MB / 0.7197 GB, free: 85.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001857/1.342, allocations: 0.5438 MB / 0.7202 GB, free: 84.72 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00881/1.35, allocations: 3.526 MB / 0.7237 GB, free: 81.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/1.35, allocations: 32 kB / 0.7237 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/1.35, allocations: 7.938 kB / 0.7237 GB, free: 81.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-05/1.351, allocations: 15.94 kB / 0.7237 GB, free: 81.09 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.379, allocations: 13.74 MB / 0.7372 GB, free: 66.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001007/1.379, allocations: 35.98 kB / 0.7372 GB, free: 66.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.382, allocations: 0.6629 MB / 0.7378 GB, free: 66.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.85e-05/1.382, allocations: 48 kB / 0.7379 GB, free: 66.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004681/1.383, allocations: 99.98 kB / 0.738 GB, free: 66.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/1.383, allocations: 67.73 kB / 0.738 GB, free: 65.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.273e-05/1.383, allocations: 51.8 kB / 0.7381 GB, free: 65.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/1.393, allocations: 6.211 MB / 0.7442 GB, free: 59.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003197/1.396, allocations: 0.8413 MB / 0.745 GB, free: 58.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00176/1.398, allocations: 100.4 kB / 0.7451 GB, free: 58.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004166/1.402, allocations: 155.9 kB / 0.7452 GB, free: 57.97 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000532/1.403, allocations: 308.2 kB / 0.7455 GB, free: 57.67 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003123/1.403, allocations: 136 kB / 0.7456 GB, free: 57.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008469/1.411, allocations: 3.76 MB / 0.7493 GB, free: 53.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.411, allocations: 7.938 kB / 0.7493 GB, free: 53.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01162/1.423, allocations: 1.574 MB / 0.7509 GB, free: 52.2 MB / 494.1 MB 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.001053/1.424, allocations: 285.1 kB / 0.7511 GB, free: 51.92 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01452/1.439, allocations: 7.594 MB / 0.7586 GB, free: 44.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-05/1.439, allocations: 8 kB / 0.7586 GB, free: 44.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003734/1.443, allocations: 1.892 MB / 0.7604 GB, free: 42.49 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008597/1.451, allocations: 0.7871 MB / 0.7612 GB, free: 41.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03271/1.484, allocations: 15.84 MB / 0.7766 GB, free: 25.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007533/1.491, allocations: 5.143 MB / 0.7817 GB, free: 20.24 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00715/1.499, allocations: 2.754 MB / 0.7844 GB, free: 17.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.5, allocations: 419.4 kB / 0.7848 GB, free: 17.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/1.5, allocations: 3.938 kB / 0.7848 GB, free: 17.07 MB / 494.1 MB Notification: Performance of Templates: time 0.3287/1.829, allocations: 51.85 MB / 0.8354 GB, free: 130.9 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Damper2.pipe 2>&1)