Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008797/0.0008798, allocations: 88.42 kB / 16.31 MB, free: 6.449 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.00104/0.00104, allocations: 180.4 kB / 17.21 MB, free: 6.32 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.586/1.586, allocations: 205.4 MB / 223.4 MB, free: 5.742 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.000507/0.0005071, allocations: 12 kB / 280.1 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2806, allocations: 47.59 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002234/0.2829, allocations: 2.003 MB / 329.7 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007032/0.2836, allocations: 240 kB / 330 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002108/0.2839, allocations: 4.594 kB / 330 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.284, allocations: 32.11 kB / 330 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.2843, allocations: 65.47 kB / 330.1 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.2845, allocations: 45.78 kB / 330.1 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.2849, allocations: 272.5 kB / 330.4 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.2851, allocations: 75.27 kB / 330.5 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2853, allocations: 88.34 kB / 330.5 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2856, allocations: 99.8 kB / 330.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.2856, allocations: 12.62 kB / 330.6 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.2857, allocations: 13.28 kB / 330.7 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.2858, allocations: 42.11 kB / 330.7 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.2859, allocations: 75.23 kB / 330.8 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.2862, allocations: 217 kB / 331 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2862, allocations: 0 / 331 MB, free: 14.93 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2862, allocations: 0 / 331 MB, free: 14.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2862, allocations: 0 / 331 MB, free: 14.93 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009005/0.2871, allocations: 0.4999 MB / 331.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.2872, allocations: 9.188 kB / 331.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.2873, allocations: 30.62 kB / 331.5 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.2877, allocations: 246.2 kB / 331.8 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.2877, allocations: 21.77 kB / 331.8 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.2878, allocations: 32 kB / 331.8 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005178/0.2883, allocations: 238.2 kB / 332.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.2884, allocations: 1.094 kB / 332.1 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.2884, allocations: 10.31 kB / 332.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.2884, allocations: 5.938 kB / 332.1 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.2888, allocations: 160.2 kB / 332.2 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.2901, allocations: 0.7926 MB / 333 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.2906, allocations: 296.2 kB / 333.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.2909, allocations: 135.3 kB / 333.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.2909, allocations: 3.406 kB / 333.4 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.2909, allocations: 40.81 kB / 333.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.291, allocations: 1.438 kB / 333.5 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.003005/0.294, allocations: 1.939 MB / 335.4 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.2941, allocations: 112.1 kB / 335.5 MB, free: 11.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.2943, allocations: 187.7 kB / 335.7 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.2943, allocations: 34.77 kB / 335.7 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.2944, allocations: 133.9 kB / 335.9 MB, free: 10.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2946, allocations: 165.6 kB / 336 MB, free: 10.59 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.492e-05/0.2946, allocations: 5.031 kB / 336 MB, free: 10.58 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2947, allocations: 341.6 kB / 336.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2949, allocations: 95.42 kB / 336.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.2951, allocations: 161.8 kB / 336.6 MB, free: 10.06 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.2953, allocations: 111.8 kB / 336.7 MB, free: 9.953 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2953, allocations: 0 / 336.7 MB, free: 9.953 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004874/0.2958, allocations: 349.1 kB / 337.1 MB, free: 9.605 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2959, allocations: 8 kB / 337.1 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2959, allocations: 0.9375 kB / 337.1 MB, free: 9.598 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.2959, allocations: 4 kB / 337.1 MB, free: 9.594 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.2962, allocations: 95.84 kB / 337.2 MB, free: 9.5 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.2963, allocations: 3.984 kB / 337.2 MB, free: 9.496 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2964, allocations: 8 kB / 337.2 MB, free: 9.488 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2964, allocations: 16 kB / 337.2 MB, free: 9.473 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 54 * 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.0001451/0.2966, allocations: 153.8 kB / 337.4 MB, free: 9.312 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.2967, allocations: 27.72 kB / 337.4 MB, free: 9.285 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.804e-05/0.2968, allocations: 37.86 kB / 337.4 MB, free: 9.25 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2968, allocations: 4 kB / 337.4 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.2968, allocations: 7.938 kB / 337.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.2968, allocations: 0 / 337.4 MB, free: 9.238 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.2982, allocations: 1.066 MB / 338.5 MB, free: 8.086 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.2982, allocations: 11.94 kB / 338.5 MB, free: 8.074 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003442/0.2986, allocations: 83.95 kB / 338.6 MB, free: 7.992 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.2986, allocations: 7.984 kB / 338.6 MB, free: 7.984 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.2986, allocations: 12 kB / 338.6 MB, free: 7.973 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.2986, allocations: 7.938 kB / 338.6 MB, free: 7.965 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.2987, allocations: 12.27 kB / 338.6 MB, free: 7.953 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.2994, allocations: 0.7094 MB / 339.4 MB, free: 7.199 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2995, allocations: 112.7 kB / 339.5 MB, free: 7.07 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/0.2996, allocations: 8.062 kB / 339.5 MB, free: 7.062 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.2998, allocations: 12 kB / 339.5 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.2998, allocations: 35.91 kB / 339.5 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2999, allocations: 16 kB / 339.5 MB, free: 7 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.3, allocations: 132.5 kB / 339.7 MB, free: 6.871 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3, allocations: 3.938 kB / 339.7 MB, free: 6.867 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.3004, allocations: 72 kB / 339.7 MB, free: 6.797 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper2.s_rel,damper2.v_rel,damper1.s_rel,damper1.v_rel) * 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 (45): * Single equations (assignments): 45 * 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.0001458/0.3006, allocations: 115.1 kB / 339.8 MB, free: 6.676 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.000428/0.301, allocations: 262.1 kB / 340.1 MB, free: 6.422 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.301, allocations: 0 / 340.1 MB, free: 6.422 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.3012, allocations: 143.7 kB / 340.2 MB, free: 6.281 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.3019, allocations: 57 kB / 340.3 MB, free: 6.227 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.3035, allocations: 1.1 MB / 341.4 MB, free: 5.062 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3039, allocations: 0.7686 MB / 342.2 MB, free: 4.266 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.304, allocations: 34.97 kB / 342.2 MB, free: 4.234 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.3041, allocations: 27.44 kB / 342.2 MB, free: 4.207 MB / 270.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3041, allocations: 0 / 342.2 MB, free: 4.207 MB / 270.1 MB Notification: Performance of Templates: time 0.006454/0.3106, allocations: 2.701 MB / 344.9 MB, free: 1.508 MB / 270.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)