Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001857/0.001856, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, 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.001062/0.001062, allocations: 99.09 kB / 297.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3573/0.3573, allocations: 44.83 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002616/0.0002618, allocations: 8.219 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3285, allocations: 62.95 MB / 0.5184 GB, free: 37.61 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1171/0.4456, allocations: 90.34 MB / 0.6066 GB, free: 14.98 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.4459, allocations: 79.94 kB / 0.6067 GB, free: 14.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02253/0.4685, allocations: 9.383 MB / 0.6159 GB, free: 5.492 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4686, allocations: 0 / 0.6159 GB, free: 5.492 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.4686, allocations: 12 kB / 0.6159 GB, free: 5.48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008007/0.4694, allocations: 0.6613 MB / 0.6165 GB, free: 4.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.4695, allocations: 12.88 kB / 0.6165 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.087e-05/0.4695, allocations: 44.38 kB / 0.6166 GB, free: 4.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.47, allocations: 360 kB / 0.6169 GB, free: 4.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.4701, allocations: 8.375 kB / 0.6169 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.4701, allocations: 384 / 0.6169 GB, free: 4.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.4703, allocations: 70.23 kB / 0.617 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4703, allocations: 192 / 0.617 GB, free: 4.238 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.4703, allocations: 7.938 kB / 0.617 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.4703, allocations: 4 kB / 0.617 GB, free: 4.227 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.4705, allocations: 55.89 kB / 0.6171 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006845/0.4712, allocations: 472.5 kB / 0.6175 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.4714, allocations: 66.58 kB / 0.6176 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-05/0.4715, allocations: 32.97 kB / 0.6176 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.4716, allocations: 0 / 0.6176 GB, free: 3.551 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4716, allocations: 34.56 kB / 0.6176 GB, free: 3.508 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.4716, allocations: 0 / 0.6176 GB, free: 3.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001705/0.4733, allocations: 0.5659 MB / 0.6182 GB, free: 2.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4734, allocations: 51.41 kB / 0.6183 GB, free: 2.871 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.4748, allocations: 0.8658 MB / 0.6191 GB, free: 1.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4748, allocations: 29.7 kB / 0.6191 GB, free: 1.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.475, allocations: 219.9 kB / 0.6193 GB, free: 1.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.475, allocations: 35.45 kB / 0.6194 GB, free: 1.707 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.475, allocations: 4 kB / 0.6194 GB, free: 1.703 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4752, allocations: 366.8 kB / 0.6197 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4754, allocations: 55.97 kB / 0.6198 GB, free: 1.281 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.4755, allocations: 67.89 kB / 0.6198 GB, free: 1.215 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002865/0.4758, allocations: 140.8 kB / 0.62 GB, free: 1.074 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4758, allocations: 0 / 0.62 GB, free: 1.074 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003963/0.4762, allocations: 213 kB / 0.6202 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.4762, allocations: 10.64 kB / 0.6202 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4762, allocations: 0 / 0.6202 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.4763, allocations: 0.5625 kB / 0.6202 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4764, allocations: 31.92 kB / 0.6202 GB, free: 0.8203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4764, allocations: 4 kB / 0.6202 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.4765, allocations: 19.92 kB / 0.6202 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.4765, allocations: 12 kB / 0.6203 GB, free: 0.7852 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0002477/0.4768, allocations: 213.8 kB / 0.6205 GB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.4769, allocations: 43.44 kB / 0.6205 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.4774, allocations: 247.9 kB / 0.6207 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.4774, allocations: 3.938 kB / 0.6207 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4774, allocations: 7.984 kB / 0.6207 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.4774, allocations: 11.92 kB / 0.6208 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.4786, allocations: 0.7381 MB / 0.6215 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4786, allocations: 0 / 0.6215 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.4787, allocations: 39.84 kB / 0.6215 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4787, allocations: 0 / 0.6215 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4787, allocations: 8 kB / 0.6215 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.4787, allocations: 0 / 0.6215 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4787, allocations: 64 / 0.6215 GB, free: 15.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.4792, allocations: 324.7 kB / 0.6218 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001888/0.4794, allocations: 168.5 kB / 0.622 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/0.4794, allocations: 7.938 kB / 0.622 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.4796, allocations: 15.98 kB / 0.622 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.4796, allocations: 7.984 kB / 0.622 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4796, allocations: 12 kB / 0.622 GB, free: 14.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006826/0.4803, allocations: 0.6394 MB / 0.6227 GB, free: 14.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4803, allocations: 0 / 0.6227 GB, free: 14.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003419/0.4807, allocations: 75.92 kB / 0.6227 GB, free: 14.13 MB / 442.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001027/0.4817, allocations: 456.9 kB / 0.6232 GB, free: 13.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004013/0.4821, allocations: 147.8 kB / 0.6233 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4821, allocations: 0 / 0.6233 GB, free: 13.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.4823, allocations: 71.89 kB / 0.6234 GB, free: 13.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.4827, allocations: 35.25 kB / 0.6234 GB, free: 13.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4841, allocations: 1.007 MB / 0.6244 GB, free: 12.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.4846, allocations: 0.838 MB / 0.6252 GB, free: 11.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001405/0.4847, allocations: 64.77 kB / 0.6253 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.08e-05/0.4848, allocations: 19.44 kB / 0.6253 GB, free: 11.61 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4848, allocations: 0 / 0.6253 GB, free: 11.61 MB / 442.7 MB Notification: Performance of Templates: time 0.006704/0.4915, allocations: 2.87 MB / 0.6281 GB, free: 8.727 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches