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.001142/0.001142, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.001077/0.001077, allocations: 177.3 kB / 15.94 MB, free: 228 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.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.0004674/0.0004675, allocations: 8 kB / 278.9 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2319, allocations: 47.59 MB / 326.4 MB, free: 1.438 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Damper): time 0.002068/0.234, allocations: 1.907 MB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.2344, allocations: 254 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.2346, allocations: 11.28 kB / 328.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.751e-05/0.2346, allocations: 27.55 kB / 328.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000184/0.2348, allocations: 102.2 kB / 328.7 MB, free: 15.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.235, allocations: 40.19 kB / 328.8 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.2352, allocations: 199.3 kB / 329 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.2354, allocations: 72.05 kB / 329 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.2355, allocations: 93.14 kB / 329.1 MB, free: 15.37 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.2357, allocations: 101 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.808e-05/0.2357, allocations: 11.97 kB / 329.2 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.647e-05/0.2358, allocations: 15.78 kB / 329.3 MB, free: 15.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.877e-05/0.2358, allocations: 43.08 kB / 329.3 MB, free: 15.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.629e-05/0.2359, allocations: 71.7 kB / 329.4 MB, free: 15.21 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.2361, allocations: 206.5 kB / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.2361, allocations: 0 / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2361, allocations: 0 / 329.6 MB, free: 15.06 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.2361, allocations: 0 / 329.6 MB, free: 15.06 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.0006699/0.2368, allocations: 0.5035 MB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2368, allocations: 9.156 kB / 330.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.003e-05/0.2369, allocations: 26.88 kB / 330.1 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2372, allocations: 241.6 kB / 330.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.2372, allocations: 25.55 kB / 330.4 MB, free: 14.3 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.488e-05/0.2373, allocations: 27.34 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.2377, allocations: 240.3 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.2377, allocations: 2.062 kB / 330.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.2378, allocations: 14.27 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.2378, allocations: 5.469 kB / 330.6 MB, free: 14.11 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.2381, allocations: 160 kB / 330.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.2392, allocations: 0.8007 MB / 331.6 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.2397, allocations: 288.1 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.2397, allocations: 3.188 kB / 331.9 MB, free: 13.15 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2397, allocations: 45.56 kB / 331.9 MB, free: 13.1 MB / 270.1 MB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.2397, allocations: 0 / 331.9 MB, free: 13.1 MB / 270.1 MB Notification: Performance of matching and sorting (n=45): time 0.002552/0.2423, allocations: 1.949 MB / 333.9 MB, free: 11.38 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.2424, allocations: 108.8 kB / 334 MB, free: 11.25 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.2426, allocations: 186.9 kB / 334.2 MB, free: 11.1 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.2426, allocations: 32.05 kB / 334.2 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.2427, allocations: 141.5 kB / 334.3 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.2428, allocations: 169.2 kB / 334.5 MB, free: 10.78 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.2429, allocations: 10.06 kB / 334.5 MB, free: 10.77 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.243, allocations: 337.3 kB / 334.8 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.2431, allocations: 88.06 kB / 334.9 MB, free: 10.4 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.2434, allocations: 156.1 kB / 335.1 MB, free: 10.28 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.2436, allocations: 120.2 kB / 335.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2436, allocations: 4 kB / 335.2 MB, free: 10.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004703/0.244, allocations: 338.2 kB / 335.5 MB, free: 9.84 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2441, allocations: 4 kB / 335.5 MB, free: 9.836 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2441, allocations: 4 kB / 335.5 MB, free: 9.832 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2441, allocations: 8.094 kB / 335.6 MB, free: 9.824 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.2444, allocations: 96.77 kB / 335.6 MB, free: 9.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.2445, allocations: 7.938 kB / 335.7 MB, free: 9.723 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.2446, allocations: 12 kB / 335.7 MB, free: 9.711 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.2446, allocations: 16 kB / 335.7 MB, free: 9.695 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.0001592/0.2448, allocations: 149.7 kB / 335.8 MB, free: 9.539 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.2448, allocations: 27.72 kB / 335.9 MB, free: 9.512 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.179e-05/0.2449, allocations: 37.86 kB / 335.9 MB, free: 9.477 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.2449, allocations: 4 kB / 335.9 MB, free: 9.473 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.245, allocations: 4 kB / 335.9 MB, free: 9.469 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.245, allocations: 7.922 kB / 335.9 MB, free: 9.461 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.2463, allocations: 1.039 MB / 336.9 MB, free: 8.336 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.2463, allocations: 7.984 kB / 337 MB, free: 8.328 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.2466, allocations: 84.19 kB / 337 MB, free: 8.246 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.2467, allocations: 15.95 kB / 337.1 MB, free: 8.23 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.2467, allocations: 8 kB / 337.1 MB, free: 8.223 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.2467, allocations: 11.92 kB / 337.1 MB, free: 8.211 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2467, allocations: 7.938 kB / 337.1 MB, free: 8.203 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007448/0.2475, allocations: 0.841 MB / 337.9 MB, free: 7.25 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.2475, allocations: 116.8 kB / 338 MB, free: 7.117 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.383e-05/0.2476, allocations: 8 kB / 338 MB, free: 7.109 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.2478, allocations: 15.95 kB / 338.1 MB, free: 7.094 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.2479, allocations: 35.89 kB / 338.1 MB, free: 7.059 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2479, allocations: 12 kB / 338.1 MB, free: 7.047 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.248, allocations: 132.5 kB / 338.2 MB, free: 6.918 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.248, allocations: 0 / 338.2 MB, free: 6.918 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004187/0.2484, allocations: 76 kB / 338.3 MB, free: 6.844 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.0001206/0.2485, allocations: 111.3 kB / 338.4 MB, free: 6.727 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003901/0.2489, allocations: 259.7 kB / 338.7 MB, free: 6.473 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.2489, allocations: 4 kB / 338.7 MB, free: 6.469 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001966/0.2491, allocations: 144.3 kB / 338.8 MB, free: 6.328 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.2497, allocations: 62.92 kB / 338.9 MB, free: 6.27 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.2511, allocations: 1.097 MB / 340 MB, free: 5.109 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.2514, allocations: 0.7841 MB / 340.8 MB, free: 4.297 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.2515, allocations: 30.95 kB / 340.8 MB, free: 4.27 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.2516, allocations: 31.44 kB / 340.8 MB, free: 4.238 MB / 270.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2516, allocations: 4 kB / 340.8 MB, free: 4.234 MB / 270.1 MB Notification: Performance of Templates: time 0.005616/0.2572, allocations: 2.645 MB / 343.5 MB, free: 1.59 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: