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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001099/0.001099, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.273/1.273, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001598/0.001597, allocations: 111.5 kB / 218 MB, free: 15.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1914/0.1914, allocations: 37.98 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.613e-05, allocations: 0 / 350 MB, free: 32.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2568, allocations: 48.69 MB / 398.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1286/0.3855, allocations: 94.16 MB / 492.9 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.3858, allocations: 75.95 kB / 493 MB, free: 4.859 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5539/0.9397, allocations: 141.5 MB / 0.6196 GB, free: 80.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.592e-06/0.9397, allocations: 0 / 0.6196 GB, free: 80.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002988/0.94, allocations: 144 kB / 0.6197 GB, free: 80.27 MB / 410.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.01952/0.9596, allocations: 6.631 MB / 0.6262 GB, free: 73.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.9596, allocations: 8.031 kB / 0.6262 GB, free: 73.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01747/0.9771, allocations: 3.625 MB / 0.6297 GB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/0.9945, allocations: 7.618 MB / 0.6372 GB, free: 62.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.9949, allocations: 260 kB / 0.6374 GB, free: 62.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003386/0.9983, allocations: 475.8 kB / 0.6379 GB, free: 61.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01808/1.016, allocations: 11.3 MB / 0.6489 GB, free: 50.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03242/1.049, allocations: 16.53 MB / 0.6651 GB, free: 32.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003072/1.049, allocations: 91.16 kB / 0.6651 GB, free: 32.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001951/1.051, allocations: 55.98 kB / 0.6652 GB, free: 32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00277/1.054, allocations: 1.936 MB / 0.6671 GB, free: 30.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3581/1.412, allocations: 77.1 MB / 0.7424 GB, free: 42.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006057/1.418, allocations: 3.332 MB / 0.7456 GB, free: 42.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00312/1.421, allocations: 1.891 MB / 0.7475 GB, free: 42.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001656/1.423, allocations: 1.772 MB / 0.7492 GB, free: 40.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003442/1.426, allocations: 2.01 MB / 0.7512 GB, free: 40.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=290): time 5.451e-06/1.426, allocations: 3.172 kB / 0.7512 GB, free: 40.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.05025/1.477, allocations: 18.11 MB / 0.7689 GB, free: 35.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/1.477, allocations: 165.2 kB / 0.769 GB, free: 35.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00763/1.485, allocations: 4.438 MB / 0.7734 GB, free: 35.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007656/1.485, allocations: 29.36 kB / 0.7734 GB, free: 35.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004994/1.49, allocations: 5.349 MB / 0.7786 GB, free: 32.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.492, allocations: 1.188 MB / 0.7798 GB, free: 31.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004579/1.492, allocations: 0.9375 kB / 0.7798 GB, free: 31.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004681/1.493, allocations: 0.7302 MB / 0.7805 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.496, allocations: 2.492 MB / 0.7829 GB, free: 30.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00664/1.503, allocations: 8.373 MB / 0.7911 GB, free: 21.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00765/1.511, allocations: 4.498 MB / 0.7955 GB, free: 20.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002195/1.511, allocations: 62.38 kB / 0.7955 GB, free: 20.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1298) (initialization): time 0.02088/1.532, allocations: 9.596 MB / 0.8049 GB, free: 17.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003933/1.532, allocations: 123.1 kB / 0.805 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005004/1.533, allocations: 212.6 kB / 0.8052 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/1.533, allocations: 311.8 kB / 0.8055 GB, free: 17.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009133/1.543, allocations: 2.466 MB / 0.8079 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004847/1.543, allocations: 418 kB / 0.8083 GB, free: 17.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009948/1.553, allocations: 468.1 kB / 0.8088 GB, free: 17.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003423/1.556, allocations: 0.5887 MB / 0.8094 GB, free: 17 MB / 426.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.004463/1.561, allocations: 0.6461 MB / 0.81 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.563, allocations: 497.5 kB / 0.8105 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007347/1.57, allocations: 2.857 MB / 0.8133 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-05/1.57, allocations: 32.62 kB / 0.8133 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/1.57, allocations: 4 kB / 0.8133 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.454e-05/1.57, allocations: 17.5 kB / 0.8133 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.026/1.596, allocations: 11.83 MB / 0.8249 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.27e-05/1.596, allocations: 31.95 kB / 0.8249 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.599, allocations: 0.6004 MB / 0.8255 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.463e-05/1.599, allocations: 48 kB / 0.8255 GB, free: 2.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/1.599, allocations: 59.69 kB / 0.8256 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.545e-05/1.599, allocations: 70.81 kB / 0.8256 GB, free: 2.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-05/1.599, allocations: 47.81 kB / 0.8257 GB, free: 2.434 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/1.61, allocations: 10.02 MB / 0.8355 GB, free: 7.664 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003046/1.613, allocations: 0.7692 MB / 0.8362 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.615, allocations: 56.56 kB / 0.8363 GB, free: 6.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003688/1.619, allocations: 166.2 kB / 0.8364 GB, free: 6.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005822/1.619, allocations: 291.4 kB / 0.8367 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/1.62, allocations: 123.7 kB / 0.8368 GB, free: 6.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008009/1.628, allocations: 2.898 MB / 0.8397 GB, free: 3.941 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.51e-07/1.628, allocations: 0 / 0.8397 GB, free: 3.941 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01202/1.64, allocations: 1.322 MB / 0.841 GB, free: 2.629 MB / 442.7 MB 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.001083/1.641, allocations: 200.7 kB / 0.8411 GB, free: 2.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01252/1.653, allocations: 5.784 MB / 0.8468 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.813e-05/1.653, allocations: 4 kB / 0.8468 GB, free: 13.14 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003285/1.657, allocations: 1.65 MB / 0.8484 GB, free: 11.62 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004413/1.661, allocations: 0.5212 MB / 0.8489 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03363/1.695, allocations: 12.6 MB / 0.8612 GB, free: 15.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008752/1.704, allocations: 5.237 MB / 0.8663 GB, free: 11.69 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008156/1.712, allocations: 2.795 MB / 0.8691 GB, free: 9.941 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001176/1.713, allocations: 371.4 kB / 0.8694 GB, free: 9.59 MB / 474.7 MB Notification: Performance of SimCode: time 1.062e-06/1.713, allocations: 0 / 0.8694 GB, free: 9.59 MB / 474.7 MB Notification: Performance of Templates: time 0.3724/2.085, allocations: 39.21 MB / 0.9077 GB, free: 129.9 MB / 490.7 MB 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)