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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001572/0.001572, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.753/1.753, allocations: 194.3 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001703/0.001703, allocations: 112.3 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1839/0.1839, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.717e-05, allocations: 4 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2508, allocations: 54.87 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3517/0.6025, allocations: 100.9 MB / 0.5362 GB, free: 88.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.6029, allocations: 78.28 kB / 0.5363 GB, free: 88.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4329/1.036, allocations: 141.5 MB / 0.6744 GB, free: 12.35 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.036, allocations: 0 / 0.6744 GB, free: 12.35 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005216/1.036, allocations: 148 kB / 0.6746 GB, free: 12.2 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2741 * Number of variables: 2741 Notification: Performance of Generate backend data structure: time 0.02525/1.062, allocations: 6.626 MB / 0.6811 GB, free: 5.488 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.062, allocations: 8.031 kB / 0.6811 GB, free: 5.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01945/1.081, allocations: 3.621 MB / 0.6846 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02262/1.104, allocations: 7.641 MB / 0.6921 GB, free: 10.13 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/1.104, allocations: 260 kB / 0.6923 GB, free: 9.879 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004113/1.109, allocations: 467.9 kB / 0.6927 GB, free: 9.422 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3034/1.412, allocations: 11.3 MB / 0.7038 GB, free: 69.14 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04555/1.458, allocations: 16.53 MB / 0.7199 GB, free: 64.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004482/1.458, allocations: 97.91 kB / 0.72 GB, free: 64.83 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003287/1.461, allocations: 46.03 kB / 0.7201 GB, free: 64.83 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003582/1.465, allocations: 1.931 MB / 0.722 GB, free: 64.81 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08635/1.551, allocations: 77.1 MB / 0.7972 GB, free: 33.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004855/1.556, allocations: 3.34 MB / 0.8005 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002787/1.559, allocations: 1.879 MB / 0.8023 GB, free: 30.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/1.56, allocations: 1.775 MB / 0.8041 GB, free: 29.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003633/1.564, allocations: 2.012 MB / 0.806 GB, free: 28.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 1.077e-05/1.564, allocations: 0 / 0.806 GB, free: 28.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.0514/1.616, allocations: 18.11 MB / 0.8237 GB, free: 21.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/1.616, allocations: 165.1 kB / 0.8239 GB, free: 21.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008825/1.625, allocations: 4.437 MB / 0.8282 GB, free: 20.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006754/1.625, allocations: 29.08 kB / 0.8282 GB, free: 20.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004513/1.63, allocations: 5.349 MB / 0.8335 GB, free: 16.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001377/1.631, allocations: 1.186 MB / 0.8346 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.632, allocations: 1.469 kB / 0.8346 GB, free: 15.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009042/1.633, allocations: 0.7248 MB / 0.8353 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/1.637, allocations: 2.5 MB / 0.8378 GB, free: 13.88 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008603/1.646, allocations: 8.361 MB / 0.8459 GB, free: 5.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007527/1.653, allocations: 4.519 MB / 0.8504 GB, free: 2.09 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/1.654, allocations: 60 kB / 0.8504 GB, free: 2.031 MB / 474.7 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02146/1.675, allocations: 9.601 MB / 0.8598 GB, free: 9.504 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003264/1.676, allocations: 126.1 kB / 0.8599 GB, free: 9.379 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003886/1.676, allocations: 210.1 kB / 0.8601 GB, free: 9.176 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003998/1.676, allocations: 316 kB / 0.8604 GB, free: 8.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009302/1.686, allocations: 2.455 MB / 0.8628 GB, free: 6.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000397/1.686, allocations: 416.1 kB / 0.8632 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007708/1.694, allocations: 477.7 kB / 0.8637 GB, free: 5.996 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/1.696, allocations: 0.5843 MB / 0.8642 GB, free: 5.422 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 74 ($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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1273): * Single equations (assignments): 1269 * 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.002797/1.699, allocations: 0.6467 MB / 0.8649 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.7, allocations: 493.6 kB / 0.8653 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007322/1.707, allocations: 2.862 MB / 0.8681 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.389e-05/1.708, allocations: 43.42 kB / 0.8682 GB, free: 1.797 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/1.708, allocations: 4 kB / 0.8682 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-05/1.708, allocations: 13.5 kB / 0.8682 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/1.733, allocations: 11.84 MB / 0.8798 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.876e-05/1.733, allocations: 28 kB / 0.8798 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002586/1.736, allocations: 0.5963 MB / 0.8804 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.627e-05/1.736, allocations: 55.42 kB / 0.8804 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.736, allocations: 55.05 kB / 0.8805 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.441e-05/1.736, allocations: 61.86 kB / 0.8805 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.743e-05/1.736, allocations: 47.75 kB / 0.8806 GB, free: 6.914 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2824/2.019, allocations: 10.03 MB / 0.8904 GB, free: 102 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/2.021, allocations: 0.7605 MB / 0.8911 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/2.022, allocations: 50.92 kB / 0.8912 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002921/2.025, allocations: 167.3 kB / 0.8913 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004289/2.025, allocations: 293.1 kB / 0.8916 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002345/2.026, allocations: 123.3 kB / 0.8917 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005714/2.031, allocations: 2.903 MB / 0.8945 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.032e-06/2.031, allocations: 0 / 0.8945 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01069/2.042, allocations: 1.319 MB / 0.8958 GB, free: 101.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 138 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (301): * Single equations (assignments): 296 * 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.0008837/2.043, allocations: 206.2 kB / 0.896 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01043/2.053, allocations: 5.773 MB / 0.9017 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-05/2.054, allocations: 10.22 kB / 0.9017 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003002/2.057, allocations: 1.645 MB / 0.9033 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/2.06, allocations: 0.5344 MB / 0.9038 GB, free: 101.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.026/2.086, allocations: 12.58 MB / 0.9161 GB, free: 98.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01004/2.097, allocations: 5.239 MB / 0.9212 GB, free: 97.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00862/2.105, allocations: 2.788 MB / 0.9239 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/2.107, allocations: 373 kB / 0.9243 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/2.107, allocations: 0 / 0.9243 GB, free: 97.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.07658/2.183, allocations: 39.22 MB / 0.9626 GB, free: 95.14 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Damper2.makefile (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)