Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001422/0.001422, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01016/0.01016, allocations: 171.4 kB / 16.27 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.616/1.616, allocations: 205.4 MB / 222.4 MB, free: 5.762 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.0004767/0.0004768, allocations: 19.98 kB / 279.4 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3045, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00231/0.3069, allocations: 2.088 MB / 329.1 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.3074, allocations: 243.7 kB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3075, allocations: 5.125 kB / 329.4 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.3077, allocations: 27.86 kB / 329.4 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001595/0.3078, allocations: 76.8 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001637/0.308, allocations: 41.78 kB / 329.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.3083, allocations: 282.2 kB / 329.8 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000196/0.3085, allocations: 80.61 kB / 329.9 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.3086, allocations: 92.14 kB / 329.9 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.3088, allocations: 111.8 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.408e-05/0.3088, allocations: 13.19 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.3089, allocations: 11.81 kB / 330.1 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.3089, allocations: 35.06 kB / 330.1 MB, free: 15.02 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.3091, allocations: 153.1 kB / 330.3 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3093, allocations: 267.3 kB / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3093, allocations: 0 / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3093, allocations: 0 / 330.5 MB, free: 14.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.309e-06/0.3094, allocations: 5.062 kB / 330.5 MB, free: 14.71 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.0007378/0.3101, allocations: 0.4976 MB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.3102, allocations: 12.64 kB / 331 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.3102, allocations: 31.19 kB / 331.1 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3105, allocations: 247.9 kB / 331.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.3106, allocations: 18.41 kB / 331.3 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.3107, allocations: 35.8 kB / 331.4 MB, free: 13.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.3111, allocations: 237.4 kB / 331.6 MB, free: 13.77 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.3111, allocations: 9.438 kB / 331.6 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.3111, allocations: 13.94 kB / 331.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.3111, allocations: 6.75 kB / 331.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002747/0.3114, allocations: 160.6 kB / 331.8 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00106/0.3125, allocations: 0.8 MB / 332.6 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.313, allocations: 290.2 kB / 332.9 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002283/0.3132, allocations: 133.1 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3133, allocations: 7.75 kB / 333 MB, free: 12.71 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.3133, allocations: 37.66 kB / 333 MB, free: 12.66 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.3133, allocations: 0 / 333 MB, free: 12.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.002561/0.3159, allocations: 1.941 MB / 335 MB, free: 10.95 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3159, allocations: 107.9 kB / 335.1 MB, free: 10.82 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.3161, allocations: 190.6 kB / 335.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.3162, allocations: 33.7 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.3162, allocations: 132.8 kB / 335.4 MB, free: 10.45 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.3164, allocations: 169.5 kB / 335.6 MB, free: 10.28 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/0.3164, allocations: 41.7 kB / 335.6 MB, free: 10.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.3166, allocations: 342.8 kB / 336 MB, free: 9.891 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.3167, allocations: 88.84 kB / 336.1 MB, free: 9.805 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.3169, allocations: 162.3 kB / 336.2 MB, free: 9.625 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003603/0.3173, allocations: 284.8 kB / 336.5 MB, free: 9.328 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3173, allocations: 3.984 kB / 336.5 MB, free: 9.324 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004566/0.3178, allocations: 333.1 kB / 336.8 MB, free: 8.992 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.3178, allocations: 11.94 kB / 336.8 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3178, allocations: 4 kB / 336.8 MB, free: 8.977 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.3178, allocations: 4 kB / 336.9 MB, free: 8.973 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.3181, allocations: 95.89 kB / 336.9 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3182, allocations: 4.094 kB / 336.9 MB, free: 8.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/0.3183, allocations: 8 kB / 337 MB, free: 8.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3183, allocations: 16 kB / 337 MB, free: 8.852 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001349/0.3184, allocations: 149.7 kB / 337.1 MB, free: 8.695 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.278e-05/0.3185, allocations: 35.64 kB / 337.2 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.112e-05/0.3186, allocations: 33.88 kB / 337.2 MB, free: 8.629 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3186, allocations: 4 kB / 337.2 MB, free: 8.625 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.321e-05/0.3186, allocations: 4 kB / 337.2 MB, free: 8.621 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.3186, allocations: 7.922 kB / 337.2 MB, free: 8.613 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.32, allocations: 1.062 MB / 338.3 MB, free: 7.465 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.32, allocations: 4 kB / 338.3 MB, free: 7.461 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003514/0.3204, allocations: 92.17 kB / 338.4 MB, free: 7.371 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.3204, allocations: 11.94 kB / 338.4 MB, free: 7.359 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.3204, allocations: 8 kB / 338.4 MB, free: 7.352 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.89e-06/0.3205, allocations: 4 kB / 338.4 MB, free: 7.348 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3205, allocations: 7.938 kB / 338.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.3212, allocations: 0.7169 MB / 339.1 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.463e-05/0.3213, allocations: 104.9 kB / 339.2 MB, free: 6.457 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.3213, allocations: 19.88 kB / 339.2 MB, free: 6.438 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.3215, allocations: 12 kB / 339.2 MB, free: 6.426 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3216, allocations: 35.98 kB / 339.3 MB, free: 6.391 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3216, allocations: 12 kB / 339.3 MB, free: 6.379 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.3217, allocations: 140.6 kB / 339.4 MB, free: 6.242 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.3217, allocations: 3.938 kB / 339.4 MB, free: 6.238 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004156/0.3222, allocations: 79.88 kB / 339.5 MB, free: 6.16 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 (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.0001294/0.3223, allocations: 111.1 kB / 339.6 MB, free: 6.043 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004264/0.3227, allocations: 257.9 kB / 339.9 MB, free: 5.793 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3227, allocations: 4 kB / 339.9 MB, free: 5.789 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.3229, allocations: 144.3 kB / 340 MB, free: 5.648 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.3237, allocations: 64.36 kB / 340.1 MB, free: 5.586 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.3251, allocations: 1.123 MB / 341.2 MB, free: 4.398 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.3256, allocations: 0.7761 MB / 342 MB, free: 3.594 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001302/0.3257, allocations: 34.95 kB / 342 MB, free: 3.562 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.216e-05/0.3258, allocations: 31.44 kB / 342 MB, free: 3.531 MB / 270.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3258, allocations: 0 / 342 MB, free: 3.531 MB / 270.1 MB Notification: Performance of Templates: time 0.006244/0.332, allocations: 2.795 MB / 344.8 MB, free: 0.7383 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)