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.001152/0.001152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00153/0.00153, allocations: 200 kB / 16.26 MB, free: 6.617 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.529/1.529, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.001194/0.001194, allocations: 56.39 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2789, allocations: 46.63 MB / 324.8 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00325/0.2822, allocations: 2.444 MB / 327.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005123/0.2827, allocations: 237.3 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2829, allocations: 7.906 kB / 327.5 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.2831, allocations: 28.42 kB / 327.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2832, allocations: 76.92 kB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.2834, allocations: 49.95 kB / 327.7 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003176/0.2837, allocations: 289.3 kB / 328 MB, free: 15.48 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.2839, allocations: 94.22 kB / 328.1 MB, free: 15.43 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.2841, allocations: 111 kB / 328.2 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2842, allocations: 116.8 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.82e-05/0.2843, allocations: 25.84 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.485e-05/0.2843, allocations: 22.25 kB / 328.3 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.2845, allocations: 55.66 kB / 328.4 MB, free: 15.24 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.2846, allocations: 135.7 kB / 328.5 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.285, allocations: 287.6 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.285, allocations: 3.938 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.285, allocations: 5.094 kB / 328.8 MB, free: 14.94 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2851, allocations: 0 / 328.8 MB, free: 14.94 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.0008109/0.2859, allocations: 0.533 MB / 329.3 MB, free: 14.44 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.2859, allocations: 13.58 kB / 329.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.497e-05/0.286, allocations: 30.78 kB / 329.4 MB, free: 14.42 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.2863, allocations: 247.9 kB / 329.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.2863, allocations: 22.25 kB / 329.6 MB, free: 14.15 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.535e-05/0.2864, allocations: 28.7 kB / 329.7 MB, free: 14.14 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.2869, allocations: 240.6 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.2869, allocations: 5.297 kB / 329.9 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.2869, allocations: 14.12 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2869, allocations: 6.5 kB / 329.9 MB, free: 13.96 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002724/0.2872, allocations: 157.1 kB / 330.1 MB, free: 13.89 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.2883, allocations: 0.8006 MB / 330.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.2888, allocations: 290.9 kB / 331.2 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/0.289, allocations: 135.3 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2891, allocations: 4.312 kB / 331.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2891, allocations: 36.56 kB / 331.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.463e-06/0.2891, allocations: 0 / 331.3 MB, free: 12.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.002832/0.2919, allocations: 1.944 MB / 333.3 MB, free: 11.16 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.122e-05/0.292, allocations: 111.3 kB / 333.4 MB, free: 11.03 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.2922, allocations: 191.4 kB / 333.6 MB, free: 10.85 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.2923, allocations: 29.7 kB / 333.6 MB, free: 10.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.2924, allocations: 148.7 kB / 333.8 MB, free: 10.66 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2925, allocations: 157.6 kB / 333.9 MB, free: 10.51 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.2926, allocations: 74.08 kB / 334 MB, free: 10.43 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.2928, allocations: 346.8 kB / 334.3 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.293, allocations: 88.84 kB / 334.4 MB, free: 9.996 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.2932, allocations: 154.3 kB / 334.6 MB, free: 9.824 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.2935, allocations: 278 kB / 334.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2936, allocations: 0 / 334.8 MB, free: 9.531 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004832/0.294, allocations: 340.6 kB / 335.2 MB, free: 9.195 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.2941, allocations: 7.938 kB / 335.2 MB, free: 9.188 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.2941, allocations: 7.984 kB / 335.2 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2941, allocations: 0 / 335.2 MB, free: 9.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.2944, allocations: 95.84 kB / 335.3 MB, free: 9.086 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.2945, allocations: 8.031 kB / 335.3 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2946, allocations: 12 kB / 335.3 MB, free: 9.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.373e-05/0.2946, allocations: 16 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.0001745/0.2948, allocations: 153.7 kB / 335.5 MB, free: 8.891 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.536e-05/0.2949, allocations: 31.56 kB / 335.5 MB, free: 8.859 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.704e-05/0.295, allocations: 37.88 kB / 335.5 MB, free: 8.824 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.295, allocations: 4 kB / 335.5 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/0.295, allocations: 0 / 335.5 MB, free: 8.82 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.295, allocations: 3.984 kB / 335.5 MB, free: 8.816 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.2966, allocations: 1.055 MB / 336.6 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2966, allocations: 0 / 336.6 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003445/0.2969, allocations: 95.83 kB / 336.7 MB, free: 7.582 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.297, allocations: 8.219 kB / 336.7 MB, free: 7.574 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.297, allocations: 19.94 kB / 336.7 MB, free: 7.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.297, allocations: 8 kB / 336.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.297, allocations: 0 / 336.7 MB, free: 7.547 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/0.2977, allocations: 0.7287 MB / 337.4 MB, free: 6.773 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.2978, allocations: 96.83 kB / 337.5 MB, free: 6.66 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2979, allocations: 12 kB / 337.6 MB, free: 6.648 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.2981, allocations: 19.98 kB / 337.6 MB, free: 6.629 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.2981, allocations: 31.91 kB / 337.6 MB, free: 6.598 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.2982, allocations: 16 kB / 337.6 MB, free: 6.582 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.837e-05/0.2983, allocations: 140.2 kB / 337.8 MB, free: 6.445 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2983, allocations: 0 / 337.8 MB, free: 6.445 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004103/0.2987, allocations: 75.94 kB / 337.8 MB, free: 6.371 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.0001402/0.2988, allocations: 119.3 kB / 337.9 MB, free: 6.246 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.2993, allocations: 279.6 kB / 338.2 MB, free: 5.973 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2993, allocations: 4 kB / 338.2 MB, free: 5.969 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.2996, allocations: 143.7 kB / 338.4 MB, free: 5.828 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008476/0.3004, allocations: 72.91 kB / 338.4 MB, free: 5.758 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.3021, allocations: 1.015 MB / 339.4 MB, free: 4.684 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005329/0.3027, allocations: 0.7758 MB / 340.2 MB, free: 3.875 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3028, allocations: 34.95 kB / 340.3 MB, free: 3.844 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.3029, allocations: 27.44 kB / 340.3 MB, free: 3.82 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3029, allocations: 4.188 kB / 340.3 MB, free: 3.816 MB / 270.1 MB Notification: Performance of Templates: time 0.006934/0.3099, allocations: 2.965 MB / 343.3 MB, free: 0.8516 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)