Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 197.2 kB / 18.11 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.514/1.514, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007864/0.0007864, allocations: 102.1 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3791/0.3791, allocations: 44.82 MB / 394.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002994/0.0002995, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4115, allocations: 62.96 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1298/0.5414, allocations: 90.61 MB / 0.6069 GB, free: 14.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.5417, allocations: 87.88 kB / 0.607 GB, free: 14.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.5605, allocations: 6.381 MB / 0.6132 GB, free: 8.258 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5606, allocations: 0 / 0.6132 GB, free: 8.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/0.5606, allocations: 11.98 kB / 0.6132 GB, free: 8.246 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.0006457/0.5612, allocations: 450.9 kB / 0.6137 GB, free: 7.754 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.5613, allocations: 8.031 kB / 0.6137 GB, free: 7.746 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.152e-05/0.5614, allocations: 16.73 kB / 0.6137 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5617, allocations: 220.8 kB / 0.6139 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.5617, allocations: 384 / 0.6139 GB, free: 7.477 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.5618, allocations: 4.375 kB / 0.6139 GB, free: 7.473 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5619, allocations: 58.22 kB / 0.614 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.562, allocations: 192 / 0.614 GB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.562, allocations: 7.938 kB / 0.614 GB, free: 7.402 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.562, allocations: 4 kB / 0.614 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.661e-05/0.5621, allocations: 23.92 kB / 0.614 GB, free: 7.375 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.5625, allocations: 288.9 kB / 0.6143 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.5627, allocations: 62.61 kB / 0.6143 GB, free: 6.973 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.961e-05/0.5628, allocations: 20.84 kB / 0.6143 GB, free: 6.949 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.5628, allocations: 7.938 kB / 0.6144 GB, free: 6.941 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.563, allocations: 67.39 kB / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.563, allocations: 0 / 0.6144 GB, free: 6.863 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006268/0.5636, allocations: 181.1 kB / 0.6146 GB, free: 6.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5637, allocations: 59.34 kB / 0.6146 GB, free: 6.609 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.5639, allocations: 200.1 kB / 0.6148 GB, free: 6.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.564, allocations: 29.7 kB / 0.6149 GB, free: 6.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.564, allocations: 104.1 kB / 0.615 GB, free: 6.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.5641, allocations: 19.72 kB / 0.615 GB, free: 6.246 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.5641, allocations: 0 / 0.615 GB, free: 6.246 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.5643, allocations: 330.8 kB / 0.6153 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.86e-05/0.5644, allocations: 23.92 kB / 0.6153 GB, free: 5.891 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.5644, allocations: 37.7 kB / 0.6154 GB, free: 5.848 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.5646, allocations: 65.64 kB / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.5646, allocations: 0 / 0.6154 GB, free: 5.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000202/0.5648, allocations: 109.4 kB / 0.6155 GB, free: 5.664 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5648, allocations: 6.656 kB / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5648, allocations: 384 / 0.6155 GB, free: 5.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5648, allocations: 4 kB / 0.6155 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.487e-05/0.5649, allocations: 12 kB / 0.6155 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.565, allocations: 4 kB / 0.6156 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.565, allocations: 12.02 kB / 0.6156 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.565, allocations: 0 / 0.6156 GB, free: 5.629 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.0001089/0.5651, allocations: 135.5 kB / 0.6157 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.5652, allocations: 7.906 kB / 0.6157 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.5654, allocations: 123 kB / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5655, allocations: 0 / 0.6158 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.5655, allocations: 4 kB / 0.6158 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5655, allocations: 0 / 0.6158 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.566, allocations: 419.2 kB / 0.6162 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.566, allocations: 0 / 0.6162 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.45e-05/0.566, allocations: 15.92 kB / 0.6162 GB, free: 4.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5661, allocations: 4 kB / 0.6162 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.5661, allocations: 4 kB / 0.6162 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5661, allocations: 288 / 0.6162 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.5661, allocations: 3.938 kB / 0.6162 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.5663, allocations: 212.2 kB / 0.6165 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.5664, allocations: 96.91 kB / 0.6165 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.5665, allocations: 4 kB / 0.6165 GB, free: 4.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.5665, allocations: 7.984 kB / 0.6166 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.5666, allocations: 11.92 kB / 0.6166 GB, free: 4.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.5666, allocations: 4 kB / 0.6166 GB, free: 4.488 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001299/0.5667, allocations: 151.2 kB / 0.6167 GB, free: 4.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5667, allocations: 0 / 0.6167 GB, free: 4.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002723/0.567, allocations: 35.98 kB / 0.6167 GB, free: 4.305 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.001065/0.5681, allocations: 478.6 kB / 0.6172 GB, free: 3.996 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5683, allocations: 63.91 kB / 0.6173 GB, free: 3.934 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5684, allocations: 0 / 0.6173 GB, free: 3.934 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.5684, allocations: 35.92 kB / 0.6173 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.5688, allocations: 21 kB / 0.6173 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.5693, allocations: 258.2 kB / 0.6176 GB, free: 3.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5696, allocations: 0.7004 MB / 0.6183 GB, free: 2.871 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.887e-05/0.5697, allocations: 24.55 kB / 0.6183 GB, free: 2.848 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.5698, allocations: 19.44 kB / 0.6183 GB, free: 2.828 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5698, allocations: 0 / 0.6183 GB, free: 2.828 MB / 426.7 MB Notification: Performance of Templates: time 0.004723/0.5745, allocations: 1.724 MB / 0.62 GB, free: 1.121 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches