Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.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) 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(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007977/0.007977, allocations: 165.9 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.289/1.289, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001668/0.001668, allocations: 105.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003293, allocations: 8 kB / 274.1 MB, free: 10.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2379, allocations: 38.76 MB / 312.9 MB, free: 38.71 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08949/0.3274, allocations: 66.59 MB / 379.5 MB, free: 7.949 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.3277, allocations: 67.97 kB / 379.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01054/0.3383, allocations: 4.052 MB / 383.6 MB, free: 3.824 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3383, allocations: 0 / 383.6 MB, free: 3.824 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3384, allocations: 8 kB / 383.6 MB, free: 3.816 MB / 282.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.0006827/0.3391, allocations: 0.4951 MB / 384.1 MB, free: 3.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.3391, allocations: 8.031 kB / 384.1 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.725e-05/0.3392, allocations: 31.62 kB / 384.1 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3395, allocations: 235.5 kB / 384.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.3395, allocations: 16.56 kB / 384.4 MB, free: 2.941 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.926e-05/0.3395, allocations: 28 kB / 384.4 MB, free: 2.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.34, allocations: 239.5 kB / 384.6 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.34, allocations: 7.844 kB / 384.6 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.34, allocations: 15.98 kB / 384.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.34, allocations: 4 kB / 384.7 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.3403, allocations: 159.9 kB / 384.8 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.3414, allocations: 0.7972 MB / 385.6 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004824/0.3419, allocations: 301.1 kB / 385.9 MB, free: 1.305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3419, allocations: 4.438 kB / 385.9 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.3419, allocations: 42.56 kB / 386 MB, free: 1.25 MB / 282.7 MB Notification: Performance of pre-optimization done (n=33): time 3.046e-06/0.3419, allocations: 0 / 386 MB, free: 1.25 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.002671/0.3446, allocations: 1.951 MB / 387.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.3447, allocations: 110.8 kB / 388 MB, free: 14.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.3449, allocations: 174.2 kB / 388.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.823e-05/0.3449, allocations: 33.7 kB / 388.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.345, allocations: 144.8 kB / 388.4 MB, free: 14.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.3451, allocations: 161.6 kB / 388.5 MB, free: 14.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.535e-05/0.3451, allocations: 8 kB / 388.5 MB, free: 14.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3453, allocations: 338.8 kB / 388.9 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.3454, allocations: 92.83 kB / 388.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001998/0.3456, allocations: 154.3 kB / 389.1 MB, free: 13.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.3458, allocations: 112.5 kB / 389.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3458, allocations: 0 / 389.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004763/0.3463, allocations: 349.4 kB / 389.5 MB, free: 13.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3463, allocations: 4 kB / 389.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.3463, allocations: 4 kB / 389.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3464, allocations: 0 / 389.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/0.3467, allocations: 96 kB / 389.6 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3467, allocations: 4 kB / 389.7 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3468, allocations: 19.92 kB / 389.7 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.99e-05/0.3469, allocations: 12 kB / 389.7 MB, free: 13.19 MB / 298.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.0001453/0.347, allocations: 149.7 kB / 389.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.3471, allocations: 31.62 kB / 389.9 MB, free: 13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.593e-05/0.3472, allocations: 37.88 kB / 389.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.3472, allocations: 8.922 kB / 389.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.3472, allocations: 0 / 389.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3472, allocations: 4 kB / 389.9 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.3486, allocations: 1.049 MB / 391 MB, free: 11.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/0.3486, allocations: 8.047 kB / 391 MB, free: 11.81 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.349, allocations: 87.83 kB / 391.1 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.226e-06/0.349, allocations: 12.28 kB / 391.1 MB, free: 11.71 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.349, allocations: 12 kB / 391.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.349, allocations: 4 kB / 391.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.349, allocations: 7.938 kB / 391.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000856/0.3499, allocations: 0.8485 MB / 391.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.618e-05/0.35, allocations: 96.83 kB / 392 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.3501, allocations: 24.02 kB / 392.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.3503, allocations: 11.98 kB / 392.1 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.3504, allocations: 27.97 kB / 392.1 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/0.3504, allocations: 16.12 kB / 392.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.3505, allocations: 140.2 kB / 392.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3506, allocations: 0 / 392.2 MB, free: 10.4 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.351, allocations: 72 kB / 392.3 MB, free: 10.33 MB / 298.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.0002007/0.3513, allocations: 127.1 kB / 392.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.3518, allocations: 259.7 kB / 392.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3518, allocations: 0 / 392.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.352, allocations: 148.9 kB / 392.8 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/0.3526, allocations: 53.89 kB / 392.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.3543, allocations: 1.08 MB / 394 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3547, allocations: 0.7725 MB / 394.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001263/0.3548, allocations: 38.88 kB / 394.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.3549, allocations: 31.44 kB / 394.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.3549, allocations: 192 / 394.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of Templates: time 0.006328/0.3613, allocations: 2.643 MB / 397.5 MB, free: 5.105 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)