Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001076/0.001076, allocations: 196.2 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007233/0.0007234, allocations: 92.25 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4363/0.4363, allocations: 44.82 MB / 394.3 MB, free: 35.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002715, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3566/0.3568, allocations: 62.96 MB / 0.5184 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1725/0.5295, allocations: 90.71 MB / 0.607 GB, free: 14.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.5298, allocations: 79.95 kB / 0.6071 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02973/0.5595, allocations: 7.221 MB / 0.6141 GB, free: 7.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5596, allocations: 4 kB / 0.6141 GB, free: 7.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.5596, allocations: 0 / 0.6141 GB, free: 7.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008326/0.5605, allocations: 474.6 kB / 0.6146 GB, free: 6.777 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.351e-05/0.5605, allocations: 16.81 kB / 0.6146 GB, free: 6.762 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.5606, allocations: 12.75 kB / 0.6146 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004827/0.5611, allocations: 245 kB / 0.6149 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.5611, allocations: 384 / 0.6149 GB, free: 6.469 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.5612, allocations: 12.36 kB / 0.6149 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.5614, allocations: 62.17 kB / 0.6149 GB, free: 6.391 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.5615, allocations: 8.172 kB / 0.6149 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.5615, allocations: 7.938 kB / 0.6149 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5615, allocations: 3.938 kB / 0.615 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.5617, allocations: 35.97 kB / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006172/0.5623, allocations: 332.8 kB / 0.6153 GB, free: 5.961 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004108/0.5627, allocations: 82.5 kB / 0.6154 GB, free: 5.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5629, allocations: 28.84 kB / 0.6154 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.5629, allocations: 0 / 0.6154 GB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.5632, allocations: 79.38 kB / 0.6155 GB, free: 5.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 2.174e-06/0.5632, allocations: 4 kB / 0.6155 GB, free: 5.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001239/0.5644, allocations: 293.3 kB / 0.6158 GB, free: 5.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.5645, allocations: 51.41 kB / 0.6158 GB, free: 5.391 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004175/0.565, allocations: 267.6 kB / 0.6161 GB, free: 5.121 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.565, allocations: 25.7 kB / 0.6161 GB, free: 5.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.03e-05/0.5651, allocations: 120.2 kB / 0.6162 GB, free: 4.969 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.495e-05/0.5652, allocations: 39.53 kB / 0.6162 GB, free: 4.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/0.5652, allocations: 8 kB / 0.6163 GB, free: 4.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5654, allocations: 326.8 kB / 0.6166 GB, free: 4.594 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5655, allocations: 35.98 kB / 0.6166 GB, free: 4.559 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.5656, allocations: 53.69 kB / 0.6167 GB, free: 4.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002625/0.5659, allocations: 85.7 kB / 0.6167 GB, free: 4.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5659, allocations: 0 / 0.6167 GB, free: 4.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003827/0.5663, allocations: 153.4 kB / 0.6169 GB, free: 4.254 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5664, allocations: 7.984 kB / 0.6169 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5664, allocations: 0 / 0.6169 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.5664, allocations: 4 kB / 0.6169 GB, free: 4.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.5666, allocations: 23.94 kB / 0.6169 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.5666, allocations: 3.984 kB / 0.6169 GB, free: 4.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.5667, allocations: 8 kB / 0.6169 GB, free: 4.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/0.5667, allocations: 3.984 kB / 0.6169 GB, free: 4.203 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 (14): * Single equations (assignments): 14 * 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.0001767/0.5669, allocations: 141.8 kB / 0.6171 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.567, allocations: 19.72 kB / 0.6171 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.5675, allocations: 178.3 kB / 0.6173 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5675, allocations: 0 / 0.6173 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5675, allocations: 0 / 0.6173 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5675, allocations: 0 / 0.6173 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009475/0.5685, allocations: 0.5155 MB / 0.6178 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5685, allocations: 4 kB / 0.6178 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.5686, allocations: 16 kB / 0.6178 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.5686, allocations: 0 / 0.6178 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.5687, allocations: 15.92 kB / 0.6178 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5687, allocations: 3.938 kB / 0.6178 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5687, allocations: 0 / 0.6178 GB, free: 3.238 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.5691, allocations: 265 kB / 0.6181 GB, free: 2.957 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.5693, allocations: 100.9 kB / 0.6181 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.5693, allocations: 11.94 kB / 0.6182 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.5695, allocations: 0 / 0.6182 GB, free: 2.828 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.5695, allocations: 15.98 kB / 0.6182 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.5696, allocations: 4 kB / 0.6182 GB, free: 2.809 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002854/0.5699, allocations: 209.4 kB / 0.6184 GB, free: 2.605 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5699, allocations: 0 / 0.6184 GB, free: 2.605 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000553/0.5704, allocations: 47.92 kB / 0.6184 GB, free: 2.559 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001802/0.5723, allocations: 0.5068 MB / 0.6189 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.5726, allocations: 99.89 kB / 0.619 GB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5726, allocations: 0 / 0.619 GB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.5728, allocations: 52.11 kB / 0.6191 GB, free: 2.078 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.5734, allocations: 30.8 kB / 0.6191 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.5743, allocations: 372 kB / 0.6194 GB, free: 1.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004115/0.5747, allocations: 0.7243 MB / 0.6202 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.5749, allocations: 29.02 kB / 0.6202 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.575, allocations: 23.44 kB / 0.6202 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of SimCode: time 6.11e-07/0.575, allocations: 0 / 0.6202 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of Templates: time 0.007481/0.5825, allocations: 2.184 MB / 0.6223 GB, free: 14.69 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches