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.001349/0.00135, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002029/0.002028, allocations: 193.6 kB / 16.25 MB, free: 6.629 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.501/1.501, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.001241/0.001241, allocations: 39.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 46.63 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003835/0.2977, allocations: 2.455 MB / 327.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.2982, allocations: 237.2 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.2984, allocations: 8.812 kB / 327.5 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001804/0.2986, allocations: 35.81 kB / 327.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.2988, allocations: 72.84 kB / 327.6 MB, free: 15.69 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.299, allocations: 46.42 kB / 327.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.2994, allocations: 289.7 kB / 328 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.2996, allocations: 97.56 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2998, allocations: 107.7 kB / 328.2 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.3, allocations: 123.5 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.3, allocations: 26.88 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.3001, allocations: 22.25 kB / 328.3 MB, free: 15.28 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.895e-05/0.3002, allocations: 47.19 kB / 328.4 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.3003, allocations: 135.8 kB / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.3007, allocations: 287.6 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.3007, allocations: 0 / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3007, allocations: 5.031 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3007, allocations: 4 kB / 328.8 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.0008801/0.3016, allocations: 0.5409 MB / 329.3 MB, free: 14.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.3017, allocations: 9.531 kB / 329.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.843e-05/0.3018, allocations: 26.72 kB / 329.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.3021, allocations: 251.2 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.3021, allocations: 22.06 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.009e-05/0.3022, allocations: 24.53 kB / 329.7 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.3027, allocations: 240.8 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.3027, allocations: 1.5 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.089e-05/0.3028, allocations: 14.53 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3028, allocations: 5.656 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.3031, allocations: 161.5 kB / 330.1 MB, free: 13.88 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.3043, allocations: 0.793 MB / 330.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.3048, allocations: 299.2 kB / 331.2 MB, free: 12.99 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.3051, allocations: 127.2 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3051, allocations: 7.375 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.3052, allocations: 40.66 kB / 331.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.3052, allocations: 1.094 kB / 331.3 MB, free: 12.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.002974/0.3082, allocations: 1.947 MB / 333.3 MB, free: 11.15 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.3082, allocations: 111.1 kB / 333.4 MB, free: 11.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.3085, allocations: 190.3 kB / 333.6 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.3085, allocations: 37.7 kB / 333.6 MB, free: 10.81 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3087, allocations: 136.7 kB / 333.8 MB, free: 10.67 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3088, allocations: 165.6 kB / 333.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3089, allocations: 74.12 kB / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.309, allocations: 338.8 kB / 334.3 MB, free: 10.09 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3092, allocations: 92.84 kB / 334.4 MB, free: 10 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.3094, allocations: 154.3 kB / 334.6 MB, free: 9.828 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3098, allocations: 283.1 kB / 334.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3098, allocations: 0 / 334.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000456/0.3102, allocations: 335.5 kB / 335.2 MB, free: 9.199 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3103, allocations: 7.938 kB / 335.2 MB, free: 9.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.3103, allocations: 4 kB / 335.2 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.3103, allocations: 4 kB / 335.2 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.3107, allocations: 91.84 kB / 335.3 MB, free: 9.094 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.3107, allocations: 4 kB / 335.3 MB, free: 9.09 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.3108, allocations: 20.03 kB / 335.3 MB, free: 9.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.3108, allocations: 19.98 kB / 335.3 MB, free: 9.051 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.0001797/0.311, allocations: 149.7 kB / 335.5 MB, free: 8.895 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.3111, allocations: 35.56 kB / 335.5 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.587e-05/0.3112, allocations: 33.88 kB / 335.5 MB, free: 8.828 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3112, allocations: 4 kB / 335.5 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/0.3113, allocations: 3.984 kB / 335.5 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3113, allocations: 4 kB / 335.5 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001568/0.3128, allocations: 1.051 MB / 336.6 MB, free: 7.68 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3129, allocations: 4 kB / 336.6 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/0.3133, allocations: 87.83 kB / 336.7 MB, free: 7.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.3133, allocations: 8.219 kB / 336.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.3133, allocations: 20.09 kB / 336.7 MB, free: 7.562 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.3134, allocations: 11.88 kB / 336.7 MB, free: 7.551 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3134, allocations: 4 kB / 336.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.3144, allocations: 0.7169 MB / 337.4 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.3145, allocations: 96.83 kB / 337.5 MB, free: 6.672 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.3146, allocations: 23.98 kB / 337.6 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.3148, allocations: 12 kB / 337.6 MB, free: 6.637 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3148, allocations: 27.91 kB / 337.6 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.356e-05/0.3149, allocations: 16 kB / 337.6 MB, free: 6.594 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.315, allocations: 140.2 kB / 337.8 MB, free: 6.457 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.315, allocations: 0 / 337.8 MB, free: 6.457 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.3155, allocations: 75.94 kB / 337.8 MB, free: 6.383 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.0002057/0.3157, allocations: 119.1 kB / 337.9 MB, free: 6.258 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005564/0.3163, allocations: 283.7 kB / 338.2 MB, free: 5.98 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3163, allocations: 0 / 338.2 MB, free: 5.98 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.3165, allocations: 143.7 kB / 338.4 MB, free: 5.84 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.3174, allocations: 77.12 kB / 338.4 MB, free: 5.766 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.319, allocations: 1.015 MB / 339.5 MB, free: 4.691 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.3194, allocations: 0.7759 MB / 340.2 MB, free: 3.883 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000133/0.3195, allocations: 30.95 kB / 340.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.3196, allocations: 31.38 kB / 340.3 MB, free: 3.828 MB / 270.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3196, allocations: 0 / 340.3 MB, free: 3.828 MB / 270.1 MB Notification: Performance of Templates: time 0.007103/0.3267, allocations: 2.963 MB / 343.2 MB, free: 0.8672 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)