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.00135/0.00135, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001661/0.001661, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.596/1.596, allocations: 205.1 MB / 222 MB, free: 4.742 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.001652/0.001651, allocations: 47.92 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2854, allocations: 46.64 MB / 324.7 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003297/0.2887, allocations: 2.444 MB / 327.1 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.2892, allocations: 240.7 kB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2893, allocations: 4.25 kB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.2895, allocations: 32.89 kB / 327.4 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.2896, allocations: 68.86 kB / 327.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001618/0.2898, allocations: 49.48 kB / 327.5 MB, free: 15.65 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.2901, allocations: 282.4 kB / 327.8 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.2903, allocations: 80.66 kB / 327.9 MB, free: 15.44 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.2905, allocations: 101.9 kB / 328 MB, free: 15.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.2906, allocations: 112.8 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.2907, allocations: 14.72 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.694e-05/0.2907, allocations: 15.78 kB / 328.1 MB, free: 15.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.2908, allocations: 46.89 kB / 328.1 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.2909, allocations: 129.2 kB / 328.3 MB, free: 15.19 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.2912, allocations: 281.3 kB / 328.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.2912, allocations: 1.375 kB / 328.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2912, allocations: 0 / 328.5 MB, free: 14.98 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2913, allocations: 0 / 328.5 MB, free: 14.98 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.0009379/0.2922, allocations: 0.537 MB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.2922, allocations: 10.25 kB / 329.1 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.2923, allocations: 31.41 kB / 329.1 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.2926, allocations: 249.8 kB / 329.4 MB, free: 14.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.2926, allocations: 25.84 kB / 329.4 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.889e-05/0.2927, allocations: 25.41 kB / 329.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.2932, allocations: 240.2 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.2932, allocations: 5.406 kB / 329.7 MB, free: 14.01 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/0.2932, allocations: 14.28 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2932, allocations: 10.17 kB / 329.7 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003101/0.2936, allocations: 164.3 kB / 329.8 MB, free: 13.92 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2947, allocations: 0.7947 MB / 330.6 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.2953, allocations: 286.8 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.2956, allocations: 139.2 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.2956, allocations: 3.594 kB / 331.1 MB, free: 12.96 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.2957, allocations: 36.47 kB / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.2957, allocations: 0 / 331.1 MB, free: 12.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.003181/0.2989, allocations: 1.949 MB / 333 MB, free: 11.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.078e-05/0.299, allocations: 111 kB / 333.2 MB, free: 11.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.2992, allocations: 189.4 kB / 333.3 MB, free: 10.91 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.2993, allocations: 35.3 kB / 333.4 MB, free: 10.87 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.2994, allocations: 134.4 kB / 333.5 MB, free: 10.74 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001451/0.2996, allocations: 164.5 kB / 333.7 MB, free: 10.6 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.2997, allocations: 74.05 kB / 333.7 MB, free: 10.55 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.2999, allocations: 349.5 kB / 334.1 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001478/0.3, allocations: 86.12 kB / 334.2 MB, free: 10.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.3002, allocations: 158.3 kB / 334.3 MB, free: 9.945 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003706/0.3006, allocations: 277.9 kB / 334.6 MB, free: 9.652 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.3006, allocations: 3.984 kB / 334.6 MB, free: 9.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004444/0.3011, allocations: 333.1 kB / 334.9 MB, free: 9.316 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3011, allocations: 7.938 kB / 334.9 MB, free: 9.309 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3011, allocations: 4 kB / 334.9 MB, free: 9.305 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3011, allocations: 4 kB / 334.9 MB, free: 9.301 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.3015, allocations: 99.92 kB / 335 MB, free: 9.203 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.3015, allocations: 7.984 kB / 335 MB, free: 9.195 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.3016, allocations: 12 kB / 335 MB, free: 9.184 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.3016, allocations: 12 kB / 335.1 MB, free: 9.172 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.0001362/0.3018, allocations: 145.8 kB / 335.2 MB, free: 9.02 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.414e-05/0.3018, allocations: 39.55 kB / 335.2 MB, free: 8.98 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.489e-05/0.3019, allocations: 33.88 kB / 335.3 MB, free: 8.949 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.3019, allocations: 4 kB / 335.3 MB, free: 8.945 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3019, allocations: 7.938 kB / 335.3 MB, free: 8.938 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.302, allocations: 3.984 kB / 335.3 MB, free: 8.934 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.3034, allocations: 1.051 MB / 336.3 MB, free: 7.797 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3034, allocations: 0 / 336.3 MB, free: 7.797 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003547/0.3037, allocations: 96.17 kB / 336.4 MB, free: 7.703 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.3038, allocations: 7.938 kB / 336.4 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.923e-05/0.3038, allocations: 20 kB / 336.5 MB, free: 7.676 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.3038, allocations: 7.938 kB / 336.5 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3038, allocations: 0 / 336.5 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007999/0.3046, allocations: 0.7208 MB / 337.2 MB, free: 6.902 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.207e-05/0.3047, allocations: 104.8 kB / 337.3 MB, free: 6.781 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.3048, allocations: 16 kB / 337.3 MB, free: 6.766 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.305, allocations: 12 kB / 337.3 MB, free: 6.754 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/0.305, allocations: 31.89 kB / 337.4 MB, free: 6.723 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.3051, allocations: 16 kB / 337.4 MB, free: 6.707 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3052, allocations: 140.2 kB / 337.5 MB, free: 6.57 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3052, allocations: 0 / 337.5 MB, free: 6.57 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004177/0.3056, allocations: 80.03 kB / 337.6 MB, free: 6.492 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.0001227/0.3057, allocations: 115.1 kB / 337.7 MB, free: 6.371 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004035/0.3061, allocations: 262.1 kB / 338 MB, free: 6.117 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3061, allocations: 0 / 338 MB, free: 6.117 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3063, allocations: 144.7 kB / 338.1 MB, free: 5.977 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.3071, allocations: 68.17 kB / 338.2 MB, free: 5.91 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3087, allocations: 1.024 MB / 339.2 MB, free: 4.82 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.3091, allocations: 0.7723 MB / 340 MB, free: 4.02 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.3092, allocations: 34.95 kB / 340 MB, free: 3.988 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.298e-05/0.3093, allocations: 35.42 kB / 340 MB, free: 3.957 MB / 270.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3093, allocations: 0 / 340 MB, free: 3.957 MB / 270.1 MB Notification: Performance of Templates: time 0.006346/0.3157, allocations: 2.822 MB / 342.8 MB, free: 1.137 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)