Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001008/0.001008, allocations: 196 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.5 MB / 245.4 MB, free: 8.137 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008277/0.0008277, allocations: 102 kB / 297.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4137/0.4137, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3905, allocations: 62.96 MB / 0.5184 GB, free: 37.5 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5508, allocations: 90.66 MB / 0.607 GB, free: 14.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.5511, allocations: 83.94 kB / 0.607 GB, free: 14.55 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01969/0.5709, allocations: 6.491 MB / 0.6134 GB, free: 8.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5709, allocations: 0 / 0.6134 GB, free: 8.043 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.571, allocations: 0 / 0.6134 GB, free: 8.043 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.0008016/0.5718, allocations: 450.9 kB / 0.6138 GB, free: 7.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.5718, allocations: 8.031 kB / 0.6138 GB, free: 7.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.5719, allocations: 8.844 kB / 0.6138 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.5723, allocations: 224 kB / 0.614 GB, free: 7.277 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.5723, allocations: 4.359 kB / 0.614 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.215e-05/0.5723, allocations: 8.375 kB / 0.6141 GB, free: 7.266 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.5725, allocations: 67.95 kB / 0.6141 GB, free: 7.188 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5726, allocations: 4.188 kB / 0.6141 GB, free: 7.184 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.5726, allocations: 7.938 kB / 0.6141 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5726, allocations: 0 / 0.6141 GB, free: 7.176 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.838e-05/0.5727, allocations: 23.92 kB / 0.6142 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.5731, allocations: 277 kB / 0.6144 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.5734, allocations: 70.59 kB / 0.6145 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.5734, allocations: 32.91 kB / 0.6145 GB, free: 6.719 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.5735, allocations: 4 kB / 0.6145 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.5737, allocations: 71.33 kB / 0.6146 GB, free: 6.633 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.5737, allocations: 0 / 0.6146 GB, free: 6.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006739/0.5744, allocations: 205.1 kB / 0.6148 GB, free: 6.426 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.5745, allocations: 81.11 kB / 0.6149 GB, free: 6.328 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.5747, allocations: 173.9 kB / 0.615 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.5747, allocations: 29.7 kB / 0.6151 GB, free: 6.117 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.5748, allocations: 100.1 kB / 0.6151 GB, free: 6.016 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.5748, allocations: 35.48 kB / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5748, allocations: 0 / 0.6152 GB, free: 5.98 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.575, allocations: 330.9 kB / 0.6155 GB, free: 5.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.149e-05/0.5751, allocations: 27.92 kB / 0.6155 GB, free: 5.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.555e-05/0.5752, allocations: 62.48 kB / 0.6156 GB, free: 5.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.5753, allocations: 76.55 kB / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5753, allocations: 0 / 0.6157 GB, free: 5.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002405/0.5756, allocations: 121.4 kB / 0.6158 GB, free: 5.348 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5756, allocations: 8 kB / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5756, allocations: 0 / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.5757, allocations: 0 / 0.6158 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.5758, allocations: 27.98 kB / 0.6158 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.5758, allocations: 4 kB / 0.6158 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.858e-05/0.5758, allocations: 4 kB / 0.6158 GB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.783e-05/0.5759, allocations: 7.984 kB / 0.6158 GB, free: 5.297 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 (13): * Single equations (assignments): 13 * 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.0001105/0.576, allocations: 131.5 kB / 0.6159 GB, free: 5.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.576, allocations: 7.906 kB / 0.616 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.5763, allocations: 130.8 kB / 0.6161 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5763, allocations: 4 kB / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.5763, allocations: 0 / 0.6161 GB, free: 5.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.5764, allocations: 4 kB / 0.6161 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.577, allocations: 443.1 kB / 0.6165 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.577, allocations: 0 / 0.6165 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.577, allocations: 12 kB / 0.6165 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.577, allocations: 0 / 0.6165 GB, free: 4.508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5771, allocations: 12.02 kB / 0.6165 GB, free: 4.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.5771, allocations: 3.938 kB / 0.6165 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.5771, allocations: 7.875 kB / 0.6165 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003157/0.5774, allocations: 220.9 kB / 0.6168 GB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.5775, allocations: 88.92 kB / 0.6168 GB, free: 4.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.506e-05/0.5775, allocations: 7.984 kB / 0.6168 GB, free: 4.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.991e-05/0.5776, allocations: 11.94 kB / 0.6169 GB, free: 4.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.5777, allocations: 15.97 kB / 0.6169 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.5777, allocations: 8 kB / 0.6169 GB, free: 4.102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.5778, allocations: 131.1 kB / 0.617 GB, free: 3.973 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5778, allocations: 0 / 0.617 GB, free: 3.973 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.5782, allocations: 67.86 kB / 0.6171 GB, free: 3.906 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 (11): * Single equations (assignments): 9 * 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.001728/0.58, allocations: 0.5661 MB / 0.6176 GB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002677/0.5803, allocations: 75.84 kB / 0.6177 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5803, allocations: 0 / 0.6177 GB, free: 3.453 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.777e-05/0.5804, allocations: 43.92 kB / 0.6177 GB, free: 3.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.5808, allocations: 29.52 kB / 0.6178 GB, free: 3.383 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.5814, allocations: 238.1 kB / 0.618 GB, free: 3.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.5817, allocations: 0.7043 MB / 0.6187 GB, free: 2.391 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.902e-05/0.5818, allocations: 20.64 kB / 0.6187 GB, free: 2.371 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.5819, allocations: 27.42 kB / 0.6187 GB, free: 2.344 MB / 426.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5819, allocations: 0 / 0.6187 GB, free: 2.344 MB / 426.7 MB Notification: Performance of Templates: time 0.00607/0.588, allocations: 2.436 MB / 0.6211 GB, free: 15.92 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches