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.0008414/0.0008414, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.000924/0.000924, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0005316/0.0005319, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2717, allocations: 47.59 MB / 326.5 MB, free: 1.613 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002295/0.2741, allocations: 2.013 MB / 328.5 MB, free: 28 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001176/0.2753, allocations: 0.5858 MB / 329.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.2754, allocations: 3.406 kB / 329.1 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.2756, allocations: 28.11 kB / 329.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2757, allocations: 59.28 kB / 329.2 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000232/0.276, allocations: 51.7 kB / 329.2 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002912/0.2763, allocations: 228.7 kB / 329.4 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001987/0.2765, allocations: 74.17 kB / 329.5 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.2766, allocations: 75 kB / 329.6 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.2768, allocations: 100.1 kB / 329.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.2768, allocations: 10.41 kB / 329.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-05/0.2769, allocations: 10.47 kB / 329.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.779e-05/0.2769, allocations: 34.22 kB / 329.7 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.277, allocations: 65.64 kB / 329.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.2772, allocations: 177.9 kB / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2772, allocations: 0 / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.2772, allocations: 0.8438 kB / 330 MB, free: 14.95 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.2772, allocations: 0 / 330 MB, free: 14.95 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.0007038/0.2779, allocations: 0.493 MB / 330.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.278, allocations: 9 kB / 330.5 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.931e-05/0.2781, allocations: 28.48 kB / 330.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002447/0.2783, allocations: 239.9 kB / 330.7 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.2783, allocations: 19.94 kB / 330.8 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.85e-05/0.2784, allocations: 22.03 kB / 330.8 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004383/0.2788, allocations: 227.9 kB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2789, allocations: 1.156 kB / 331 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.2789, allocations: 6.125 kB / 331 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.2789, allocations: 5.094 kB / 331 MB, free: 14.03 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.2793, allocations: 157.6 kB / 331.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2805, allocations: 0.795 MB / 332 MB, free: 13.27 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.281, allocations: 213.1 kB / 332.2 MB, free: 13.13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.2813, allocations: 111.1 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.2813, allocations: 1.75 kB / 332.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.2813, allocations: 40.42 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.462e-06/0.2813, allocations: 1.5 kB / 332.3 MB, free: 13.03 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001697/0.283, allocations: 0.8732 MB / 333.2 MB, free: 12.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2831, allocations: 92.41 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.2833, allocations: 181.7 kB / 333.5 MB, free: 12.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.2833, allocations: 27.08 kB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.527e-05/0.2834, allocations: 145.2 kB / 333.6 MB, free: 11.92 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.2835, allocations: 90.09 kB / 333.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.2835, allocations: 5.094 kB / 333.7 MB, free: 11.84 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.2836, allocations: 327.2 kB / 334 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2838, allocations: 69.88 kB / 334.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.284, allocations: 115.2 kB / 334.2 MB, free: 11.4 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.2841, allocations: 84.2 kB / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2842, allocations: 0 / 334.3 MB, free: 11.36 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004439/0.2846, allocations: 259.1 kB / 334.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.2846, allocations: 6.969 kB / 334.6 MB, free: 11.19 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2847, allocations: 12.05 kB / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2847, allocations: 0 / 334.6 MB, free: 11.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.2849, allocations: 63.91 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2849, allocations: 3.984 kB / 334.6 MB, free: 11.11 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2851, allocations: 12 kB / 334.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.2851, allocations: 12 kB / 334.7 MB, free: 11.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.2852, allocations: 133.7 kB / 334.8 MB, free: 10.95 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.2853, allocations: 23.81 kB / 334.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.271e-05/0.2853, allocations: 29.86 kB / 334.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2854, allocations: 7.953 kB / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2854, allocations: 0 / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.2854, allocations: 0 / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00078/0.2862, allocations: 0.5865 MB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.2862, allocations: 4 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.2864, allocations: 59.91 kB / 335.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.2865, allocations: 7.938 kB / 335.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.2865, allocations: 4 kB / 335.5 MB, free: 10.16 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.2865, allocations: 4.078 kB / 335.5 MB, free: 10.15 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.2865, allocations: 11.94 kB / 335.5 MB, free: 10.14 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.2871, allocations: 0.4892 MB / 336 MB, free: 9.625 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.2872, allocations: 92.92 kB / 336.1 MB, free: 9.516 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.135e-05/0.2872, allocations: 8 kB / 336.1 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/0.2874, allocations: 12.03 kB / 336.1 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.2875, allocations: 23.86 kB / 336.2 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.2875, allocations: 8 kB / 336.2 MB, free: 9.465 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.587e-05/0.2876, allocations: 137.5 kB / 336.3 MB, free: 9.332 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2876, allocations: 0 / 336.3 MB, free: 9.332 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.2879, allocations: 52 kB / 336.3 MB, free: 9.281 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 (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.0001056/0.288, allocations: 95.25 kB / 336.4 MB, free: 9.18 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.2884, allocations: 188 kB / 336.6 MB, free: 8.996 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.2884, allocations: 4 kB / 336.6 MB, free: 8.992 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.2886, allocations: 99.81 kB / 336.7 MB, free: 8.895 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.2891, allocations: 40.5 kB / 336.8 MB, free: 8.855 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2903, allocations: 0.8375 MB / 337.6 MB, free: 7.984 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.2909, allocations: 0.7523 MB / 338.4 MB, free: 7.207 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.873e-05/0.291, allocations: 17.95 kB / 338.4 MB, free: 7.184 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.291, allocations: 23.44 kB / 338.4 MB, free: 7.16 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.291, allocations: 0 / 338.4 MB, free: 7.16 MB / 270.1 MB Notification: Performance of Templates: time 0.005317/0.2964, allocations: 1.811 MB / 340.2 MB, free: 5.352 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)