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.001181/0.001181, allocations: 187.7 kB / 8.352 MB, free: 0.707 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.391/1.391, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001728/0.001728, allocations: 115.9 kB / 248.1 MB, free: 6.328 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.341e-05/1.343e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08227, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2879/0.3702, allocations: 71.14 MB / 413.7 MB, free: 24.68 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001671/0.3704, allocations: 63.34 kB / 413.8 MB, free: 24.64 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.00891/0.3793, allocations: 4.016 MB / 417.8 MB, free: 21.4 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3794, allocations: 0 / 417.8 MB, free: 21.4 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3794, allocations: 4 kB / 417.8 MB, free: 21.4 MB / 315.1 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.0004629/0.3799, allocations: 496.2 kB / 418.3 MB, free: 20.89 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3799, allocations: 8.594 kB / 418.3 MB, free: 20.88 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.654e-05/0.38, allocations: 33 kB / 418.3 MB, free: 20.85 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3802, allocations: 226.2 kB / 418.5 MB, free: 20.6 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.3802, allocations: 8 kB / 418.5 MB, free: 20.59 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.3803, allocations: 15.88 kB / 418.6 MB, free: 20.58 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002338/0.3805, allocations: 139.4 kB / 418.7 MB, free: 20.49 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.3808, allocations: 205.9 kB / 418.9 MB, free: 20.32 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.3808, allocations: 7.891 kB / 418.9 MB, free: 20.31 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.3808, allocations: 7.953 kB / 418.9 MB, free: 20.3 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3808, allocations: 4 kB / 418.9 MB, free: 20.3 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007689/0.3816, allocations: 0.7422 MB / 419.7 MB, free: 19.62 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.382, allocations: 252.7 kB / 419.9 MB, free: 19.41 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.3822, allocations: 118.7 kB / 420 MB, free: 19.32 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3822, allocations: 11.94 kB / 420 MB, free: 19.31 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.3822, allocations: 46.38 kB / 420.1 MB, free: 19.26 MB / 315.1 MB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.3822, allocations: 0 / 420.1 MB, free: 19.26 MB / 315.1 MB Notification: Performance of matching and sorting (n=45): time 0.001637/0.3839, allocations: 1.73 MB / 421.8 MB, free: 17.45 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3839, allocations: 114.8 kB / 421.9 MB, free: 17.31 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.156e-05/0.384, allocations: 136.2 kB / 422.1 MB, free: 17.18 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.3841, allocations: 30.73 kB / 422.1 MB, free: 17.15 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.695e-05/0.3841, allocations: 143.3 kB / 422.2 MB, free: 17.02 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.3842, allocations: 157.6 kB / 422.4 MB, free: 16.89 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.15e-05/0.3842, allocations: 0 / 422.4 MB, free: 16.89 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.3843, allocations: 340.3 kB / 422.7 MB, free: 16.56 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3844, allocations: 77.75 kB / 422.8 MB, free: 16.52 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3845, allocations: 139.9 kB / 422.9 MB, free: 16.4 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.3846, allocations: 107.9 kB / 423 MB, free: 16.33 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3846, allocations: 0 / 423 MB, free: 16.33 MB / 315.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003231/0.385, allocations: 297.1 kB / 423.3 MB, free: 16.11 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.385, allocations: 7.984 kB / 423.3 MB, free: 16.1 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.385, allocations: 5.875 kB / 423.3 MB, free: 16.09 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.385, allocations: 8.094 kB / 423.3 MB, free: 16.09 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000292/0.3853, allocations: 87.97 kB / 423.4 MB, free: 16 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.543e-06/0.3853, allocations: 4 kB / 423.4 MB, free: 16 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.454e-05/0.3854, allocations: 4 kB / 423.4 MB, free: 16 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.3855, allocations: 10.5 kB / 423.4 MB, free: 15.99 MB / 315.1 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 () * 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 6.148e-05/0.3855, allocations: 132.6 kB / 423.6 MB, free: 15.86 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.3856, allocations: 23.72 kB / 423.6 MB, free: 15.83 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.585e-05/0.3857, allocations: 26.41 kB / 423.6 MB, free: 15.82 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3857, allocations: 8 kB / 423.6 MB, free: 15.81 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3857, allocations: 4 kB / 423.6 MB, free: 15.81 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3857, allocations: 3.984 kB / 423.6 MB, free: 15.8 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/0.3866, allocations: 0.9605 MB / 424.6 MB, free: 14.92 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3866, allocations: 12.23 kB / 424.6 MB, free: 14.91 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.387, allocations: 83.66 kB / 424.7 MB, free: 14.83 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.293e-06/0.387, allocations: 12.92 kB / 424.7 MB, free: 14.82 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.387, allocations: 4 kB / 424.7 MB, free: 14.81 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/0.387, allocations: 10.52 kB / 424.7 MB, free: 14.8 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.387, allocations: 4 kB / 424.7 MB, free: 14.8 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005583/0.3876, allocations: 0.8105 MB / 425.5 MB, free: 13.99 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.738e-05/0.3877, allocations: 100.8 kB / 425.6 MB, free: 13.88 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.3877, allocations: 10.81 kB / 425.6 MB, free: 13.87 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3879, allocations: 7.984 kB / 425.7 MB, free: 13.86 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3879, allocations: 30.84 kB / 425.7 MB, free: 13.84 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.388, allocations: 17.11 kB / 425.7 MB, free: 13.82 MB / 315.1 MB Notification: Performance of sorting global known variables: time 5.11e-05/0.388, allocations: 117.4 kB / 425.8 MB, free: 13.72 MB / 315.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.388, allocations: 0 / 425.8 MB, free: 13.72 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0003832/0.3884, allocations: 60 kB / 425.9 MB, free: 13.66 MB / 315.1 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 () * 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 9.417e-05/0.3885, allocations: 99.19 kB / 426 MB, free: 13.55 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.3888, allocations: 232.6 kB / 426.2 MB, free: 13.39 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3888, allocations: 0 / 426.2 MB, free: 13.39 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3889, allocations: 130 kB / 426.3 MB, free: 13.3 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.3894, allocations: 47.89 kB / 426.4 MB, free: 13.26 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009148/0.3903, allocations: 0.7709 MB / 427.1 MB, free: 12.5 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3905, allocations: 0.776 MB / 427.9 MB, free: 11.7 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 0.000107/0.3906, allocations: 35.25 kB / 428 MB, free: 11.67 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.3907, allocations: 27.44 kB / 428 MB, free: 11.64 MB / 315.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3907, allocations: 0 / 428 MB, free: 11.64 MB / 315.1 MB Notification: Performance of Templates: time 0.004486/0.3952, allocations: 2.513 MB / 430.5 MB, free: 9.188 MB / 315.1 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)