Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 200.7 kB / 18.1 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 226.5 MB / 245.4 MB, free: 6.512 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008206/0.0008205, allocations: 106.7 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.317/0.317, allocations: 44.81 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.0003171, allocations: 12 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3931/0.3935, allocations: 62.95 MB / 0.5184 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1209/0.5144, allocations: 90.76 MB / 0.6071 GB, free: 14.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.5147, allocations: 83.95 kB / 0.6071 GB, free: 14.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02071/0.5354, allocations: 7.31 MB / 0.6143 GB, free: 7.133 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5355, allocations: 0 / 0.6143 GB, free: 7.133 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.5355, allocations: 0 / 0.6143 GB, free: 7.133 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006508/0.5362, allocations: 478.6 kB / 0.6147 GB, free: 6.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.5362, allocations: 8.875 kB / 0.6147 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.5363, allocations: 16.75 kB / 0.6148 GB, free: 6.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.5366, allocations: 244.9 kB / 0.615 GB, free: 6.309 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.5367, allocations: 12.31 kB / 0.615 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.5367, allocations: 4.375 kB / 0.615 GB, free: 6.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.5369, allocations: 74.2 kB / 0.6151 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5369, allocations: 4.094 kB / 0.6151 GB, free: 6.211 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.5369, allocations: 3.938 kB / 0.6151 GB, free: 6.207 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.5369, allocations: 4 kB / 0.6151 GB, free: 6.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.5371, allocations: 39.97 kB / 0.6151 GB, free: 6.164 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.5375, allocations: 348.7 kB / 0.6155 GB, free: 5.773 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5378, allocations: 78.55 kB / 0.6155 GB, free: 5.688 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.964e-05/0.5379, allocations: 28.95 kB / 0.6156 GB, free: 5.656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.5379, allocations: 3.938 kB / 0.6156 GB, free: 5.652 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.5381, allocations: 87.31 kB / 0.6156 GB, free: 5.555 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.562e-06/0.5381, allocations: 0 / 0.6156 GB, free: 5.555 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008618/0.5389, allocations: 312.7 kB / 0.6159 GB, free: 5.242 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.539, allocations: 55.41 kB / 0.616 GB, free: 5.176 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.5393, allocations: 259.7 kB / 0.6162 GB, free: 4.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.5393, allocations: 25.7 kB / 0.6163 GB, free: 4.883 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.5394, allocations: 124.1 kB / 0.6164 GB, free: 4.758 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.5394, allocations: 47.5 kB / 0.6164 GB, free: 4.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.5394, allocations: 4 kB / 0.6164 GB, free: 4.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5395, allocations: 330.8 kB / 0.6168 GB, free: 4.375 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.103e-05/0.5396, allocations: 35.98 kB / 0.6168 GB, free: 4.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.805e-05/0.5397, allocations: 65.62 kB / 0.6168 GB, free: 4.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5399, allocations: 109.1 kB / 0.617 GB, free: 4.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5399, allocations: 0 / 0.617 GB, free: 4.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002645/0.5402, allocations: 165.4 kB / 0.6171 GB, free: 3.992 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.5402, allocations: 4 kB / 0.6171 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5402, allocations: 0 / 0.6171 GB, free: 3.988 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.5402, allocations: 4 kB / 0.6171 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.793e-05/0.5403, allocations: 31.92 kB / 0.6171 GB, free: 3.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.5403, allocations: 3.984 kB / 0.6172 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.5404, allocations: 7.938 kB / 0.6172 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.5404, allocations: 4 kB / 0.6172 GB, free: 3.938 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 (16): * Single equations (assignments): 16 * 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.0001192/0.5406, allocations: 144.1 kB / 0.6173 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.5406, allocations: 15.81 kB / 0.6173 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003871/0.541, allocations: 199 kB / 0.6175 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.541, allocations: 4 kB / 0.6175 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.541, allocations: 0 / 0.6175 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.541, allocations: 3.938 kB / 0.6175 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.5417, allocations: 0.5391 MB / 0.618 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5417, allocations: 0.8438 kB / 0.618 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.689e-05/0.5418, allocations: 31.86 kB / 0.6181 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5418, allocations: 0 / 0.6181 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.5418, allocations: 4 kB / 0.6181 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5418, allocations: 3.938 kB / 0.6181 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5418, allocations: 0 / 0.6181 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.5421, allocations: 277 kB / 0.6183 GB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.052e-05/0.5422, allocations: 108.8 kB / 0.6184 GB, free: 2.504 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/0.5423, allocations: 7.984 kB / 0.6185 GB, free: 2.496 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.5423, allocations: 11.88 kB / 0.6185 GB, free: 2.484 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.5424, allocations: 15.98 kB / 0.6185 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.5424, allocations: 8 kB / 0.6185 GB, free: 2.461 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.5426, allocations: 193.4 kB / 0.6187 GB, free: 2.273 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5426, allocations: 4 kB / 0.6187 GB, free: 2.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002966/0.5429, allocations: 47.94 kB / 0.6187 GB, free: 2.223 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 (16): * Single equations (assignments): 14 * 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.001096/0.544, allocations: 0.5224 MB / 0.6192 GB, free: 1.879 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.5443, allocations: 107.9 kB / 0.6193 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5443, allocations: 0 / 0.6193 GB, free: 1.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5444, allocations: 59.92 kB / 0.6194 GB, free: 1.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.5448, allocations: 36.92 kB / 0.6194 GB, free: 1.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006038/0.5454, allocations: 372 kB / 0.6198 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.5457, allocations: 0.7321 MB / 0.6205 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.5458, allocations: 29.41 kB / 0.6205 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.5458, allocations: 23.42 kB / 0.6205 GB, free: 488 kB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5458, allocations: 3.938 kB / 0.6206 GB, free: 484 kB / 426.7 MB Notification: Performance of Templates: time 0.005036/0.5509, allocations: 2.276 MB / 0.6228 GB, free: 14.21 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches