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.007651/0.007657, allocations: 99.61 kB / 15.73 MB, free: 6.055 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.001203/0.001203, allocations: 199.2 kB / 16.68 MB, free: 5.984 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.542/1.542, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001373/0.001373, allocations: 56.39 kB / 326.5 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1067, allocations: 46.62 MB / 373.2 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.005546/0.1123, allocations: 2.4 MB / 375.6 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.1134, allocations: 235.1 kB / 375.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003581/0.1138, allocations: 11.94 kB / 375.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.1141, allocations: 47.56 kB / 375.8 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004102/0.1145, allocations: 79.28 kB / 375.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1148, allocations: 55.92 kB / 376 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1153, allocations: 298.6 kB / 376.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002755/0.1156, allocations: 101.7 kB / 376.4 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1158, allocations: 115.6 kB / 376.5 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.116, allocations: 111.5 kB / 376.6 MB, free: 1.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.198e-05/0.1161, allocations: 24 kB / 376.6 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.301e-05/0.1161, allocations: 20 kB / 376.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.1162, allocations: 59.77 kB / 376.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.1164, allocations: 131.3 kB / 376.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004409/0.1168, allocations: 287 kB / 377.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.1169, allocations: 4 kB / 377.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.512e-06/0.1169, allocations: 0 / 377.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.1169, allocations: 3.938 kB / 377.1 MB, free: 0.6094 MB / 318.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.001053/0.1179, allocations: 0.5458 MB / 377.6 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.118, allocations: 8.031 kB / 377.7 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2304/0.3484, allocations: 30.52 kB / 377.7 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3489, allocations: 243.3 kB / 377.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.3489, allocations: 17.81 kB / 377.9 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.349, allocations: 25.33 kB / 378 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005177/0.3495, allocations: 245.9 kB / 378.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.3496, allocations: 6.172 kB / 378.2 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.3496, allocations: 13.81 kB / 378.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.3496, allocations: 6.875 kB / 378.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.35, allocations: 160.7 kB / 378.4 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.3513, allocations: 0.7993 MB / 379.2 MB, free: 12.42 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.3519, allocations: 289.2 kB / 379.5 MB, free: 12.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.3521, allocations: 135.4 kB / 379.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.234e-05/0.3522, allocations: 4.125 kB / 379.6 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.3522, allocations: 37.48 kB / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.515e-06/0.3522, allocations: 3.938 kB / 379.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.002656/0.3549, allocations: 1.94 MB / 381.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.3549, allocations: 113.1 kB / 381.7 MB, free: 10.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.3551, allocations: 190.2 kB / 381.9 MB, free: 10.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3552, allocations: 37.77 kB / 381.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/0.3553, allocations: 132.3 kB / 382 MB, free: 10.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.3554, allocations: 166.2 kB / 382.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3555, allocations: 72.98 kB / 382.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.3556, allocations: 340.5 kB / 382.6 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.3557, allocations: 87.73 kB / 382.7 MB, free: 9.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.3559, allocations: 155.1 kB / 382.9 MB, free: 9.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.3563, allocations: 292 kB / 383.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3563, allocations: 4.797 kB / 383.1 MB, free: 9.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004669/0.3568, allocations: 336.1 kB / 383.5 MB, free: 9.355 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3568, allocations: 9.156 kB / 383.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.3568, allocations: 1.781 kB / 383.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.3568, allocations: 4.375 kB / 383.5 MB, free: 9.352 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003287/0.3572, allocations: 96.34 kB / 383.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3572, allocations: 4.156 kB / 383.6 MB, free: 9.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.3573, allocations: 11.69 kB / 383.6 MB, free: 9.332 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3573, allocations: 15.2 kB / 383.6 MB, free: 9.328 MB / 318.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.0001147/0.3574, allocations: 150.9 kB / 383.8 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.659e-05/0.3575, allocations: 34.73 kB / 383.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.3576, allocations: 40.84 kB / 383.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3576, allocations: 4.406 kB / 383.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3576, allocations: 6.766 kB / 383.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3576, allocations: 3.719 kB / 383.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3589, allocations: 1.047 MB / 384.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3589, allocations: 2.469 kB / 384.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/0.3592, allocations: 93.59 kB / 385 MB, free: 8.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.3592, allocations: 8.625 kB / 385 MB, free: 8.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.244e-05/0.3593, allocations: 17.53 kB / 385 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.3593, allocations: 6.438 kB / 385 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3593, allocations: 3 kB / 385 MB, free: 8.355 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006149/0.3599, allocations: 0.7136 MB / 385.7 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.36, allocations: 112.7 kB / 385.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/0.36, allocations: 14.12 kB / 385.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.3602, allocations: 7.984 kB / 385.9 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.3603, allocations: 36.02 kB / 385.9 MB, free: 7.699 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.3603, allocations: 15.59 kB / 385.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.643e-05/0.3604, allocations: 143.1 kB / 386.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3604, allocations: 0 / 386.1 MB, free: 7.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004016/0.3608, allocations: 76.47 kB / 386.1 MB, free: 7.582 MB / 318.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.0001054/0.3609, allocations: 118.7 kB / 386.2 MB, free: 7.477 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.3613, allocations: 272.2 kB / 386.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3613, allocations: 1.125 kB / 386.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.3615, allocations: 142.9 kB / 386.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.3622, allocations: 74.28 kB / 386.7 MB, free: 7.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.3637, allocations: 0.912 MB / 387.6 MB, free: 6.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/0.364, allocations: 0.7674 MB / 388.4 MB, free: 5.965 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.3642, allocations: 30.64 kB / 388.4 MB, free: 5.957 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.3643, allocations: 28.03 kB / 388.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3643, allocations: 0 / 388.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of Templates: time 0.008115/0.3724, allocations: 3.059 MB / 391.5 MB, free: 5.691 MB / 318.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)