Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001167/0.001167, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001301/0.001302, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.462/1.462, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001192/0.001192, allocations: 55.91 kB / 280 MB, free: 3.172 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09757, allocations: 46.63 MB / 326.6 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.003408/0.101, allocations: 2.408 MB / 329 MB, free: 2.043 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004745/0.1015, allocations: 235.1 kB / 329.3 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1017, allocations: 7.938 kB / 329.3 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.1018, allocations: 43.58 kB / 329.3 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.102, allocations: 87.2 kB / 329.4 MB, free: 1.676 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1021, allocations: 55.92 kB / 329.4 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003064/0.1024, allocations: 290.6 kB / 329.7 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.1027, allocations: 97.69 kB / 329.8 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.1028, allocations: 103.6 kB / 329.9 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.103, allocations: 127.5 kB / 330 MB, free: 1.016 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.853e-05/0.103, allocations: 20 kB / 330.1 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.503e-05/0.1031, allocations: 24 kB / 330.1 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1031, allocations: 47.84 kB / 330.1 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.1033, allocations: 135.3 kB / 330.3 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.1035, allocations: 291.2 kB / 330.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1036, allocations: 0 / 330.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1036, allocations: 0 / 330.6 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1036, allocations: 0 / 330.6 MB, free: 0.5078 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.0008062/0.1044, allocations: 0.5458 MB / 331.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.1044, allocations: 8.031 kB / 331.1 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.048e-05/0.1045, allocations: 28.66 kB / 331.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.1048, allocations: 244.5 kB / 331.4 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.1048, allocations: 24.88 kB / 331.4 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.1049, allocations: 24.38 kB / 331.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.1052, allocations: 240 kB / 331.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1052, allocations: 4.094 kB / 331.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.1053, allocations: 15.94 kB / 331.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/0.1053, allocations: 4 kB / 331.7 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002644/0.1056, allocations: 159.8 kB / 331.8 MB, free: 15.12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009933/0.1066, allocations: 0.8008 MB / 332.6 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004863/0.1071, allocations: 291.8 kB / 332.9 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.1073, allocations: 130.5 kB / 333.1 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.1073, allocations: 4 kB / 333.1 MB, free: 13.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.1074, allocations: 42.56 kB / 333.1 MB, free: 13.76 MB / 286.1 MB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/0.1074, allocations: 7.922 kB / 333.1 MB, free: 13.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=45): time 0.00265/0.11, allocations: 1.938 MB / 335 MB, free: 11.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.1101, allocations: 110.8 kB / 335.1 MB, free: 11.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.1103, allocations: 190.6 kB / 335.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1104, allocations: 33.7 kB / 335.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/0.1105, allocations: 140.6 kB / 335.5 MB, free: 11.03 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1106, allocations: 165.6 kB / 335.7 MB, free: 10.87 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.377e-05/0.1107, allocations: 74.12 kB / 335.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1108, allocations: 338.8 kB / 336.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.111, allocations: 92.83 kB / 336.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1112, allocations: 154.3 kB / 336.3 MB, free: 10.18 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003521/0.1115, allocations: 270 kB / 336.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1115, allocations: 0 / 336.6 MB, free: 9.898 MB / 286.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004658/0.112, allocations: 344.9 kB / 336.9 MB, free: 9.555 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.112, allocations: 11.94 kB / 336.9 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.112, allocations: 0 / 336.9 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1121, allocations: 4 kB / 336.9 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003183/0.1124, allocations: 95.84 kB / 337 MB, free: 9.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.1124, allocations: 7.984 kB / 337 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.1125, allocations: 12 kB / 337 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.1126, allocations: 19.94 kB / 337.1 MB, free: 9.406 MB / 286.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.0001558/0.1127, allocations: 157.8 kB / 337.2 MB, free: 9.242 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.1128, allocations: 28.59 kB / 337.2 MB, free: 9.215 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.568e-05/0.1129, allocations: 37.86 kB / 337.3 MB, free: 9.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1129, allocations: 8 kB / 337.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1129, allocations: 0 / 337.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1129, allocations: 0 / 337.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001348/0.1143, allocations: 1.062 MB / 338.4 MB, free: 8.023 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.1143, allocations: 4 kB / 338.4 MB, free: 8.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003468/0.1146, allocations: 87.89 kB / 338.4 MB, free: 7.934 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.1147, allocations: 11.88 kB / 338.5 MB, free: 7.922 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/0.1147, allocations: 12 kB / 338.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.1147, allocations: 4 kB / 338.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.777e-06/0.1147, allocations: 12.2 kB / 338.5 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.1154, allocations: 0.7208 MB / 339.2 MB, free: 7.133 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.1155, allocations: 104.8 kB / 339.3 MB, free: 7.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.1155, allocations: 16 kB / 339.3 MB, free: 6.996 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.1158, allocations: 8 kB / 339.3 MB, free: 6.988 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.1158, allocations: 35.91 kB / 339.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1158, allocations: 16 kB / 339.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.718e-05/0.1159, allocations: 140.2 kB / 339.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1159, allocations: 0 / 339.5 MB, free: 6.801 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004159/0.1164, allocations: 75.94 kB / 339.6 MB, free: 6.727 MB / 286.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.000129/0.1165, allocations: 107.2 kB / 339.7 MB, free: 6.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.117, allocations: 291.5 kB / 340 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.117, allocations: 0 / 340 MB, free: 6.332 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.1172, allocations: 147.7 kB / 340.1 MB, free: 6.188 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007908/0.118, allocations: 66.19 kB / 340.2 MB, free: 6.125 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.1194, allocations: 0.917 MB / 341.1 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.1198, allocations: 0.7757 MB / 341.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001133/0.12, allocations: 34.97 kB / 341.9 MB, free: 4.312 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.719e-05/0.12, allocations: 27.44 kB / 341.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.12, allocations: 0 / 341.9 MB, free: 4.285 MB / 286.1 MB Notification: Performance of Templates: time 0.006155/0.1262, allocations: 2.978 MB / 344.9 MB, free: 1.309 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.sim & ./Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1)