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.001209/0.001209, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001286/0.001286, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.637/1.637, allocations: 205.1 MB / 222 MB, free: 4.992 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.001187/0.001187, allocations: 55.91 kB / 278 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2684, allocations: 46.62 MB / 324.7 MB, free: 1.832 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.00394/0.2724, allocations: 2.459 MB / 327.1 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.2734, allocations: 0.6202 MB / 327.7 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.2736, allocations: 5.156 kB / 327.8 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2738, allocations: 27.02 kB / 327.8 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.274, allocations: 54.89 kB / 327.8 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.2743, allocations: 51.3 kB / 327.9 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002774/0.2745, allocations: 244 kB / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002033/0.2748, allocations: 79.25 kB / 328.2 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.2749, allocations: 85.62 kB / 328.3 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2751, allocations: 108.2 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.2751, allocations: 14.16 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.2752, allocations: 13.34 kB / 328.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.2752, allocations: 50.69 kB / 328.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.2754, allocations: 108.5 kB / 328.6 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.2756, allocations: 239.6 kB / 328.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2756, allocations: 0 / 328.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.2757, allocations: 1.344 kB / 328.8 MB, free: 14.68 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.2757, allocations: 3.938 kB / 328.8 MB, free: 14.68 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.0008705/0.2765, allocations: 0.5205 MB / 329.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.2766, allocations: 9.312 kB / 329.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.2767, allocations: 25.72 kB / 329.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.277, allocations: 243.7 kB / 329.6 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.277, allocations: 17.22 kB / 329.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.2771, allocations: 17.97 kB / 329.6 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.2776, allocations: 229.8 kB / 329.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2776, allocations: 1.375 kB / 329.9 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.2776, allocations: 5.438 kB / 329.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.2776, allocations: 5.969 kB / 329.9 MB, free: 13.74 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003369/0.278, allocations: 142.8 kB / 330 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/0.2793, allocations: 0.7976 MB / 330.8 MB, free: 12.97 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.2797, allocations: 199.6 kB / 331 MB, free: 12.85 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.28, allocations: 107.8 kB / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.2801, allocations: 2.375 kB / 331.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2801, allocations: 39.78 kB / 331.1 MB, free: 12.75 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.663e-06/0.2801, allocations: 1.156 kB / 331.2 MB, free: 12.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001715/0.2818, allocations: 0.8602 MB / 332 MB, free: 12.05 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.2819, allocations: 83.61 kB / 332.1 MB, free: 11.96 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2821, allocations: 179 kB / 332.3 MB, free: 11.82 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.2822, allocations: 31.17 kB / 332.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.2823, allocations: 141 kB / 332.4 MB, free: 11.65 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.2823, allocations: 90.28 kB / 332.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.2824, allocations: 50.55 kB / 332.6 MB, free: 11.53 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2826, allocations: 331 kB / 332.9 MB, free: 11.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2827, allocations: 64.38 kB / 333 MB, free: 11.18 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.2829, allocations: 106.3 kB / 333.1 MB, free: 11.1 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.2834, allocations: 196.5 kB / 333.3 MB, free: 10.97 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2834, allocations: 1.094 kB / 333.3 MB, free: 10.97 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004658/0.2839, allocations: 244 kB / 333.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.2839, allocations: 15.8 kB / 333.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2839, allocations: 2 kB / 333.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.284, allocations: 2.188 kB / 333.5 MB, free: 10.84 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.2842, allocations: 59.41 kB / 333.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.2843, allocations: 2.188 kB / 333.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2844, allocations: 13.72 kB / 333.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.2844, allocations: 10.78 kB / 333.6 MB, free: 10.81 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.0001274/0.2845, allocations: 147.9 kB / 333.7 MB, free: 10.67 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.2846, allocations: 26.72 kB / 333.8 MB, free: 10.65 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.2847, allocations: 25.19 kB / 333.8 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2847, allocations: 3.25 kB / 333.8 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2847, allocations: 1.062 kB / 333.8 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2847, allocations: 8.984 kB / 333.8 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.2856, allocations: 0.5797 MB / 334.4 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2856, allocations: 0 / 334.4 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.2858, allocations: 55.97 kB / 334.4 MB, free: 9.953 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2859, allocations: 11.92 kB / 334.5 MB, free: 9.941 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2859, allocations: 4 kB / 334.5 MB, free: 9.938 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.2859, allocations: 8 kB / 334.5 MB, free: 9.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.2859, allocations: 3.938 kB / 334.5 MB, free: 9.926 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007147/0.2866, allocations: 489.1 kB / 334.9 MB, free: 9.422 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.2867, allocations: 92.83 kB / 335 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.2868, allocations: 12.03 kB / 335 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.2869, allocations: 12 kB / 335.1 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.287, allocations: 23.98 kB / 335.1 MB, free: 9.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.2871, allocations: 12 kB / 335.1 MB, free: 9.254 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.2872, allocations: 129.5 kB / 335.2 MB, free: 9.129 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2872, allocations: 0 / 335.2 MB, free: 9.129 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.2875, allocations: 52 kB / 335.3 MB, free: 9.078 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.0001542/0.2877, allocations: 111.1 kB / 335.4 MB, free: 8.961 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004343/0.2881, allocations: 180 kB / 335.6 MB, free: 8.785 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2882, allocations: 0 / 335.6 MB, free: 8.785 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2884, allocations: 96.11 kB / 335.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005886/0.289, allocations: 40.3 kB / 335.7 MB, free: 8.652 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.2903, allocations: 0.7752 MB / 336.5 MB, free: 7.84 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2907, allocations: 0.752 MB / 337.2 MB, free: 7.062 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.86e-05/0.2908, allocations: 21.94 kB / 337.2 MB, free: 7.039 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/0.2908, allocations: 19.44 kB / 337.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2909, allocations: 0 / 337.3 MB, free: 7.02 MB / 270.1 MB Notification: Performance of Templates: time 0.005043/0.2959, allocations: 1.904 MB / 339.2 MB, free: 5.117 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)