Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00169/0.00169, allocations: 201.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.592/1.592, 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.000936/0.000936, allocations: 100.4 kB / 297.5 MB, free: 6.715 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3883/0.3883, allocations: 44.82 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002904/0.0002906, allocations: 12 kB / 467.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.387, allocations: 62.96 MB / 0.5184 GB, free: 37.54 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.5205, allocations: 90.66 MB / 0.607 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.5208, allocations: 79.94 kB / 0.607 GB, free: 14.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.54, allocations: 6.666 MB / 0.6135 GB, free: 7.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.54, allocations: 0 / 0.6135 GB, free: 7.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.5401, allocations: 4 kB / 0.6136 GB, free: 7.93 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.000687/0.5407, allocations: 470.7 kB / 0.614 GB, free: 7.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5408, allocations: 12.03 kB / 0.614 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.5409, allocations: 12.75 kB / 0.614 GB, free: 7.395 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.5412, allocations: 241.5 kB / 0.6143 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.5413, allocations: 4.375 kB / 0.6143 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.5413, allocations: 384 / 0.6143 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.5415, allocations: 54.23 kB / 0.6143 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5415, allocations: 4.188 kB / 0.6143 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5415, allocations: 7.938 kB / 0.6143 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5415, allocations: 0 / 0.6143 GB, free: 7.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.5416, allocations: 23.97 kB / 0.6143 GB, free: 7.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004534/0.5421, allocations: 289 kB / 0.6146 GB, free: 6.688 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.5422, allocations: 66.55 kB / 0.6147 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.649e-05/0.5423, allocations: 28.84 kB / 0.6147 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.5423, allocations: 0 / 0.6147 GB, free: 6.582 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.5425, allocations: 63.39 kB / 0.6148 GB, free: 6.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.5425, allocations: 0 / 0.6148 GB, free: 6.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005962/0.5431, allocations: 193.2 kB / 0.615 GB, free: 6.312 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.5432, allocations: 55.41 kB / 0.615 GB, free: 6.246 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.5434, allocations: 234.9 kB / 0.6152 GB, free: 6.012 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.5435, allocations: 29.7 kB / 0.6153 GB, free: 5.977 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.5435, allocations: 112.1 kB / 0.6154 GB, free: 5.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.5436, allocations: 23.7 kB / 0.6154 GB, free: 5.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.5436, allocations: 0 / 0.6154 GB, free: 5.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.5437, allocations: 338.6 kB / 0.6157 GB, free: 5.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.172e-05/0.5438, allocations: 23.98 kB / 0.6157 GB, free: 5.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.5439, allocations: 33.7 kB / 0.6158 GB, free: 5.438 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.544, allocations: 61.72 kB / 0.6158 GB, free: 5.371 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.544, allocations: 3.984 kB / 0.6158 GB, free: 5.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002129/0.5442, allocations: 105.4 kB / 0.6159 GB, free: 5.258 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.5443, allocations: 4 kB / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5443, allocations: 0 / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.5443, allocations: 0 / 0.6159 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.424e-05/0.5444, allocations: 19.98 kB / 0.616 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.5444, allocations: 3.938 kB / 0.616 GB, free: 5.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.437e-05/0.5445, allocations: 12.03 kB / 0.616 GB, free: 5.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.5445, allocations: 0 / 0.616 GB, free: 5.219 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.0001223/0.5446, allocations: 135.6 kB / 0.6161 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.5447, allocations: 19.8 kB / 0.6161 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.5449, allocations: 123.1 kB / 0.6162 GB, free: 4.938 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.5449, allocations: 7.984 kB / 0.6162 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5449, allocations: 0 / 0.6162 GB, free: 4.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.545, allocations: 4 kB / 0.6162 GB, free: 4.926 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.5455, allocations: 431.2 kB / 0.6167 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5455, allocations: 0 / 0.6167 GB, free: 4.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.857e-05/0.5455, allocations: 8 kB / 0.6167 GB, free: 4.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.5455, allocations: 4 kB / 0.6167 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.5456, allocations: 3.984 kB / 0.6167 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5456, allocations: 0 / 0.6167 GB, free: 4.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5456, allocations: 3.938 kB / 0.6167 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.5458, allocations: 216.5 kB / 0.6169 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.5459, allocations: 101 kB / 0.617 GB, free: 4.078 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.546, allocations: 3.938 kB / 0.617 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.546, allocations: 4 kB / 0.617 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.5461, allocations: 15.92 kB / 0.617 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.5461, allocations: 4 kB / 0.617 GB, free: 4.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001733/0.5463, allocations: 184.2 kB / 0.6172 GB, free: 3.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5463, allocations: 0 / 0.6172 GB, free: 3.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002801/0.5466, allocations: 31.94 kB / 0.6172 GB, free: 3.84 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.001066/0.5477, allocations: 470.9 kB / 0.6177 GB, free: 3.535 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.5479, allocations: 59.91 kB / 0.6177 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5479, allocations: 0 / 0.6177 GB, free: 3.477 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.548, allocations: 28 kB / 0.6177 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.5483, allocations: 35.8 kB / 0.6178 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.5489, allocations: 298.5 kB / 0.6181 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.5493, allocations: 0.716 MB / 0.6188 GB, free: 2.355 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.5494, allocations: 16.86 kB / 0.6188 GB, free: 2.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.5495, allocations: 23.42 kB / 0.6188 GB, free: 2.316 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5495, allocations: 0 / 0.6188 GB, free: 2.316 MB / 426.7 MB Notification: Performance of Templates: time 0.00485/0.5543, allocations: 1.789 MB / 0.6205 GB, free: 0.5391 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches