Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001072/0.001071, allocations: 86.72 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.001162/0.001163, 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.57/1.57, allocations: 205.4 MB / 222.1 MB, free: 5.625 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.000487/0.000487, allocations: 12 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3015, allocations: 47.59 MB / 326.5 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002764/0.3043, allocations: 2.009 MB / 328.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009789/0.3053, allocations: 234.6 kB / 328.7 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000397/0.3058, allocations: 7.031 kB / 328.7 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.306, allocations: 35.61 kB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.3064, allocations: 69.8 kB / 328.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3067, allocations: 43.84 kB / 328.9 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005065/0.3072, allocations: 268.2 kB / 329.1 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.3075, allocations: 76.11 kB / 329.2 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.3078, allocations: 87.81 kB / 329.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.308, allocations: 100.1 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.021e-05/0.3081, allocations: 12.62 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.367e-05/0.3082, allocations: 12.16 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.3083, allocations: 42.39 kB / 329.5 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.3084, allocations: 75.45 kB / 329.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.3087, allocations: 211.7 kB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3087, allocations: 1.469 kB / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3088, allocations: 0 / 329.7 MB, free: 14.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.471e-05/0.3088, allocations: 0 / 329.7 MB, free: 14.9 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.001075/0.3099, allocations: 0.5 MB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.3099, allocations: 8.469 kB / 330.2 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.31, allocations: 26.34 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.3104, allocations: 242.2 kB / 330.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3104, allocations: 25.39 kB / 330.5 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.3105, allocations: 28.34 kB / 330.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.311, allocations: 238.7 kB / 330.8 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.311, allocations: 4.781 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.3111, allocations: 10.41 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.3111, allocations: 6.438 kB / 330.8 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.3114, allocations: 159.5 kB / 331 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.3128, allocations: 0.8004 MB / 331.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006255/0.3134, allocations: 287.9 kB / 332.1 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/0.3137, allocations: 139.7 kB / 332.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3138, allocations: 7.328 kB / 332.2 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3138, allocations: 40.81 kB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.984e-06/0.3138, allocations: 1.094 kB / 332.2 MB, free: 12.86 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.003192/0.317, allocations: 1.938 MB / 334.2 MB, free: 11.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3171, allocations: 112.6 kB / 334.3 MB, free: 11.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3173, allocations: 183.4 kB / 334.5 MB, free: 10.87 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.3174, allocations: 39.69 kB / 334.5 MB, free: 10.83 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.3175, allocations: 130.5 kB / 334.6 MB, free: 10.7 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3176, allocations: 164.2 kB / 334.8 MB, free: 10.56 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.3176, allocations: 9 kB / 334.8 MB, free: 10.55 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.3178, allocations: 341.4 kB / 335.1 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/0.318, allocations: 91.12 kB / 335.2 MB, free: 10.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.3182, allocations: 154.8 kB / 335.4 MB, free: 10.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.3184, allocations: 119.8 kB / 335.5 MB, free: 9.902 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3184, allocations: 0 / 335.5 MB, free: 9.902 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006062/0.3191, allocations: 345.1 kB / 335.8 MB, free: 9.559 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.3191, allocations: 4 kB / 335.8 MB, free: 9.555 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3191, allocations: 4 kB / 335.8 MB, free: 9.551 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3191, allocations: 7.984 kB / 335.8 MB, free: 9.543 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.3195, allocations: 87.91 kB / 335.9 MB, free: 9.457 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3195, allocations: 7.938 kB / 335.9 MB, free: 9.449 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3196, allocations: 12.94 kB / 335.9 MB, free: 9.438 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.3196, allocations: 16.05 kB / 336 MB, free: 9.422 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.000196/0.3198, allocations: 153.8 kB / 336.1 MB, free: 9.262 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.3199, allocations: 35.69 kB / 336.1 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.32, allocations: 33.88 kB / 336.2 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.32, allocations: 4 kB / 336.2 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.3201, allocations: 0 / 336.2 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3201, allocations: 7.984 kB / 336.2 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.3215, allocations: 1.067 MB / 337.3 MB, free: 8.031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3215, allocations: 3.953 kB / 337.3 MB, free: 8.027 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.3219, allocations: 91.89 kB / 337.4 MB, free: 7.938 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3219, allocations: 4 kB / 337.4 MB, free: 7.934 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.3219, allocations: 12 kB / 337.4 MB, free: 7.922 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.322, allocations: 7.938 kB / 337.4 MB, free: 7.914 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.322, allocations: 8.281 kB / 337.4 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.3227, allocations: 0.7055 MB / 338.1 MB, free: 7.156 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.3228, allocations: 112.8 kB / 338.2 MB, free: 7.027 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.214e-05/0.3229, allocations: 8 kB / 338.2 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.3231, allocations: 12 kB / 338.2 MB, free: 7.008 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.931e-05/0.3231, allocations: 39.89 kB / 338.3 MB, free: 6.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.3232, allocations: 8 kB / 338.3 MB, free: 6.961 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.3233, allocations: 140.5 kB / 338.4 MB, free: 6.824 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3233, allocations: 0 / 338.4 MB, free: 6.824 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004188/0.3237, allocations: 72 kB / 338.5 MB, free: 6.754 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.0001557/0.3239, allocations: 115 kB / 338.6 MB, free: 6.633 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3243, allocations: 259.7 kB / 338.8 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3243, allocations: 0 / 338.8 MB, free: 6.379 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000201/0.3245, allocations: 143.8 kB / 339 MB, free: 6.238 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/0.3252, allocations: 67.11 kB / 339 MB, free: 6.176 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.327, allocations: 1.093 MB / 340.1 MB, free: 5.02 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.3274, allocations: 0.7762 MB / 340.9 MB, free: 4.215 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.3276, allocations: 42.94 kB / 341 MB, free: 4.176 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.458e-05/0.3277, allocations: 27.44 kB / 341 MB, free: 4.148 MB / 270.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3277, allocations: 0 / 341 MB, free: 4.148 MB / 270.1 MB Notification: Performance of Templates: time 0.006813/0.3345, allocations: 2.688 MB / 343.7 MB, free: 1.461 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)