Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001008, allocations: 196.7 kB / 18.1 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.408/1.408, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008223/0.0008226, allocations: 98.66 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.4682/0.4682, allocations: 44.82 MB / 394.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 12 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3782, allocations: 62.96 MB / 0.5184 GB, free: 37.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.519, allocations: 90.91 MB / 0.6072 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5193, allocations: 79.94 kB / 0.6073 GB, free: 14.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.5442, allocations: 9.314 MB / 0.6164 GB, free: 4.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5443, allocations: 0 / 0.6164 GB, free: 4.988 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.5443, allocations: 4 kB / 0.6164 GB, free: 4.984 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008529/0.5451, allocations: 0.5761 MB / 0.6169 GB, free: 4.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.5452, allocations: 8.875 kB / 0.617 GB, free: 4.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.5453, allocations: 32.56 kB / 0.617 GB, free: 4.316 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.5458, allocations: 319.9 kB / 0.6173 GB, free: 3.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5458, allocations: 4.375 kB / 0.6173 GB, free: 3.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.5458, allocations: 16.36 kB / 0.6173 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.5461, allocations: 109.7 kB / 0.6174 GB, free: 3.828 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.5461, allocations: 8.094 kB / 0.6174 GB, free: 3.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.5461, allocations: 3.938 kB / 0.6174 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.5461, allocations: 4 kB / 0.6174 GB, free: 3.812 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.5463, allocations: 59.86 kB / 0.6175 GB, free: 3.754 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.5469, allocations: 496.7 kB / 0.618 GB, free: 3.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.5473, allocations: 130.4 kB / 0.6181 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.5474, allocations: 45.81 kB / 0.6181 GB, free: 3.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5474, allocations: 4 kB / 0.6181 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.5477, allocations: 132.5 kB / 0.6183 GB, free: 2.871 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.5477, allocations: 0 / 0.6183 GB, free: 2.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001283/0.549, allocations: 0.5006 MB / 0.6187 GB, free: 2.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.549, allocations: 85.05 kB / 0.6188 GB, free: 2.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005449/0.5496, allocations: 444.5 kB / 0.6193 GB, free: 1.816 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.5496, allocations: 29.7 kB / 0.6193 GB, free: 1.781 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.5497, allocations: 164.5 kB / 0.6194 GB, free: 1.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.5498, allocations: 67.09 kB / 0.6195 GB, free: 1.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.5498, allocations: 4 kB / 0.6195 GB, free: 1.547 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5499, allocations: 338.8 kB / 0.6198 GB, free: 1.207 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.5501, allocations: 63.91 kB / 0.6199 GB, free: 1.145 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.5502, allocations: 99.39 kB / 0.62 GB, free: 1.035 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.5505, allocations: 163.5 kB / 0.6201 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.5505, allocations: 0 / 0.6201 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004191/0.5509, allocations: 229.1 kB / 0.6204 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.551, allocations: 12 kB / 0.6204 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.551, allocations: 0 / 0.6204 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.551, allocations: 3.938 kB / 0.6204 GB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.5512, allocations: 55.78 kB / 0.6204 GB, free: 0.5625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.5512, allocations: 4 kB / 0.6204 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.806e-05/0.5513, allocations: 12 kB / 0.6204 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.406e-05/0.5513, allocations: 15.98 kB / 0.6205 GB, free: 0.5312 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000207/0.5515, allocations: 162.3 kB / 0.6206 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.5516, allocations: 39.61 kB / 0.6207 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000548/0.5522, allocations: 272.2 kB / 0.6209 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.5522, allocations: 3.938 kB / 0.6209 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.5522, allocations: 3.984 kB / 0.6209 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5522, allocations: 4 kB / 0.6209 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.5534, allocations: 0.8013 MB / 0.6217 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.5535, allocations: 0 / 0.6217 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.096e-05/0.5535, allocations: 31.98 kB / 0.6217 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.5536, allocations: 0 / 0.6217 GB, free: 15.13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.5536, allocations: 8 kB / 0.6217 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.5536, allocations: 8.062 kB / 0.6218 GB, free: 15.12 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5536, allocations: 7.984 kB / 0.6218 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005082/0.5541, allocations: 453.3 kB / 0.6222 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.5543, allocations: 120.7 kB / 0.6223 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.727e-05/0.5543, allocations: 8 kB / 0.6223 GB, free: 14.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.5545, allocations: 15.98 kB / 0.6223 GB, free: 14.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.5545, allocations: 19.92 kB / 0.6223 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.5546, allocations: 11.98 kB / 0.6224 GB, free: 14.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003579/0.5549, allocations: 327 kB / 0.6227 GB, free: 14.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5549, allocations: 0 / 0.6227 GB, free: 14.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.5554, allocations: 72.12 kB / 0.6227 GB, free: 14.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001378/0.5567, allocations: 0.534 MB / 0.6233 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004458/0.5572, allocations: 159.7 kB / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5572, allocations: 0 / 0.6234 GB, free: 13.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.5574, allocations: 88.22 kB / 0.6235 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006101/0.558, allocations: 68.38 kB / 0.6236 GB, free: 13.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.559, allocations: 0.6363 MB / 0.6242 GB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.5594, allocations: 0.7863 MB / 0.625 GB, free: 11.91 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.5595, allocations: 41.94 kB / 0.625 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.247e-05/0.5596, allocations: 35.42 kB / 0.625 GB, free: 11.83 MB / 442.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5596, allocations: 0 / 0.625 GB, free: 11.83 MB / 442.7 MB Notification: Performance of Templates: time 0.007117/0.5667, allocations: 3.332 MB / 0.6283 GB, free: 8.516 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches