Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 196.7 kB / 18.1 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 98.11 kB / 297.5 MB, free: 6.922 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3419/0.3419, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002684, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.353, allocations: 62.96 MB / 0.5184 GB, free: 37.34 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.474, allocations: 92.36 MB / 0.6086 GB, free: 12.94 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4743, allocations: 83.94 kB / 0.6087 GB, free: 12.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01666/0.491, allocations: 5.791 MB / 0.6144 GB, free: 7.055 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4911, allocations: 0 / 0.6144 GB, free: 7.055 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.228e-05/0.4911, allocations: 4 kB / 0.6144 GB, free: 7.051 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001057/0.4922, allocations: 0.5914 MB / 0.6149 GB, free: 6.398 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.4922, allocations: 8.875 kB / 0.615 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.4923, allocations: 20.75 kB / 0.615 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.4927, allocations: 263.7 kB / 0.6152 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.4927, allocations: 384 / 0.6152 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.4927, allocations: 12.38 kB / 0.6152 GB, free: 6.062 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003812/0.4931, allocations: 164.7 kB / 0.6154 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.4931, allocations: 192 / 0.6154 GB, free: 5.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.4932, allocations: 7.938 kB / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4932, allocations: 0 / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004299/0.4936, allocations: 145.7 kB / 0.6155 GB, free: 5.738 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007935/0.4944, allocations: 0.5905 MB / 0.6161 GB, free: 5.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006501/0.4951, allocations: 186.5 kB / 0.6163 GB, free: 4.898 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000239/0.4953, allocations: 92.78 kB / 0.6164 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.4954, allocations: 0 / 0.6164 GB, free: 4.805 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003531/0.4957, allocations: 151.2 kB / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.4957, allocations: 0 / 0.6165 GB, free: 4.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008356/0.4966, allocations: 293.3 kB / 0.6168 GB, free: 4.352 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.4966, allocations: 63.38 kB / 0.6169 GB, free: 4.277 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.4969, allocations: 230.3 kB / 0.6171 GB, free: 4.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4969, allocations: 33.7 kB / 0.6171 GB, free: 4.004 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.497, allocations: 124.2 kB / 0.6172 GB, free: 3.875 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.497, allocations: 31.69 kB / 0.6173 GB, free: 3.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.497, allocations: 11.94 kB / 0.6173 GB, free: 3.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4972, allocations: 340 kB / 0.6176 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.4974, allocations: 75.94 kB / 0.6177 GB, free: 3.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.4977, allocations: 120.2 kB / 0.6178 GB, free: 3.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.4982, allocations: 221.8 kB / 0.618 GB, free: 3.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4983, allocations: 3.984 kB / 0.618 GB, free: 3.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006714/0.4989, allocations: 278.1 kB / 0.6183 GB, free: 2.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.499, allocations: 37.69 kB / 0.6183 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.499, allocations: 0 / 0.6183 GB, free: 2.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.499, allocations: 4.125 kB / 0.6183 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4992, allocations: 47.91 kB / 0.6184 GB, free: 2.668 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4992, allocations: 4 kB / 0.6184 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4994, allocations: 39.81 kB / 0.6184 GB, free: 2.625 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.4995, allocations: 7.938 kB / 0.6184 GB, free: 2.617 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001268/0.4996, allocations: 143.5 kB / 0.6185 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.383e-05/0.4996, allocations: 23.7 kB / 0.6186 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006006/0.5002, allocations: 235 kB / 0.6188 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.5002, allocations: 0 / 0.6188 GB, free: 2.215 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5003, allocations: 3.984 kB / 0.6188 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5003, allocations: 0 / 0.6188 GB, free: 2.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.5005, allocations: 241.5 kB / 0.619 GB, free: 1.926 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5005, allocations: 4 kB / 0.619 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.5007, allocations: 31.97 kB / 0.6191 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.5007, allocations: 4 kB / 0.6191 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5007, allocations: 4 kB / 0.6191 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.5007, allocations: 0 / 0.6191 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5007, allocations: 3.938 kB / 0.6191 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.5016, allocations: 356.7 kB / 0.6194 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.5017, allocations: 104.7 kB / 0.6195 GB, free: 1.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.5017, allocations: 4 kB / 0.6195 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5019, allocations: 32.03 kB / 0.6195 GB, free: 1.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.502, allocations: 19.97 kB / 0.6196 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.502, allocations: 3.984 kB / 0.6196 GB, free: 1.332 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001814/0.5022, allocations: 180.4 kB / 0.6197 GB, free: 1.156 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5022, allocations: 0 / 0.6197 GB, free: 1.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.5025, allocations: 44 kB / 0.6198 GB, free: 1.113 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001074/0.5036, allocations: 427.3 kB / 0.6202 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006323/0.5042, allocations: 243.3 kB / 0.6204 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5042, allocations: 3.938 kB / 0.6204 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002804/0.5045, allocations: 104 kB / 0.6205 GB, free: 484 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.5049, allocations: 36.64 kB / 0.6206 GB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000793/0.5057, allocations: 356.5 kB / 0.6209 GB, free: 68 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.506, allocations: 0.7283 MB / 0.6216 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.5062, allocations: 25.53 kB / 0.6216 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.5062, allocations: 19.42 kB / 0.6217 GB, free: 15.26 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5062, allocations: 0 / 0.6217 GB, free: 15.26 MB / 442.7 MB Notification: Performance of Templates: time 0.005854/0.5121, allocations: 2.626 MB / 0.6242 GB, free: 12.66 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)