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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 195.7 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 222.1 MB, free: 4.684 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 47.92 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.27, allocations: 46.63 MB / 324.8 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003012/0.2731, allocations: 2.452 MB / 327.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2741, allocations: 0.6204 MB / 327.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.2743, allocations: 4.469 kB / 327.9 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001677/0.2744, allocations: 26.72 kB / 327.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2746, allocations: 58.92 kB / 328 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2749, allocations: 56.12 kB / 328.1 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.2752, allocations: 246.2 kB / 328.3 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.2755, allocations: 96 kB / 328.4 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2756, allocations: 97.89 kB / 328.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.2758, allocations: 110.9 kB / 328.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.2759, allocations: 20.59 kB / 328.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.039e-05/0.2759, allocations: 20.25 kB / 328.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.276, allocations: 45.81 kB / 328.7 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.2761, allocations: 116.3 kB / 328.8 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.2764, allocations: 248 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2764, allocations: 0 / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2764, allocations: 1.188 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.2764, allocations: 4 kB / 329 MB, free: 14.73 MB / 270.1 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.0008084/0.2772, allocations: 0.5203 MB / 329.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.2773, allocations: 10.25 kB / 329.6 MB, free: 14.24 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.2774, allocations: 24.44 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.2776, allocations: 236.7 kB / 329.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.2776, allocations: 17.78 kB / 329.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.052e-05/0.2777, allocations: 29.48 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.2782, allocations: 221.9 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.2783, allocations: 1.062 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/0.2783, allocations: 10.12 kB / 330.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.2783, allocations: 9.406 kB / 330.1 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003196/0.2786, allocations: 142.2 kB / 330.2 MB, free: 13.73 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001134/0.2798, allocations: 0.7908 MB / 331 MB, free: 13.03 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000555/0.2803, allocations: 203.4 kB / 331.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.2806, allocations: 107.4 kB / 331.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2806, allocations: 2.719 kB / 331.3 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2806, allocations: 35.81 kB / 331.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.2807, allocations: 0 / 331.4 MB, free: 12.8 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001648/0.2823, allocations: 0.8696 MB / 332.2 MB, free: 12.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.2824, allocations: 80.42 kB / 332.3 MB, free: 12.01 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.2825, allocations: 183 kB / 332.5 MB, free: 11.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.2826, allocations: 31.17 kB / 332.5 MB, free: 11.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.2827, allocations: 141.1 kB / 332.7 MB, free: 11.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.2827, allocations: 94.25 kB / 332.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.2828, allocations: 45.77 kB / 332.8 MB, free: 11.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.283, allocations: 331.8 kB / 333.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.2831, allocations: 63.38 kB / 333.2 MB, free: 11.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.2833, allocations: 111.7 kB / 333.3 MB, free: 11.14 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.2838, allocations: 188.6 kB / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2838, allocations: 0 / 333.5 MB, free: 11.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004612/0.2842, allocations: 251.6 kB / 333.7 MB, free: 10.82 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.2843, allocations: 8 kB / 333.7 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.2843, allocations: 0 / 333.7 MB, free: 10.81 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/0.2843, allocations: 8 kB / 333.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.2846, allocations: 59.91 kB / 333.8 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.2846, allocations: 4.375 kB / 333.8 MB, free: 10.74 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001133/0.2847, allocations: 12 kB / 333.8 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.931e-05/0.2848, allocations: 8 kB / 333.8 MB, free: 10.72 MB / 270.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001704/0.2849, allocations: 145.8 kB / 334 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.78e-05/0.285, allocations: 23.72 kB / 334 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.551e-05/0.2851, allocations: 33.8 kB / 334 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.2851, allocations: 4 kB / 334 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.2851, allocations: 0 / 334 MB, free: 10.51 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2851, allocations: 4 kB / 334 MB, free: 10.5 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009491/0.2861, allocations: 0.5825 MB / 334.6 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.2861, allocations: 0 / 334.6 MB, free: 9.855 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002711/0.2864, allocations: 63.91 kB / 334.7 MB, free: 9.793 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.2864, allocations: 0 / 334.7 MB, free: 9.793 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.2864, allocations: 4 kB / 334.7 MB, free: 9.789 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.2864, allocations: 3.984 kB / 334.7 MB, free: 9.785 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.2865, allocations: 15.97 kB / 334.7 MB, free: 9.77 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.2872, allocations: 485 kB / 335.2 MB, free: 9.27 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.2873, allocations: 100.8 kB / 335.3 MB, free: 9.152 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.2873, allocations: 8 kB / 335.3 MB, free: 9.145 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.2875, allocations: 8.031 kB / 335.3 MB, free: 9.137 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.2876, allocations: 23.86 kB / 335.3 MB, free: 9.113 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.2876, allocations: 8 kB / 335.3 MB, free: 9.105 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.2878, allocations: 137.5 kB / 335.5 MB, free: 8.973 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2878, allocations: 0 / 335.5 MB, free: 8.973 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000365/0.2882, allocations: 48 kB / 335.5 MB, free: 8.926 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (damper1.s_rel,damper1.v_rel,mass1.s,mass1.v) * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001773/0.2883, allocations: 107.2 kB / 335.6 MB, free: 8.812 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.2888, allocations: 188.2 kB / 335.8 MB, free: 8.629 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2888, allocations: 3.938 kB / 335.8 MB, free: 8.625 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001793/0.289, allocations: 99.77 kB / 335.9 MB, free: 8.527 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.2896, allocations: 44.3 kB / 335.9 MB, free: 8.484 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2908, allocations: 0.7774 MB / 336.7 MB, free: 7.668 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2912, allocations: 0.7479 MB / 337.5 MB, free: 6.895 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.2914, allocations: 25.92 kB / 337.5 MB, free: 6.867 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.084e-05/0.2914, allocations: 19.44 kB / 337.5 MB, free: 6.848 MB / 270.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2914, allocations: 4 kB / 337.5 MB, free: 6.844 MB / 270.1 MB Notification: Performance of Templates: time 0.005262/0.2967, allocations: 1.979 MB / 339.5 MB, free: 4.867 MB / 270.1 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)