Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 196.5 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 226.5 MB / 245.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001015, allocations: 90.03 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.3913/0.3913, allocations: 44.81 MB / 394.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004731, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4092, allocations: 62.96 MB / 0.5184 GB, free: 37.47 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.5369, allocations: 90.88 MB / 0.6072 GB, free: 14.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5373, allocations: 75.95 kB / 0.6072 GB, free: 14.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02042/0.5577, allocations: 7.247 MB / 0.6143 GB, free: 7.098 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.252e-06/0.5578, allocations: 0 / 0.6143 GB, free: 7.098 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.5578, allocations: 3.938 kB / 0.6143 GB, free: 7.094 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.0007244/0.5585, allocations: 439 kB / 0.6147 GB, free: 6.613 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.5586, allocations: 8.031 kB / 0.6148 GB, free: 6.605 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.5586, allocations: 20.73 kB / 0.6148 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.559, allocations: 218.9 kB / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.559, allocations: 384 / 0.615 GB, free: 6.336 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.586e-05/0.559, allocations: 4.375 kB / 0.615 GB, free: 6.332 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5592, allocations: 75.5 kB / 0.6151 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5592, allocations: 0 / 0.6151 GB, free: 6.246 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.5593, allocations: 4 kB / 0.6151 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5593, allocations: 0 / 0.6151 GB, free: 6.242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.401e-05/0.5593, allocations: 23.98 kB / 0.6151 GB, free: 6.219 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.5598, allocations: 296.8 kB / 0.6154 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.5599, allocations: 54.67 kB / 0.6154 GB, free: 5.816 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.488e-05/0.56, allocations: 24.86 kB / 0.6154 GB, free: 5.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.56, allocations: 4 kB / 0.6155 GB, free: 5.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.5602, allocations: 79.31 kB / 0.6155 GB, free: 5.695 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.5602, allocations: 0 / 0.6155 GB, free: 5.695 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000541/0.5608, allocations: 169.2 kB / 0.6157 GB, free: 5.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.5608, allocations: 81.05 kB / 0.6158 GB, free: 5.426 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.561, allocations: 171.2 kB / 0.6159 GB, free: 5.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.561, allocations: 33.7 kB / 0.616 GB, free: 5.211 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.5611, allocations: 96.12 kB / 0.6161 GB, free: 5.113 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.5611, allocations: 23.66 kB / 0.6161 GB, free: 5.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5611, allocations: 4 kB / 0.6161 GB, free: 5.086 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5613, allocations: 326.8 kB / 0.6164 GB, free: 4.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.5613, allocations: 19.98 kB / 0.6164 GB, free: 4.738 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.5614, allocations: 50.5 kB / 0.6165 GB, free: 4.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.5615, allocations: 65.66 kB / 0.6165 GB, free: 4.609 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.5615, allocations: 0 / 0.6165 GB, free: 4.609 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001932/0.5617, allocations: 101.6 kB / 0.6166 GB, free: 4.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5618, allocations: 4 kB / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5618, allocations: 0 / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.5618, allocations: 0 / 0.6166 GB, free: 4.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/0.5619, allocations: 19.94 kB / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5619, allocations: 0 / 0.6166 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.5619, allocations: 12.02 kB / 0.6167 GB, free: 4.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.562, allocations: 4 kB / 0.6167 GB, free: 4.465 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 9.283e-05/0.5621, allocations: 121.8 kB / 0.6168 GB, free: 4.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.5621, allocations: 11.81 kB / 0.6168 GB, free: 4.324 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.5624, allocations: 118.3 kB / 0.6169 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.5624, allocations: 0 / 0.6169 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5624, allocations: 0 / 0.6169 GB, free: 4.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.5624, allocations: 3.984 kB / 0.6169 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.5629, allocations: 411.2 kB / 0.6173 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5629, allocations: 0 / 0.6173 GB, free: 3.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.5629, allocations: 15.98 kB / 0.6173 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5629, allocations: 0 / 0.6173 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5629, allocations: 4 kB / 0.6173 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.5629, allocations: 11.88 kB / 0.6173 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.563, allocations: 0 / 0.6173 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002312/0.5632, allocations: 208.5 kB / 0.6175 GB, free: 3.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.5633, allocations: 92.91 kB / 0.6176 GB, free: 3.371 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.5633, allocations: 4 kB / 0.6176 GB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.085e-05/0.5634, allocations: 12.02 kB / 0.6176 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.501e-05/0.5634, allocations: 15.86 kB / 0.6176 GB, free: 3.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.5634, allocations: 4.375 kB / 0.6176 GB, free: 3.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.5635, allocations: 135.2 kB / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5636, allocations: 0 / 0.6178 GB, free: 3.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.5639, allocations: 55.92 kB / 0.6178 GB, free: 3.148 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.001171/0.5651, allocations: 0.5585 MB / 0.6184 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.5652, allocations: 63.92 kB / 0.6184 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5653, allocations: 0 / 0.6184 GB, free: 2.715 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.5654, allocations: 35.92 kB / 0.6185 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.5657, allocations: 24.28 kB / 0.6185 GB, free: 2.656 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.5662, allocations: 218.2 kB / 0.6187 GB, free: 2.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.5665, allocations: 0.6965 MB / 0.6194 GB, free: 1.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.682e-05/0.5665, allocations: 20.53 kB / 0.6194 GB, free: 1.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.906e-05/0.5666, allocations: 23.42 kB / 0.6194 GB, free: 1.648 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5666, allocations: 4 kB / 0.6194 GB, free: 1.645 MB / 426.7 MB Notification: Performance of Templates: time 0.004879/0.5715, allocations: 2.299 MB / 0.6217 GB, free: 15.36 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches