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.7312/0.7312, allocations: 110.8 MB / 118.3 MB, free: 14.48 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001658/0.001658, allocations: 155.4 kB / 144 MB, free: 4.805 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.31e-05, allocations: 0 / 173.8 MB, free: 22.81 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0578/0.05783, allocations: 25.19 MB / 199 MB, free: 13.71 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06239/0.1203, allocations: 33.03 MB / 232.1 MB, free: 12.63 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.1206, allocations: 63.95 kB / 232.1 MB, free: 12.57 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01364/0.1342, allocations: 3.792 MB / 235.9 MB, free: 8.754 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1343, allocations: 0 / 235.9 MB, free: 8.754 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1343, allocations: 8 kB / 235.9 MB, free: 8.746 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.0007527/0.1351, allocations: 470.6 kB / 236.4 MB, free: 8.238 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1351, allocations: 8.031 kB / 236.4 MB, free: 8.23 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.1352, allocations: 31.7 kB / 236.4 MB, free: 8.199 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.1354, allocations: 194.7 kB / 236.6 MB, free: 7.969 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1354, allocations: 4 kB / 236.6 MB, free: 7.965 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.1355, allocations: 16 kB / 236.6 MB, free: 7.949 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003916/0.1359, allocations: 120.8 kB / 236.7 MB, free: 7.832 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1364, allocations: 197.3 kB / 236.9 MB, free: 7.625 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.1364, allocations: 0 / 236.9 MB, free: 7.625 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1365, allocations: 0 / 236.9 MB, free: 7.625 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1365, allocations: 8 kB / 236.9 MB, free: 7.617 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1379, allocations: 0.716 MB / 237.7 MB, free: 6.855 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005684/0.1384, allocations: 235.6 kB / 237.9 MB, free: 6.598 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1387, allocations: 106.5 kB / 238 MB, free: 6.484 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1388, allocations: 8.219 kB / 238 MB, free: 6.477 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1388, allocations: 46.44 kB / 238 MB, free: 6.422 MB / 186.7 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.1388, allocations: 3.938 kB / 238 MB, free: 6.418 MB / 186.7 MB Notification: Performance of matching and sorting (n=40): time 0.00296/0.1418, allocations: 1.666 MB / 239.7 MB, free: 4.488 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.1419, allocations: 110.8 kB / 239.8 MB, free: 4.355 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.1421, allocations: 130.4 kB / 239.9 MB, free: 4.215 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.1421, allocations: 25.7 kB / 240 MB, free: 4.184 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1423, allocations: 144.9 kB / 240.1 MB, free: 4.039 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/0.1424, allocations: 138 kB / 240.2 MB, free: 3.902 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.1424, allocations: 0 / 240.2 MB, free: 3.902 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.1426, allocations: 334.8 kB / 240.6 MB, free: 3.566 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1428, allocations: 68.88 kB / 240.6 MB, free: 3.496 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.1431, allocations: 133.5 kB / 240.8 MB, free: 3.344 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1433, allocations: 101 kB / 240.9 MB, free: 3.246 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1433, allocations: 0 / 240.9 MB, free: 3.246 MB / 186.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006123/0.144, allocations: 260.8 kB / 241.1 MB, free: 2.988 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.144, allocations: 4 kB / 241.1 MB, free: 2.984 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.144, allocations: 4 kB / 241.1 MB, free: 2.98 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.144, allocations: 4 kB / 241.1 MB, free: 2.977 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.1445, allocations: 95.92 kB / 241.2 MB, free: 2.883 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.1446, allocations: 4 kB / 241.2 MB, free: 2.879 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1447, allocations: 0 / 241.2 MB, free: 2.879 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1448, allocations: 16 kB / 241.3 MB, free: 2.863 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 0.0001301/0.1449, allocations: 113.8 kB / 241.4 MB, free: 2.746 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.145, allocations: 24 kB / 241.4 MB, free: 2.723 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1452, allocations: 29.95 kB / 241.4 MB, free: 2.695 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.1452, allocations: 4 kB / 241.4 MB, free: 2.691 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.1452, allocations: 7.938 kB / 241.4 MB, free: 2.684 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1452, allocations: 4 kB / 241.4 MB, free: 2.68 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.147, allocations: 0.9261 MB / 242.4 MB, free: 1.68 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.147, allocations: 4.266 kB / 242.4 MB, free: 1.676 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005411/0.1476, allocations: 83.84 kB / 242.4 MB, free: 1.594 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.1476, allocations: 8 kB / 242.5 MB, free: 1.586 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.1476, allocations: 4 kB / 242.5 MB, free: 1.582 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.1477, allocations: 4 kB / 242.5 MB, free: 1.578 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1477, allocations: 4 kB / 242.5 MB, free: 1.574 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1488, allocations: 0.7671 MB / 243.2 MB, free: 0.6914 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.544e-05/0.1489, allocations: 96.91 kB / 243.3 MB, free: 0.5781 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.1489, allocations: 7.953 kB / 243.3 MB, free: 0.5703 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.1492, allocations: 7.938 kB / 243.3 MB, free: 0.5625 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1493, allocations: 24.03 kB / 243.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.1494, allocations: 12 kB / 243.4 MB, free: 0.5273 MB / 186.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.1495, allocations: 112 kB / 243.5 MB, free: 428 kB / 186.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1495, allocations: 8 kB / 243.5 MB, free: 420 kB / 186.7 MB Notification: Performance of remove unused functions: time 0.0006799/0.1502, allocations: 52 kB / 243.5 MB, free: 368 kB / 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.0001826/0.1504, allocations: 115 kB / 243.7 MB, free: 244 kB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0004985/0.1509, allocations: 199.8 kB / 243.9 MB, free: 44 kB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1509, allocations: 0 / 243.9 MB, free: 44 kB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1398/0.2907, allocations: 118.2 kB / 244 MB, free: 43.16 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008022/0.2915, allocations: 49.42 kB / 244 MB, free: 43.16 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.293, allocations: 0.7256 MB / 244.7 MB, free: 42.76 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.2933, allocations: 0.7683 MB / 245.5 MB, free: 42.06 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 0.0001853/0.2935, allocations: 32.94 kB / 245.5 MB, free: 42.05 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.459e-05/0.2936, allocations: 24.41 kB / 245.6 MB, free: 42.05 MB / 186.7 MB Notification: Performance of SimCode: time 6.62e-07/0.2936, allocations: 0 / 245.6 MB, free: 42.05 MB / 186.7 MB Notification: Performance of Templates: time 0.007545/0.3012, allocations: 2.405 MB / 248 MB, free: 41.89 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)