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.0009909/0.0009913, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.006321/0.006321, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.0007929/0.0007931, allocations: 15.98 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2726, allocations: 47.58 MB / 327 MB, free: 1.422 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.00246/0.2751, allocations: 2.101 MB / 329.1 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.000616/0.2758, allocations: 233.6 kB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2759, allocations: 11.97 kB / 329.4 MB, free: 15.54 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.2761, allocations: 29.17 kB / 329.4 MB, free: 15.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.2762, allocations: 71.67 kB / 329.5 MB, free: 15.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.2764, allocations: 50.06 kB / 329.5 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.2767, allocations: 278 kB / 329.8 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.2769, allocations: 85.52 kB / 329.9 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.2771, allocations: 91.78 kB / 330 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2772, allocations: 104.6 kB / 330.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.751e-05/0.2773, allocations: 11.78 kB / 330.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.482e-05/0.2773, allocations: 12.78 kB / 330.1 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.2774, allocations: 42.52 kB / 330.1 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.2776, allocations: 149.7 kB / 330.3 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.2778, allocations: 274.6 kB / 330.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2779, allocations: 0 / 330.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2779, allocations: 0.9375 kB / 330.5 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2779, allocations: 0 / 330.5 MB, free: 14.74 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.0007362/0.2786, allocations: 0.501 MB / 331 MB, free: 14.27 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2787, allocations: 9.875 kB / 331 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.492e-05/0.2787, allocations: 26.88 kB / 331.1 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.2791, allocations: 243.6 kB / 331.3 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.2791, allocations: 18.09 kB / 331.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.2792, allocations: 32.19 kB / 331.4 MB, free: 13.97 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004497/0.2796, allocations: 244.2 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.2797, allocations: 6.875 kB / 331.6 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.2797, allocations: 13.81 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2797, allocations: 5.906 kB / 331.6 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003115/0.28, allocations: 160.8 kB / 331.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.2812, allocations: 0.8003 MB / 332.6 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.2817, allocations: 290.3 kB / 332.9 MB, free: 12.83 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.282, allocations: 136.9 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.282, allocations: 3.094 kB / 333 MB, free: 12.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.2821, allocations: 40.69 kB / 333 MB, free: 12.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.683e-06/0.2821, allocations: 5.031 kB / 333 MB, free: 12.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.00308/0.2852, allocations: 1.954 MB / 335 MB, free: 10.92 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.2852, allocations: 106.8 kB / 335.1 MB, free: 10.79 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.2854, allocations: 183.2 kB / 335.3 MB, free: 10.59 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.2855, allocations: 37.7 kB / 335.3 MB, free: 10.55 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.722e-05/0.2856, allocations: 136.8 kB / 335.5 MB, free: 10.41 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.2857, allocations: 165.6 kB / 335.6 MB, free: 10.25 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.2857, allocations: 41.69 kB / 335.7 MB, free: 10.2 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.2859, allocations: 338.8 kB / 336 MB, free: 9.859 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.286, allocations: 92.83 kB / 336.1 MB, free: 9.77 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.2863, allocations: 158.3 kB / 336.2 MB, free: 9.594 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.2866, allocations: 281.9 kB / 336.5 MB, free: 9.297 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2867, allocations: 4 kB / 336.5 MB, free: 9.293 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000476/0.2871, allocations: 337.1 kB / 336.8 MB, free: 8.957 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.2872, allocations: 8.031 kB / 336.8 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2872, allocations: 8 kB / 336.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.2872, allocations: 0 / 336.9 MB, free: 8.941 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.2875, allocations: 91.89 kB / 336.9 MB, free: 8.852 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.2875, allocations: 4 kB / 337 MB, free: 8.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.2877, allocations: 12.94 kB / 337 MB, free: 8.836 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.2877, allocations: 12 kB / 337 MB, free: 8.824 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.000139/0.2878, allocations: 153.7 kB / 337.1 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.2879, allocations: 27.66 kB / 337.2 MB, free: 8.637 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.288, allocations: 45.86 kB / 337.2 MB, free: 8.594 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.288, allocations: 8 kB / 337.2 MB, free: 8.586 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.288, allocations: 0 / 337.2 MB, free: 8.586 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/0.2881, allocations: 7.969 kB / 337.2 MB, free: 8.578 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.2895, allocations: 1.062 MB / 338.3 MB, free: 7.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2895, allocations: 4 kB / 338.3 MB, free: 7.426 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.2898, allocations: 87.84 kB / 338.4 MB, free: 7.34 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.2899, allocations: 7.938 kB / 338.4 MB, free: 7.332 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.2899, allocations: 12 kB / 338.4 MB, free: 7.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.2899, allocations: 7.984 kB / 338.4 MB, free: 7.312 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.2899, allocations: 7.938 kB / 338.4 MB, free: 7.305 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.2907, allocations: 0.717 MB / 339.1 MB, free: 6.543 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.367e-05/0.2907, allocations: 104.9 kB / 339.2 MB, free: 6.422 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.144e-05/0.2908, allocations: 19.88 kB / 339.2 MB, free: 6.402 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.291, allocations: 8 kB / 339.2 MB, free: 6.395 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.2911, allocations: 27.97 kB / 339.3 MB, free: 6.367 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.607e-05/0.2911, allocations: 12 kB / 339.3 MB, free: 6.355 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.2912, allocations: 144.2 kB / 339.4 MB, free: 6.215 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2912, allocations: 0 / 339.4 MB, free: 6.215 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.2916, allocations: 79.94 kB / 339.5 MB, free: 6.137 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.0001238/0.2917, allocations: 111.1 kB / 339.6 MB, free: 6.02 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003985/0.2922, allocations: 261.9 kB / 339.9 MB, free: 5.766 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.2922, allocations: 4.188 kB / 339.9 MB, free: 5.762 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.2924, allocations: 143.7 kB / 340 MB, free: 5.621 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.2931, allocations: 59.97 kB / 340.1 MB, free: 5.562 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2946, allocations: 1.128 MB / 341.2 MB, free: 4.371 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.295, allocations: 0.7761 MB / 342 MB, free: 3.566 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001236/0.2951, allocations: 30.97 kB / 342 MB, free: 3.539 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.2952, allocations: 31.44 kB / 342 MB, free: 3.508 MB / 270.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2952, allocations: 3.938 kB / 342 MB, free: 3.504 MB / 270.1 MB Notification: Performance of Templates: time 0.005889/0.3011, allocations: 2.791 MB / 344.8 MB, free: 0.7148 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)