Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.Oscillator") translateModel(Modelica.Mechanics.Translational.Examples.Oscillator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001167/0.001167, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001604/0.001604, allocations: 168.7 kB / 15.95 MB, free: 204 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.635/1.635, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.0004878/0.000488, allocations: 16 kB / 278.9 MB, free: 13.05 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2802, allocations: 47.58 MB / 326.5 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.002083/0.2823, allocations: 2.013 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009593/0.2833, allocations: 0.5893 MB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2834, allocations: 4.5 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.2835, allocations: 23.69 kB / 329.1 MB, free: 15.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.2837, allocations: 55.7 kB / 329.2 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.2839, allocations: 54.84 kB / 329.2 MB, free: 15.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.2842, allocations: 233.3 kB / 329.4 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002075/0.2844, allocations: 69.97 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.2845, allocations: 75.62 kB / 329.6 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.2847, allocations: 95.48 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.843e-05/0.2847, allocations: 9.781 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.248e-05/0.2847, allocations: 11.75 kB / 329.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.145e-05/0.2848, allocations: 41.36 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.006e-05/0.2849, allocations: 66.14 kB / 329.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.2851, allocations: 173.4 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.2851, allocations: 3.938 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2851, allocations: 1.156 kB / 330 MB, free: 14.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2851, allocations: 0 / 330 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.0008271/0.2859, allocations: 0.4968 MB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.286, allocations: 9.062 kB / 330.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.2861, allocations: 24.56 kB / 330.5 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.2864, allocations: 239.7 kB / 330.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2864, allocations: 16.12 kB / 330.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/0.2865, allocations: 25.06 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004827/0.287, allocations: 224.5 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.287, allocations: 1.219 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.2871, allocations: 6.344 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/0.2871, allocations: 4.406 kB / 331 MB, free: 13.82 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003643/0.2875, allocations: 157.7 kB / 331.2 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/0.2888, allocations: 0.7989 MB / 332 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.2892, allocations: 205.3 kB / 332.2 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.2895, allocations: 106.8 kB / 332.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.2895, allocations: 7.156 kB / 332.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.2896, allocations: 39.86 kB / 332.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.2896, allocations: 1.219 kB / 332.3 MB, free: 12.82 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001635/0.2912, allocations: 0.8693 MB / 333.2 MB, free: 12.13 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.2913, allocations: 84.98 kB / 333.3 MB, free: 12.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.2915, allocations: 185.3 kB / 333.5 MB, free: 11.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.2915, allocations: 26.83 kB / 333.5 MB, free: 11.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.2916, allocations: 145.6 kB / 333.6 MB, free: 11.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.343e-05/0.2917, allocations: 94.42 kB / 333.7 MB, free: 11.64 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.2917, allocations: 9.656 kB / 333.7 MB, free: 11.63 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.2918, allocations: 331.1 kB / 334 MB, free: 11.3 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.292, allocations: 70.09 kB / 334.1 MB, free: 11.27 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.2922, allocations: 109.4 kB / 334.2 MB, free: 11.19 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.2923, allocations: 85.27 kB / 334.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2923, allocations: 0 / 334.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004458/0.2928, allocations: 253.9 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2928, allocations: 7.375 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.2928, allocations: 6.484 kB / 334.6 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2929, allocations: 10.22 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.2931, allocations: 65.44 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.2932, allocations: 4.094 kB / 334.6 MB, free: 10.99 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.2933, allocations: 15.98 kB / 334.7 MB, free: 10.97 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2933, allocations: 4 kB / 334.7 MB, free: 10.97 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.0001203/0.2934, allocations: 141.7 kB / 334.8 MB, free: 10.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2935, allocations: 19.81 kB / 334.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.473e-05/0.2936, allocations: 29.86 kB / 334.8 MB, free: 10.77 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2936, allocations: 7.953 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2936, allocations: 0 / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.2936, allocations: 4 kB / 334.9 MB, free: 10.76 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.2944, allocations: 0.5903 MB / 335.5 MB, free: 10.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.2944, allocations: 0 / 335.5 MB, free: 10.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002617/0.2947, allocations: 63.91 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2947, allocations: 4 kB / 335.5 MB, free: 10.04 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.2947, allocations: 4 kB / 335.5 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2947, allocations: 4 kB / 335.5 MB, free: 10.03 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2947, allocations: 4.094 kB / 335.5 MB, free: 10.02 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.2954, allocations: 0.493 MB / 336 MB, free: 9.504 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.537e-05/0.2954, allocations: 101 kB / 336.1 MB, free: 9.387 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.2955, allocations: 4 kB / 336.1 MB, free: 9.383 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.2957, allocations: 8 kB / 336.1 MB, free: 9.375 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.2957, allocations: 19.97 kB / 336.2 MB, free: 9.355 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.2957, allocations: 12 kB / 336.2 MB, free: 9.344 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.309e-05/0.2958, allocations: 141.4 kB / 336.3 MB, free: 9.207 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2958, allocations: 0 / 336.3 MB, free: 9.207 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000332/0.2962, allocations: 48 kB / 336.3 MB, free: 9.16 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.0001111/0.2963, allocations: 99.25 kB / 336.4 MB, free: 9.055 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003692/0.2967, allocations: 188 kB / 336.6 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2967, allocations: 0 / 336.6 MB, free: 8.871 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.2969, allocations: 95.84 kB / 336.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.2974, allocations: 49 kB / 336.8 MB, free: 8.73 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.2986, allocations: 0.8412 MB / 337.6 MB, free: 7.855 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2989, allocations: 0.7484 MB / 338.4 MB, free: 7.082 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.728e-05/0.299, allocations: 25.92 kB / 338.4 MB, free: 7.051 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.299, allocations: 19.44 kB / 338.4 MB, free: 7.031 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.299, allocations: 0 / 338.4 MB, free: 7.031 MB / 270.1 MB Notification: Performance of Templates: time 0.004629/0.3037, allocations: 1.807 MB / 340.2 MB, free: 5.227 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Oscillator.pipe 2>&1)