Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 197.5 kB / 18.1 MB, free: 3.605 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, 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.0008636/0.0008637, allocations: 103.9 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3451/0.3451, allocations: 44.82 MB / 394.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002928, allocations: 8 kB / 467.9 MB, free: 12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3824, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1531/0.5356, allocations: 90.62 MB / 0.6069 GB, free: 14.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.5359, allocations: 79.95 kB / 0.607 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.5665, allocations: 6.404 MB / 0.6132 GB, free: 8.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5666, allocations: 0 / 0.6132 GB, free: 8.172 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.5666, allocations: 8 kB / 0.6133 GB, free: 8.164 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007686/0.5674, allocations: 442.9 kB / 0.6137 GB, free: 7.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5674, allocations: 8.031 kB / 0.6137 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.5675, allocations: 16.75 kB / 0.6137 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.568, allocations: 216.8 kB / 0.6139 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.568, allocations: 4.375 kB / 0.6139 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.5681, allocations: 8.375 kB / 0.6139 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.5683, allocations: 54.23 kB / 0.614 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.5683, allocations: 192 / 0.614 GB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.5684, allocations: 3.938 kB / 0.614 GB, free: 7.332 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.5684, allocations: 4 kB / 0.614 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.5685, allocations: 23.91 kB / 0.614 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00057/0.5691, allocations: 296.8 kB / 0.6143 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.5694, allocations: 62.61 kB / 0.6143 GB, free: 6.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.5695, allocations: 20.86 kB / 0.6144 GB, free: 6.871 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.5696, allocations: 3.984 kB / 0.6144 GB, free: 6.867 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002269/0.5698, allocations: 75.31 kB / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.295e-06/0.5698, allocations: 0 / 0.6144 GB, free: 6.781 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008797/0.5707, allocations: 185.3 kB / 0.6146 GB, free: 6.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.5708, allocations: 51.41 kB / 0.6147 GB, free: 6.531 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003122/0.5711, allocations: 196.1 kB / 0.6149 GB, free: 6.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.5712, allocations: 33.64 kB / 0.6149 GB, free: 6.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.522e-05/0.5713, allocations: 104.1 kB / 0.615 GB, free: 6.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.5713, allocations: 23.7 kB / 0.615 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.5713, allocations: 0 / 0.615 GB, free: 6.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5715, allocations: 330.8 kB / 0.6153 GB, free: 5.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.5716, allocations: 23.92 kB / 0.6153 GB, free: 5.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.5718, allocations: 41.7 kB / 0.6154 GB, free: 5.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002257/0.572, allocations: 57.72 kB / 0.6154 GB, free: 5.699 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.572, allocations: 0 / 0.6154 GB, free: 5.699 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003424/0.5724, allocations: 109.5 kB / 0.6155 GB, free: 5.586 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.5724, allocations: 4 kB / 0.6155 GB, free: 5.582 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.5724, allocations: 11.97 kB / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5725, allocations: 0 / 0.6156 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5726, allocations: 15.98 kB / 0.6156 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.5726, allocations: 0 / 0.6156 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.498e-05/0.5727, allocations: 4 kB / 0.6156 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.5728, allocations: 8 kB / 0.6156 GB, free: 5.543 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001538/0.5729, allocations: 129.7 kB / 0.6157 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.573, allocations: 7.906 kB / 0.6157 GB, free: 5.398 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003875/0.5734, allocations: 123 kB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.5734, allocations: 4 kB / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.5734, allocations: 0 / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.5734, allocations: 0 / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000799/0.5742, allocations: 419.1 kB / 0.6162 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.5743, allocations: 0 / 0.6162 GB, free: 4.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.014e-05/0.5743, allocations: 19.94 kB / 0.6163 GB, free: 4.781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5744, allocations: 4.031 kB / 0.6163 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.5744, allocations: 0 / 0.6163 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.465e-06/0.5744, allocations: 7.984 kB / 0.6163 GB, free: 4.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.5744, allocations: 3.938 kB / 0.6163 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.5748, allocations: 208.5 kB / 0.6165 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.661e-05/0.5749, allocations: 96.91 kB / 0.6166 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.575, allocations: 4 kB / 0.6166 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.5751, allocations: 4 kB / 0.6166 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.5752, allocations: 11.92 kB / 0.6166 GB, free: 4.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.5752, allocations: 8 kB / 0.6166 GB, free: 4.402 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000198/0.5754, allocations: 143.2 kB / 0.6167 GB, free: 4.262 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5754, allocations: 4 kB / 0.6167 GB, free: 4.258 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004921/0.5759, allocations: 32 kB / 0.6168 GB, free: 4.227 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001582/0.5775, allocations: 468.8 kB / 0.6172 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.5778, allocations: 63.91 kB / 0.6173 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.5778, allocations: 0 / 0.6173 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.578, allocations: 35.92 kB / 0.6173 GB, free: 3.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.5785, allocations: 32.09 kB / 0.6173 GB, free: 3.797 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.5793, allocations: 250.1 kB / 0.6176 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.5797, allocations: 0.716 MB / 0.6183 GB, free: 2.781 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.366e-05/0.5798, allocations: 12.55 kB / 0.6183 GB, free: 2.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.197e-05/0.5799, allocations: 19.42 kB / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5799, allocations: 0 / 0.6183 GB, free: 2.75 MB / 426.7 MB Notification: Performance of Templates: time 0.007186/0.5871, allocations: 1.715 MB / 0.62 GB, free: 1.051 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches