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/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") translateModel(Modelica.Mechanics.Translational.Examples.Damper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Mechanics.Translational.Examples.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6972/0.6972, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.00208/0.00208, allocations: 143.5 kB / 149.1 MB, free: 0.957 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.205e-05/2.209e-05, allocations: 0 / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05169/0.05173, allocations: 25.18 MB / 205.4 MB, free: 8.43 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04961/0.1014, allocations: 33.69 MB / 239.1 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.1017, allocations: 63.97 kB / 239.1 MB, free: 6.621 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01047/0.1122, allocations: 3.827 MB / 243 MB, free: 2.777 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1123, allocations: 0 / 243 MB, free: 2.777 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.1123, allocations: 8 kB / 243 MB, free: 2.77 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005449/0.1128, allocations: 482.5 kB / 243.5 MB, free: 2.25 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.1129, allocations: 8.031 kB / 243.5 MB, free: 2.242 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.1129, allocations: 23.72 kB / 243.5 MB, free: 2.219 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.1131, allocations: 190.7 kB / 243.7 MB, free: 1.992 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1131, allocations: 16.44 kB / 243.7 MB, free: 1.977 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.1132, allocations: 35.88 kB / 243.7 MB, free: 1.941 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/0.1136, allocations: 218.2 kB / 243.9 MB, free: 1.715 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.1136, allocations: 11.86 kB / 243.9 MB, free: 1.703 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.1136, allocations: 12 kB / 244 MB, free: 1.691 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.1136, allocations: 4 kB / 244 MB, free: 1.688 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1139, allocations: 140.4 kB / 244.1 MB, free: 1.551 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009788/0.1149, allocations: 0.7706 MB / 244.9 MB, free: 0.7227 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004049/0.1153, allocations: 247.6 kB / 245.1 MB, free: 464 kB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001907/0.1155, allocations: 114.5 kB / 245.2 MB, free: 340 kB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1155, allocations: 4.312 kB / 245.2 MB, free: 336 kB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.1156, allocations: 46.48 kB / 245.3 MB, free: 280 kB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 1.624e-06/0.1156, allocations: 0 / 245.3 MB, free: 280 kB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.1277/0.2433, allocations: 1.769 MB / 247 MB, free: 39.78 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.2434, allocations: 116.6 kB / 247.2 MB, free: 39.66 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.2436, allocations: 161.7 kB / 247.3 MB, free: 39.56 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2436, allocations: 30.95 kB / 247.3 MB, free: 39.53 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.2437, allocations: 134.5 kB / 247.5 MB, free: 39.43 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.006e-05/0.2438, allocations: 143.8 kB / 247.6 MB, free: 39.35 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.2438, allocations: 8.344 kB / 247.6 MB, free: 39.35 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.2439, allocations: 335.6 kB / 248 MB, free: 39.04 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.244, allocations: 75.44 kB / 248 MB, free: 39.04 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.2442, allocations: 137.6 kB / 248.2 MB, free: 38.98 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.2444, allocations: 108.1 kB / 248.3 MB, free: 38.98 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2444, allocations: 0 / 248.3 MB, free: 38.98 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004811/0.2449, allocations: 303.4 kB / 248.6 MB, free: 38.93 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.245, allocations: 10.59 kB / 248.6 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.245, allocations: 1.75 kB / 248.6 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.245, allocations: 7.562 kB / 248.6 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.2454, allocations: 88.88 kB / 248.7 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2454, allocations: 3.406 kB / 248.7 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2455, allocations: 11.88 kB / 248.7 MB, free: 38.93 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2455, allocations: 13.59 kB / 248.7 MB, free: 38.93 MB / 186.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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 7.822e-05/0.2456, allocations: 127.6 kB / 248.8 MB, free: 38.82 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.2457, allocations: 25.61 kB / 248.8 MB, free: 38.81 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.98e-05/0.2458, allocations: 34.23 kB / 248.9 MB, free: 38.81 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2458, allocations: 11.92 kB / 248.9 MB, free: 38.81 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2458, allocations: 3.953 kB / 248.9 MB, free: 38.8 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.2458, allocations: 3.109 kB / 248.9 MB, free: 38.8 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.2471, allocations: 1.006 MB / 249.9 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2471, allocations: 5.844 kB / 249.9 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.2475, allocations: 81.33 kB / 250 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.2475, allocations: 6.188 kB / 250 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.2475, allocations: 11.78 kB / 250 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/0.2475, allocations: 5.906 kB / 250 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2475, allocations: 6.125 kB / 250 MB, free: 38.25 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007097/0.2482, allocations: 0.7944 MB / 250.8 MB, free: 37.68 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.2483, allocations: 101.5 kB / 250.9 MB, free: 37.57 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.2484, allocations: 11.62 kB / 250.9 MB, free: 37.57 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2485, allocations: 15 kB / 250.9 MB, free: 37.57 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2486, allocations: 30.09 kB / 251 MB, free: 37.56 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2486, allocations: 14.86 kB / 251 MB, free: 37.55 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.389e-05/0.2487, allocations: 136.3 kB / 251.1 MB, free: 37.46 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2487, allocations: 0 / 251.1 MB, free: 37.46 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0004035/0.2492, allocations: 64.03 kB / 251.2 MB, free: 37.45 MB / 186.7 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,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * 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.0001347/0.2493, allocations: 117 kB / 251.3 MB, free: 37.35 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003958/0.2497, allocations: 222.8 kB / 251.5 MB, free: 37.28 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2497, allocations: 1.031 kB / 251.5 MB, free: 37.28 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.2499, allocations: 126.8 kB / 251.6 MB, free: 37.23 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.2504, allocations: 63.5 kB / 251.7 MB, free: 37.21 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.2514, allocations: 0.7536 MB / 252.5 MB, free: 36.68 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/0.2516, allocations: 0.7672 MB / 253.2 MB, free: 35.98 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.2517, allocations: 36.25 kB / 253.3 MB, free: 35.97 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.712e-05/0.2518, allocations: 25.31 kB / 253.3 MB, free: 35.96 MB / 186.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2518, allocations: 0 / 253.3 MB, free: 35.96 MB / 186.7 MB Notification: Performance of Templates: time 0.005318/0.2571, allocations: 2.586 MB / 255.9 MB, free: 35.76 MB / 186.7 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)