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.001705/0.001706, 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.002372/0.002372, 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.548/1.548, allocations: 205.1 MB / 222 MB, free: 4.754 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.00112/0.00112, allocations: 44.31 kB / 278 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.307, allocations: 46.63 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.004127/0.3112, allocations: 2.447 MB / 327.1 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007362/0.312, allocations: 244.8 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001685/0.3122, allocations: 9.312 kB / 327.4 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.3124, allocations: 31.61 kB / 327.4 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3126, allocations: 77.17 kB / 327.5 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002278/0.3129, allocations: 42 kB / 327.5 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.3133, allocations: 281.6 kB / 327.8 MB, free: 15.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00028/0.3136, allocations: 76.91 kB / 327.9 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/0.3138, allocations: 102.4 kB / 328 MB, free: 15.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.314, allocations: 112 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.314, allocations: 14.91 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.975e-05/0.3141, allocations: 20.25 kB / 328.1 MB, free: 15.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.3142, allocations: 43 kB / 328.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.3144, allocations: 132.2 kB / 328.3 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.3148, allocations: 270.6 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.3148, allocations: 4 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3149, allocations: 0 / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3149, allocations: 1.438 kB / 328.5 MB, free: 15.01 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.001187/0.3161, allocations: 0.537 MB / 329.1 MB, free: 14.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.192e-05/0.3161, allocations: 12.12 kB / 329.1 MB, free: 14.5 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.624e-05/0.3163, allocations: 28.31 kB / 329.1 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.3167, allocations: 246.9 kB / 329.4 MB, free: 14.23 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.3167, allocations: 22.25 kB / 329.4 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-05/0.3168, allocations: 29.38 kB / 329.4 MB, free: 14.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.3175, allocations: 244 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.3176, allocations: 1.344 kB / 329.7 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.3176, allocations: 18.03 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3176, allocations: 10.52 kB / 329.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.3181, allocations: 156.4 kB / 329.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.3197, allocations: 0.7981 MB / 330.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007545/0.3205, allocations: 294.2 kB / 330.9 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.3209, allocations: 131.8 kB / 331 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.3209, allocations: 8 kB / 331.1 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.3209, allocations: 40.03 kB / 331.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.934e-06/0.321, allocations: 0 / 331.1 MB, free: 12.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.004015/0.325, allocations: 1.949 MB / 333 MB, free: 11.21 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.786e-05/0.3251, allocations: 108.1 kB / 333.1 MB, free: 11.09 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.3254, allocations: 192.9 kB / 333.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.3255, allocations: 31.39 kB / 333.4 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.3256, allocations: 141.7 kB / 333.5 MB, free: 10.76 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.3258, allocations: 161.6 kB / 333.7 MB, free: 10.62 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001544/0.326, allocations: 73.66 kB / 333.7 MB, free: 10.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3262, allocations: 339.7 kB / 334.1 MB, free: 10.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3264, allocations: 92.83 kB / 334.2 MB, free: 10.14 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.3267, allocations: 158.3 kB / 334.3 MB, free: 9.965 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.3272, allocations: 273.9 kB / 334.6 MB, free: 9.676 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.3272, allocations: 7.938 kB / 334.6 MB, free: 9.668 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008147/0.3281, allocations: 337.1 kB / 334.9 MB, free: 9.332 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.3281, allocations: 7.938 kB / 334.9 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3281, allocations: 0 / 334.9 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.3281, allocations: 4 kB / 334.9 MB, free: 9.32 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.3287, allocations: 95.83 kB / 335 MB, free: 9.227 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.3287, allocations: 4 kB / 335 MB, free: 9.223 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.3289, allocations: 12 kB / 335 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/0.3289, allocations: 12 kB / 335 MB, free: 9.199 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.0002183/0.3291, allocations: 157.8 kB / 335.2 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.3293, allocations: 31.56 kB / 335.2 MB, free: 9.004 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.812e-05/0.3294, allocations: 37.86 kB / 335.3 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.3294, allocations: 8 kB / 335.3 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/0.3295, allocations: 3.938 kB / 335.3 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.3295, allocations: 0 / 335.3 MB, free: 8.957 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/0.3316, allocations: 1.055 MB / 336.3 MB, free: 7.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3317, allocations: 4 kB / 336.3 MB, free: 7.812 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/0.3322, allocations: 91.84 kB / 336.4 MB, free: 7.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.3323, allocations: 7.938 kB / 336.4 MB, free: 7.715 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.3323, allocations: 8 kB / 336.4 MB, free: 7.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.3323, allocations: 7.984 kB / 336.5 MB, free: 7.699 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.3323, allocations: 4.281 kB / 336.5 MB, free: 7.695 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3335, allocations: 0.7169 MB / 337.2 MB, free: 6.934 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.3337, allocations: 112.8 kB / 337.3 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.3337, allocations: 12.06 kB / 337.3 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.3341, allocations: 12 kB / 337.3 MB, free: 6.781 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3342, allocations: 39.91 kB / 337.3 MB, free: 6.742 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.3343, allocations: 12 kB / 337.4 MB, free: 6.73 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.3345, allocations: 140.2 kB / 337.5 MB, free: 6.594 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3345, allocations: 0 / 337.5 MB, free: 6.594 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0007837/0.3353, allocations: 79.94 kB / 337.6 MB, free: 6.516 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.0002242/0.3355, allocations: 119.1 kB / 337.7 MB, free: 6.391 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0007164/0.3363, allocations: 266.2 kB / 338 MB, free: 6.133 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3363, allocations: 96 / 338 MB, free: 6.133 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003022/0.3366, allocations: 147.8 kB / 338.1 MB, free: 5.988 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.3379, allocations: 60.94 kB / 338.2 MB, free: 5.93 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.3404, allocations: 1.02 MB / 339.2 MB, free: 4.844 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005669/0.341, allocations: 0.7723 MB / 339.9 MB, free: 4.043 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001982/0.3412, allocations: 34.95 kB / 340 MB, free: 4.012 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3413, allocations: 27.44 kB / 340 MB, free: 3.988 MB / 270.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3413, allocations: 0 / 340 MB, free: 3.988 MB / 270.1 MB Notification: Performance of Templates: time 0.009883/0.3512, allocations: 2.837 MB / 342.8 MB, free: 1.152 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)