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.001388/0.001388, allocations: 171.3 kB / 7.638 MB, free: 1.418 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.334/1.334, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001606/0.001605, allocations: 107.4 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.472e-05/1.476e-05, allocations: 4 kB / 262.2 MB, free: 26.4 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06646/0.06649, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2442/0.3107, allocations: 66.77 MB / 367.7 MB, free: 1.629 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001469/0.3109, allocations: 67.16 kB / 367.8 MB, free: 1.598 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009222/0.3201, allocations: 3.675 MB / 371.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3202, allocations: 0 / 371.5 MB, free: 14.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.3202, allocations: 8 kB / 371.5 MB, free: 14.55 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.0005949/0.3208, allocations: 480.3 kB / 372 MB, free: 14.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3208, allocations: 8.031 kB / 372 MB, free: 14.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.3209, allocations: 27.72 kB / 372 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.3212, allocations: 224.6 kB / 372.2 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3212, allocations: 11.95 kB / 372.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.3212, allocations: 15.98 kB / 372.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002316/0.3215, allocations: 106.2 kB / 372.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3218, allocations: 176.3 kB / 372.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.3218, allocations: 3.906 kB / 372.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3218, allocations: 0 / 372.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.3218, allocations: 4 kB / 372.5 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.323, allocations: 0.7625 MB / 373.3 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.3233, allocations: 175.2 kB / 373.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3235, allocations: 89.27 kB / 373.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3235, allocations: 7.938 kB / 373.6 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.3235, allocations: 30.56 kB / 373.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.084e-06/0.3235, allocations: 4 kB / 373.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.001085/0.3246, allocations: 0.7134 MB / 374.3 MB, free: 11.83 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.3247, allocations: 81.11 kB / 374.4 MB, free: 11.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3248, allocations: 146.6 kB / 374.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.3249, allocations: 25.7 kB / 374.6 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.418e-05/0.325, allocations: 138.1 kB / 374.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.3251, allocations: 92.53 kB / 374.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-06/0.3251, allocations: 4 kB / 374.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3252, allocations: 325.3 kB / 375.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.3253, allocations: 51.73 kB / 375.2 MB, free: 11.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3254, allocations: 95.08 kB / 375.2 MB, free: 10.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.3255, allocations: 55.59 kB / 375.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.3255, allocations: 4 kB / 375.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002834/0.3258, allocations: 203.6 kB / 375.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3259, allocations: 4 kB / 375.5 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3259, allocations: 4 kB / 375.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3259, allocations: 0 / 375.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.3262, allocations: 69.23 kB / 375.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3262, allocations: 4.141 kB / 375.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.3263, allocations: 19.95 kB / 375.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.535e-05/0.3263, allocations: 4 kB / 375.6 MB, free: 10.62 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 9.975e-05/0.3264, allocations: 112.9 kB / 375.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.3265, allocations: 15.81 kB / 375.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.036e-05/0.3266, allocations: 29.2 kB / 375.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.3266, allocations: 4 kB / 375.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3266, allocations: 0 / 375.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3266, allocations: 0 / 375.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.3273, allocations: 0.5227 MB / 376.3 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3273, allocations: 4 kB / 376.3 MB, free: 9.977 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.3276, allocations: 55.91 kB / 376.3 MB, free: 9.922 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3276, allocations: 8.094 kB / 376.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3276, allocations: 3.984 kB / 376.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.3276, allocations: 11.94 kB / 376.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3276, allocations: 0 / 376.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004809/0.3281, allocations: 0.4899 MB / 376.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/0.3282, allocations: 107.9 kB / 377 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/0.3282, allocations: 4 kB / 377 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.3284, allocations: 11.92 kB / 377 MB, free: 9.301 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3285, allocations: 19.67 kB / 377 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3285, allocations: 11.95 kB / 377 MB, free: 9.273 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.531e-05/0.3286, allocations: 114.1 kB / 377.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3286, allocations: 0 / 377.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003208/0.3289, allocations: 40 kB / 377.2 MB, free: 9.133 MB / 266.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.0001311/0.329, allocations: 106.4 kB / 377.3 MB, free: 9.023 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002443/0.3293, allocations: 148.2 kB / 377.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3293, allocations: 192 / 377.4 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3294, allocations: 79.62 kB / 377.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3298, allocations: 23.66 kB / 377.5 MB, free: 8.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.3307, allocations: 0.5354 MB / 378 MB, free: 8.301 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3311, allocations: 0.7479 MB / 378.8 MB, free: 7.527 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.3312, allocations: 22.06 kB / 378.8 MB, free: 7.508 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.26e-05/0.3312, allocations: 19.44 kB / 378.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3312, allocations: 448 / 378.8 MB, free: 7.488 MB / 266.7 MB Notification: Performance of Templates: time 0.004096/0.3353, allocations: 1.673 MB / 380.5 MB, free: 5.828 MB / 266.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)