Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.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.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001568/0.001568, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.347/1.347, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001661/0.001661, allocations: 99.52 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.817e-05, allocations: 3.984 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08304, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2809/0.364, allocations: 67.43 MB / 375.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.3642, allocations: 62.53 kB / 375.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009983/0.3742, allocations: 3.71 MB / 378.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3743, allocations: 0 / 378.8 MB, free: 5.621 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.477e-05/0.3743, allocations: 4 kB / 378.8 MB, free: 5.617 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005977/0.3749, allocations: 481.1 kB / 379.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.375, allocations: 18.44 kB / 379.3 MB, free: 5.098 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.01e-05/0.375, allocations: 23.72 kB / 379.3 MB, free: 5.074 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.3753, allocations: 228.3 kB / 379.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.3753, allocations: 18.95 kB / 379.6 MB, free: 4.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.29e-05/0.3754, allocations: 18.56 kB / 379.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003439/0.3757, allocations: 196.4 kB / 379.8 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.3757, allocations: 7.891 kB / 379.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.3758, allocations: 11.06 kB / 379.8 MB, free: 4.641 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-06/0.3758, allocations: 8 kB / 379.8 MB, free: 4.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.376, allocations: 128.4 kB / 380 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3773, allocations: 0.7975 MB / 380.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.3777, allocations: 191.2 kB / 380.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.3779, allocations: 94.08 kB / 381 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3779, allocations: 0 / 381 MB, free: 3.582 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.3779, allocations: 41.75 kB / 381.1 MB, free: 3.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.132e-06/0.3779, allocations: 11.88 kB / 381.1 MB, free: 3.523 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001265/0.3792, allocations: 0.767 MB / 381.8 MB, free: 2.762 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.3793, allocations: 81.11 kB / 381.9 MB, free: 2.664 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.3794, allocations: 163.7 kB / 382.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.3795, allocations: 29.7 kB / 382.1 MB, free: 2.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.504e-05/0.3796, allocations: 143.8 kB / 382.3 MB, free: 2.359 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.448e-05/0.3797, allocations: 93.73 kB / 382.3 MB, free: 2.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.3797, allocations: 6.5 kB / 382.4 MB, free: 2.277 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.3798, allocations: 330.4 kB / 382.7 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-05/0.3799, allocations: 53.06 kB / 382.7 MB, free: 1.922 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.38, allocations: 99.95 kB / 382.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3802, allocations: 75.89 kB / 382.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3802, allocations: 0 / 382.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003056/0.3805, allocations: 221 kB / 383.1 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.3805, allocations: 8 kB / 383.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3805, allocations: 0 / 383.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.3806, allocations: 4 kB / 383.1 MB, free: 1.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.3808, allocations: 64 kB / 383.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3808, allocations: 11.94 kB / 383.2 MB, free: 1.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.381, allocations: 14.12 kB / 383.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.381, allocations: 4 kB / 383.2 MB, free: 1.508 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.651e-05/0.3811, allocations: 119.1 kB / 383.3 MB, free: 1.395 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3811, allocations: 19.81 kB / 383.4 MB, free: 1.375 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.187e-05/0.3812, allocations: 29.83 kB / 383.4 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.3812, allocations: 8 kB / 383.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3812, allocations: 0 / 383.4 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3812, allocations: 3.953 kB / 383.4 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.382, allocations: 0.5814 MB / 384 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.3821, allocations: 7.969 kB / 384 MB, free: 0.7812 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/0.3823, allocations: 63.3 kB / 384 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3823, allocations: 0 / 384 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3824, allocations: 7.562 kB / 384.1 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3824, allocations: 4 kB / 384.1 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3824, allocations: 3.938 kB / 384.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.3829, allocations: 0.4944 MB / 384.6 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.492e-05/0.3831, allocations: 107.5 kB / 384.7 MB, free: 132 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.206e-05/0.3831, allocations: 7.812 kB / 384.7 MB, free: 128 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.3833, allocations: 15.88 kB / 384.7 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3833, allocations: 23.86 kB / 384.7 MB, free: 92 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.3833, allocations: 7.062 kB / 384.7 MB, free: 88 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001123/0.3835, allocations: 132.1 kB / 384.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3835, allocations: 0 / 384.8 MB, free: 15.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003054/0.3838, allocations: 53.31 kB / 384.9 MB, free: 15.93 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (mass1.s,mass1.v,damper1.s_rel,damper1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0001436/0.3839, allocations: 113 kB / 385 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3842, allocations: 159.8 kB / 385.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3842, allocations: 0 / 385.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.3844, allocations: 85.23 kB / 385.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.3847, allocations: 27.61 kB / 385.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009803/0.3857, allocations: 0.5531 MB / 385.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.3861, allocations: 0.756 MB / 386.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.122e-05/0.3861, allocations: 22.05 kB / 386.6 MB, free: 14.26 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.3862, allocations: 19.44 kB / 386.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3862, allocations: 4 kB / 386.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of Templates: time 0.00452/0.3907, allocations: 1.8 MB / 388.4 MB, free: 12.45 MB / 282.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)