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.001306/0.001306, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 195.2 kB / 16.53 MB, free: 6.391 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.439/1.439, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001915/0.001915, allocations: 59.86 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2771, allocations: 46.63 MB / 325.3 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Oscillator): time 0.003044/0.2802, allocations: 2.39 MB / 327.7 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.2812, allocations: 0.6245 MB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.2813, allocations: 3.781 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.2815, allocations: 43.02 kB / 328.4 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001299/0.2816, allocations: 67.67 kB / 328.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.2818, allocations: 55.3 kB / 328.5 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002755/0.2821, allocations: 262.4 kB / 328.8 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.2823, allocations: 95.95 kB / 328.8 MB, free: 15.07 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001483/0.2825, allocations: 93.69 kB / 328.9 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2826, allocations: 107.3 kB / 329 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.328e-05/0.2827, allocations: 20.75 kB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.997e-05/0.2827, allocations: 19.81 kB / 329.1 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.991e-05/0.2828, allocations: 54.02 kB / 329.1 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.2829, allocations: 116.9 kB / 329.2 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000296/0.2832, allocations: 255.1 kB / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2833, allocations: 1.156 kB / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2833, allocations: 0 / 329.5 MB, free: 14.64 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.2833, allocations: 0 / 329.5 MB, free: 14.64 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.0007841/0.2841, allocations: 0.5129 MB / 330 MB, free: 14.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2841, allocations: 9.625 kB / 330 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.798e-05/0.2842, allocations: 25.78 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2844, allocations: 239.3 kB / 330.3 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.2844, allocations: 17.59 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.2845, allocations: 21.69 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.2849, allocations: 226.5 kB / 330.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2849, allocations: 0 / 330.5 MB, free: 13.72 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.227e-05/0.285, allocations: 14.58 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.285, allocations: 5.031 kB / 330.6 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.2853, allocations: 138.9 kB / 330.7 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.2864, allocations: 0.7946 MB / 331.5 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/0.2868, allocations: 206.5 kB / 331.7 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.2871, allocations: 108.1 kB / 331.8 MB, free: 12.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2871, allocations: 5.375 kB / 331.8 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.2871, allocations: 45.62 kB / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=22): time 1.512e-06/0.2871, allocations: 0 / 331.8 MB, free: 12.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=26): time 0.001565/0.2887, allocations: 0.8511 MB / 332.7 MB, free: 12.02 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2888, allocations: 83.27 kB / 332.8 MB, free: 11.92 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2889, allocations: 183.7 kB / 333 MB, free: 11.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.2889, allocations: 26.98 kB / 333 MB, free: 11.75 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.744e-05/0.289, allocations: 141.5 kB / 333.1 MB, free: 11.61 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.2891, allocations: 88.91 kB / 333.2 MB, free: 11.54 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.306e-05/0.2892, allocations: 47.36 kB / 333.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2893, allocations: 331.6 kB / 333.6 MB, free: 11.17 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.2895, allocations: 66.94 kB / 333.6 MB, free: 11.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.2897, allocations: 111.8 kB / 333.8 MB, free: 11.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.29, allocations: 190.6 kB / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.29, allocations: 0 / 333.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004226/0.2905, allocations: 253.1 kB / 334.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.2905, allocations: 6.969 kB / 334.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.2905, allocations: 0 / 334.2 MB, free: 10.63 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2905, allocations: 4 kB / 334.2 MB, free: 10.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2908, allocations: 60 kB / 334.3 MB, free: 10.57 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.2908, allocations: 7.938 kB / 334.3 MB, free: 10.56 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2909, allocations: 12 kB / 334.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.291, allocations: 11.98 kB / 334.3 MB, free: 10.54 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.0001219/0.2911, allocations: 141.7 kB / 334.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.2912, allocations: 23.72 kB / 334.4 MB, free: 10.36 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.2912, allocations: 29.81 kB / 334.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2912, allocations: 0 / 334.5 MB, free: 10.33 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.2912, allocations: 7.938 kB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.2913, allocations: 7.984 kB / 334.5 MB, free: 10.32 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008058/0.2921, allocations: 0.5708 MB / 335.1 MB, free: 9.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2921, allocations: 7.984 kB / 335.1 MB, free: 9.672 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.2924, allocations: 64 kB / 335.1 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2924, allocations: 0 / 335.1 MB, free: 9.609 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.2924, allocations: 8 kB / 335.1 MB, free: 9.602 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2924, allocations: 4 kB / 335.1 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2924, allocations: 3.938 kB / 335.1 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000632/0.2931, allocations: 485.3 kB / 335.6 MB, free: 9.094 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.313e-05/0.2931, allocations: 96.83 kB / 335.7 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.2932, allocations: 15.97 kB / 335.7 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2933, allocations: 12 kB / 335.7 MB, free: 8.953 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.2934, allocations: 19.91 kB / 335.8 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.2934, allocations: 16 kB / 335.8 MB, free: 8.918 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.2935, allocations: 133.5 kB / 335.9 MB, free: 8.789 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2935, allocations: 0 / 335.9 MB, free: 8.789 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0003391/0.2939, allocations: 44 kB / 336 MB, free: 8.746 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.0001104/0.294, allocations: 111.2 kB / 336.1 MB, free: 8.629 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.2944, allocations: 188 kB / 336.2 MB, free: 8.445 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2944, allocations: 4.188 kB / 336.2 MB, free: 8.441 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.2947, allocations: 95.78 kB / 336.3 MB, free: 8.348 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.2952, allocations: 49.89 kB / 336.4 MB, free: 8.301 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2964, allocations: 0.6916 MB / 337.1 MB, free: 7.57 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.2967, allocations: 0.7518 MB / 337.8 MB, free: 6.793 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 9.188e-05/0.2968, allocations: 17.95 kB / 337.9 MB, free: 6.773 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.11e-05/0.2969, allocations: 23.44 kB / 337.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2969, allocations: 0 / 337.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of Templates: time 0.005024/0.3019, allocations: 2.024 MB / 339.9 MB, free: 4.727 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)