Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001243/0.001242, allocations: 179.2 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.204/1.204, allocations: 194.5 MB / 211.6 MB, free: 3.062 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.001507/0.001507, allocations: 122.5 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 12 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09123/0.09162, allocations: 44.5 MB / 355.1 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2449/0.3366, allocations: 71.89 MB / 426.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.3368, allocations: 68.39 kB / 427 MB, free: 17.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008512/0.3453, allocations: 4.051 MB / 431.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3454, allocations: 0 / 431.1 MB, free: 14.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.3454, allocations: 5.781 kB / 431.1 MB, free: 14.27 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0004915/0.3459, allocations: 499.9 kB / 431.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.3459, allocations: 12.03 kB / 431.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.346, allocations: 35.58 kB / 431.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3462, allocations: 229.5 kB / 431.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/0.3462, allocations: 22.25 kB / 431.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.076e-05/0.3463, allocations: 23.44 kB / 431.9 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.3466, allocations: 244.8 kB / 432.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.3466, allocations: 0 / 432.1 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.3466, allocations: 11.44 kB / 432.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3466, allocations: 7.953 kB / 432.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.3469, allocations: 163.4 kB / 432.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.3476, allocations: 0.8071 MB / 433.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.3481, allocations: 281.3 kB / 433.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.3481, allocations: 8 kB / 433.4 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.3481, allocations: 38.19 kB / 433.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.3481, allocations: 0.5625 kB / 433.4 MB, free: 12.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.001962/0.3501, allocations: 1.958 MB / 435.4 MB, free: 10.17 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3501, allocations: 110.8 kB / 435.5 MB, free: 10.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3503, allocations: 169.5 kB / 435.6 MB, free: 9.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.3503, allocations: 29.45 kB / 435.7 MB, free: 9.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.683e-05/0.3503, allocations: 134.5 kB / 435.8 MB, free: 9.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.619e-05/0.3504, allocations: 167.8 kB / 436 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.3504, allocations: 10.81 kB / 436 MB, free: 9.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.256e-05/0.3505, allocations: 333.7 kB / 436.3 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.3506, allocations: 93.22 kB / 436.4 MB, free: 9.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.3507, allocations: 156.3 kB / 436.5 MB, free: 9.074 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.3509, allocations: 116 kB / 436.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3509, allocations: 1.031 kB / 436.7 MB, free: 9.016 MB / 314.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003803/0.3513, allocations: 343.4 kB / 437 MB, free: 8.766 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3513, allocations: 8 kB / 437 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3513, allocations: 0 / 437 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3513, allocations: 4 kB / 437 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002847/0.3516, allocations: 99.77 kB / 437.1 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.3517, allocations: 9.828 kB / 437.1 MB, free: 8.652 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.3518, allocations: 11.75 kB / 437.1 MB, free: 8.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3518, allocations: 11.75 kB / 437.1 MB, free: 8.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0001156/0.3519, allocations: 157.8 kB / 437.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.352, allocations: 23.72 kB / 437.3 MB, free: 8.477 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.972e-05/0.3521, allocations: 38.05 kB / 437.4 MB, free: 8.465 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3521, allocations: 8 kB / 437.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3521, allocations: 0 / 437.4 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.3521, allocations: 7.938 kB / 437.4 MB, free: 8.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.353, allocations: 1.054 MB / 438.4 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.353, allocations: 9.547 kB / 438.4 MB, free: 7.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.3534, allocations: 83.53 kB / 438.5 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.3534, allocations: 4 kB / 438.5 MB, free: 7.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3534, allocations: 14.38 kB / 438.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.3534, allocations: 11.92 kB / 438.5 MB, free: 7.391 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3534, allocations: 4 kB / 438.5 MB, free: 7.387 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.354, allocations: 0.8556 MB / 439.4 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.354, allocations: 100.8 kB / 439.5 MB, free: 6.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.354, allocations: 15.44 kB / 439.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3542, allocations: 10.5 kB / 439.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.211e-05/0.3543, allocations: 35.72 kB / 439.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.3543, allocations: 21.19 kB / 439.6 MB, free: 6.383 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.447e-05/0.3544, allocations: 131.1 kB / 439.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3544, allocations: 0 / 439.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00036/0.3547, allocations: 73.88 kB / 439.8 MB, free: 6.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001012/0.3549, allocations: 118 kB / 439.9 MB, free: 6.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003081/0.3552, allocations: 256.8 kB / 440.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3552, allocations: 4.188 kB / 440.2 MB, free: 5.902 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3553, allocations: 143.1 kB / 440.3 MB, free: 5.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3558, allocations: 46.83 kB / 440.3 MB, free: 5.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009939/0.3568, allocations: 1.101 MB / 441.4 MB, free: 4.691 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.3569, allocations: 0.7818 MB / 442.2 MB, free: 3.879 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001032/0.357, allocations: 30.97 kB / 442.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.3571, allocations: 27.44 kB / 442.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3571, allocations: 0 / 442.3 MB, free: 3.82 MB / 314.7 MB Notification: Performance of Templates: time 0.004392/0.3615, allocations: 2.647 MB / 444.9 MB, free: 1.234 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)