Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.00134/0.00134, allocations: 89.41 kB / 16.31 MB, free: 5.668 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.001219/0.001219, allocations: 183.9 kB / 17.21 MB, free: 5.586 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.575/1.575, allocations: 205.4 MB / 223.4 MB, free: 5.535 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.0004768/0.0004768, allocations: 14.81 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 47.58 MB / 327.7 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002624/0.2807, allocations: 2.018 MB / 329.7 MB, free: 15.83 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2819, allocations: 0.5851 MB / 330.3 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.2821, allocations: 8.125 kB / 330.3 MB, free: 15.35 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.2822, allocations: 28.27 kB / 330.4 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.2823, allocations: 62.56 kB / 330.4 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.2826, allocations: 44.17 kB / 330.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003051/0.2829, allocations: 227.7 kB / 330.7 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2831, allocations: 79.27 kB / 330.8 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.2833, allocations: 82.64 kB / 330.8 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.2835, allocations: 91.39 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.514e-05/0.2835, allocations: 11.12 kB / 330.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.655e-05/0.2836, allocations: 10.69 kB / 331 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.875e-05/0.2836, allocations: 34.78 kB / 331 MB, free: 14.92 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.2837, allocations: 65.89 kB / 331.1 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.284, allocations: 181.1 kB / 331.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.284, allocations: 0 / 331.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.284, allocations: 4 kB / 331.2 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.284, allocations: 1.062 kB / 331.2 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.0007707/0.2848, allocations: 0.4887 MB / 331.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2848, allocations: 12.97 kB / 331.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.2849, allocations: 25.06 kB / 331.8 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.2852, allocations: 235.1 kB / 332 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.2852, allocations: 16.72 kB / 332 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/0.2852, allocations: 21.44 kB / 332 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004439/0.2857, allocations: 224.2 kB / 332.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2857, allocations: 1.094 kB / 332.3 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2857, allocations: 13.97 kB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2858, allocations: 4.438 kB / 332.3 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.2861, allocations: 150 kB / 332.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.2874, allocations: 0.803 MB / 333.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004559/0.2879, allocations: 204.5 kB / 333.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.2882, allocations: 111.9 kB / 333.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.2883, allocations: 1.906 kB / 333.5 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.2883, allocations: 40.88 kB / 333.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.2883, allocations: 0 / 333.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001766/0.2901, allocations: 0.8776 MB / 334.4 MB, free: 12.14 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.2901, allocations: 80.61 kB / 334.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.2903, allocations: 185.3 kB / 334.7 MB, free: 11.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.2904, allocations: 30.86 kB / 334.7 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.2905, allocations: 141.5 kB / 334.9 MB, free: 11.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/0.2906, allocations: 89.41 kB / 335 MB, free: 11.65 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.2906, allocations: 5.031 kB / 335 MB, free: 11.65 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2907, allocations: 332.6 kB / 335.3 MB, free: 11.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.2909, allocations: 69.2 kB / 335.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2911, allocations: 110.9 kB / 335.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.2913, allocations: 96.72 kB / 335.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2913, allocations: 0 / 335.6 MB, free: 11.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004632/0.2917, allocations: 248.9 kB / 335.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.2918, allocations: 5.812 kB / 335.8 MB, free: 11.03 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.2918, allocations: 8.875 kB / 335.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.2918, allocations: 2.438 kB / 335.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.2921, allocations: 64.5 kB / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2921, allocations: 0 / 335.9 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.2922, allocations: 15.94 kB / 335.9 MB, free: 10.96 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.819e-05/0.2922, allocations: 16.09 kB / 335.9 MB, free: 10.94 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.000136/0.2924, allocations: 137.8 kB / 336.1 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.2924, allocations: 19.81 kB / 336.1 MB, free: 10.78 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.2925, allocations: 25.88 kB / 336.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2925, allocations: 15.88 kB / 336.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.2925, allocations: 0 / 336.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2925, allocations: 7.984 kB / 336.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008189/0.2934, allocations: 0.5787 MB / 336.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2934, allocations: 4 kB / 336.7 MB, free: 10.08 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.2937, allocations: 64 kB / 336.8 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2937, allocations: 7.938 kB / 336.8 MB, free: 10.01 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.2937, allocations: 11.98 kB / 336.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2937, allocations: 0 / 336.8 MB, free: 9.996 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2937, allocations: 4 kB / 336.8 MB, free: 9.992 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006286/0.2943, allocations: 0.4969 MB / 337.3 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.2944, allocations: 88.92 kB / 337.4 MB, free: 9.363 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.2944, allocations: 8 kB / 337.4 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.2946, allocations: 20.03 kB / 337.4 MB, free: 9.336 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.2947, allocations: 11.98 kB / 337.4 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.2947, allocations: 11.98 kB / 337.4 MB, free: 9.312 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.565e-05/0.2948, allocations: 129.5 kB / 337.5 MB, free: 9.188 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2948, allocations: 0 / 337.5 MB, free: 9.188 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.2951, allocations: 52 kB / 337.6 MB, free: 9.137 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.0001193/0.2953, allocations: 99.19 kB / 337.7 MB, free: 9.031 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003802/0.2957, allocations: 188 kB / 337.9 MB, free: 8.848 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.2957, allocations: 7.938 kB / 337.9 MB, free: 8.84 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.2958, allocations: 96.27 kB / 338 MB, free: 8.746 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.2964, allocations: 40.12 kB / 338 MB, free: 8.707 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2976, allocations: 0.8336 MB / 338.9 MB, free: 7.84 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.2979, allocations: 0.7561 MB / 339.6 MB, free: 7.059 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.532e-05/0.298, allocations: 21.95 kB / 339.6 MB, free: 7.031 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.2981, allocations: 23.42 kB / 339.7 MB, free: 7.008 MB / 270.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2981, allocations: 0 / 339.7 MB, free: 7.008 MB / 270.1 MB Notification: Performance of Templates: time 0.004619/0.3027, allocations: 1.803 MB / 341.5 MB, free: 5.207 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)