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.0008999/0.0008997, allocations: 86.09 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.0009303/0.0009303, 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.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0004686/0.000469, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2799, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002311/0.2822, allocations: 2.01 MB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004766/0.2827, allocations: 236.9 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.2829, allocations: 5.312 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.283, allocations: 35.83 kB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001361/0.2832, allocations: 64.53 kB / 328.8 MB, free: 15.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.2833, allocations: 43.02 kB / 328.9 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.2837, allocations: 271.5 kB / 329.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2839, allocations: 71.23 kB / 329.2 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.284, allocations: 89.81 kB / 329.3 MB, free: 15.25 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.2842, allocations: 103.4 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.2842, allocations: 11.75 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.926e-05/0.2843, allocations: 12.06 kB / 329.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.5e-05/0.2843, allocations: 47.66 kB / 329.5 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.962e-05/0.2844, allocations: 71.45 kB / 329.5 MB, free: 15.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2847, allocations: 208.4 kB / 329.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2847, allocations: 0 / 329.7 MB, free: 14.94 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.488e-06/0.2847, allocations: 3.984 kB / 329.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2847, allocations: 0 / 329.7 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.0008106/0.2855, allocations: 0.4995 MB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.2856, allocations: 10.28 kB / 330.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.369e-05/0.2856, allocations: 29.5 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.2859, allocations: 242.5 kB / 330.5 MB, free: 14.19 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.286, allocations: 21.86 kB / 330.5 MB, free: 14.18 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.355e-05/0.286, allocations: 28.31 kB / 330.6 MB, free: 14.17 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.2865, allocations: 246.2 kB / 330.8 MB, free: 14 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.2865, allocations: 5.125 kB / 330.8 MB, free: 13.99 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.2866, allocations: 14.33 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.2866, allocations: 6.375 kB / 330.8 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.2869, allocations: 151 kB / 331 MB, free: 13.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.288, allocations: 0.8015 MB / 331.8 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005391/0.2886, allocations: 292.1 kB / 332.1 MB, free: 13.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.2888, allocations: 130.8 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.117e-05/0.2889, allocations: 3.438 kB / 332.2 MB, free: 12.95 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.2889, allocations: 49.72 kB / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.2889, allocations: 0 / 332.2 MB, free: 12.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.00274/0.2917, allocations: 1.94 MB / 334.2 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.2917, allocations: 107.8 kB / 334.3 MB, free: 11.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.292, allocations: 191.4 kB / 334.5 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.732e-05/0.292, allocations: 30.77 kB / 334.5 MB, free: 10.86 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.678e-05/0.2921, allocations: 142.2 kB / 334.6 MB, free: 10.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2922, allocations: 161.2 kB / 334.8 MB, free: 10.58 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.669e-05/0.2922, allocations: 9.188 kB / 334.8 MB, free: 10.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2924, allocations: 341.4 kB / 335.1 MB, free: 10.24 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2926, allocations: 91.67 kB / 335.2 MB, free: 10.2 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001939/0.2928, allocations: 157.7 kB / 335.4 MB, free: 10.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.2929, allocations: 119.9 kB / 335.5 MB, free: 9.914 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.293, allocations: 0 / 335.5 MB, free: 9.914 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004921/0.2934, allocations: 337 kB / 335.8 MB, free: 9.578 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.2935, allocations: 8 kB / 335.8 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.2935, allocations: 0 / 335.8 MB, free: 9.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2935, allocations: 4.094 kB / 335.8 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.2938, allocations: 99.84 kB / 335.9 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.2939, allocations: 0 / 335.9 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.294, allocations: 15.98 kB / 335.9 MB, free: 9.453 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.294, allocations: 16 kB / 336 MB, free: 9.438 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.0001376/0.2941, allocations: 150.7 kB / 336.1 MB, free: 9.281 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.2942, allocations: 27.72 kB / 336.1 MB, free: 9.254 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.684e-05/0.2943, allocations: 33.88 kB / 336.2 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.2943, allocations: 7.984 kB / 336.2 MB, free: 9.215 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.2943, allocations: 8 kB / 336.2 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.2944, allocations: 0 / 336.2 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.2957, allocations: 1.066 MB / 337.3 MB, free: 8.055 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.2957, allocations: 8.234 kB / 337.3 MB, free: 8.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.2961, allocations: 87.89 kB / 337.3 MB, free: 7.961 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.2961, allocations: 4 kB / 337.4 MB, free: 7.957 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.2961, allocations: 16 kB / 337.4 MB, free: 7.941 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.2961, allocations: 11.92 kB / 337.4 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.2962, allocations: 4 kB / 337.4 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.2969, allocations: 0.7094 MB / 338.1 MB, free: 7.172 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.691e-05/0.297, allocations: 108.7 kB / 338.2 MB, free: 7.047 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.297, allocations: 16.05 kB / 338.2 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.2972, allocations: 12.12 kB / 338.2 MB, free: 7.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.2973, allocations: 31.91 kB / 338.3 MB, free: 6.988 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.2973, allocations: 16 kB / 338.3 MB, free: 6.973 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.2974, allocations: 132.5 kB / 338.4 MB, free: 6.844 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2974, allocations: 4 kB / 338.4 MB, free: 6.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004105/0.2979, allocations: 72 kB / 338.5 MB, free: 6.77 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.0001344/0.298, allocations: 119.3 kB / 338.6 MB, free: 6.645 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.2985, allocations: 267.6 kB / 338.9 MB, free: 6.383 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/0.2985, allocations: 0 / 338.9 MB, free: 6.383 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.2987, allocations: 144.3 kB / 339 MB, free: 6.242 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007629/0.2995, allocations: 62.38 kB / 339.1 MB, free: 6.184 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.301, allocations: 1.081 MB / 340.1 MB, free: 5.039 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3013, allocations: 0.7763 MB / 340.9 MB, free: 4.234 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.3014, allocations: 38.95 kB / 341 MB, free: 4.199 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.3015, allocations: 31.38 kB / 341 MB, free: 4.168 MB / 270.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3015, allocations: 0 / 341 MB, free: 4.168 MB / 270.1 MB Notification: Performance of Templates: time 0.006027/0.3076, allocations: 2.696 MB / 343.7 MB, free: 1.473 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)