Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009688/0.0009688, allocations: 199.5 kB / 16.78 MB, free: 5.016 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 244.1 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008077/0.0008075, allocations: 103 kB / 296.1 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.3645/0.3645, allocations: 44.82 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3247, allocations: 62.96 MB / 0.5165 GB, free: 37.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4438, allocations: 91.99 MB / 0.6063 GB, free: 13.41 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.4441, allocations: 79.95 kB / 0.6064 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02548/0.4696, allocations: 10.03 MB / 0.6162 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4696, allocations: 0 / 0.6162 GB, free: 3.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.042e-05/0.4697, allocations: 11.98 kB / 0.6162 GB, free: 3.277 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000817/0.4705, allocations: 0.6703 MB / 0.6168 GB, free: 2.555 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4706, allocations: 8.031 kB / 0.6169 GB, free: 2.547 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.831e-05/0.4706, allocations: 44.38 kB / 0.6169 GB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.4712, allocations: 401.8 kB / 0.6173 GB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.4712, allocations: 16.31 kB / 0.6173 GB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4713, allocations: 12.38 kB / 0.6173 GB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.4715, allocations: 102.2 kB / 0.6174 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.4715, allocations: 4.172 kB / 0.6174 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4715, allocations: 11.94 kB / 0.6174 GB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4715, allocations: 4 kB / 0.6174 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.4717, allocations: 71.89 kB / 0.6175 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006451/0.4724, allocations: 0.5081 MB / 0.618 GB, free: 1.289 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.4725, allocations: 101.4 kB / 0.6181 GB, free: 1.184 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.303e-05/0.4726, allocations: 32.84 kB / 0.6181 GB, free: 1.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4727, allocations: 8 kB / 0.6181 GB, free: 1.141 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.4727, allocations: 34.5 kB / 0.6182 GB, free: 1.098 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.4727, allocations: 0 / 0.6182 GB, free: 1.098 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008901/0.4736, allocations: 406.8 kB / 0.6185 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.4736, allocations: 55.41 kB / 0.6186 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006209/0.4743, allocations: 0.5721 MB / 0.6192 GB, free: 56 kB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.4743, allocations: 29.7 kB / 0.6192 GB, free: 20 kB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.4745, allocations: 216.3 kB / 0.6194 GB, free: 15.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.4745, allocations: 51.2 kB / 0.6194 GB, free: 15.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.4745, allocations: 8 kB / 0.6194 GB, free: 15.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4747, allocations: 358.8 kB / 0.6198 GB, free: 15.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001157/0.4748, allocations: 51.97 kB / 0.6198 GB, free: 15.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.4749, allocations: 51.89 kB / 0.6199 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.4751, allocations: 132.8 kB / 0.62 GB, free: 15.15 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4751, allocations: 0 / 0.62 GB, free: 15.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003272/0.4755, allocations: 212.6 kB / 0.6202 GB, free: 14.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4755, allocations: 4 kB / 0.6202 GB, free: 14.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4755, allocations: 4 kB / 0.6202 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4755, allocations: 0 / 0.6202 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.4757, allocations: 39.91 kB / 0.6203 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.974e-06/0.4757, allocations: 4 kB / 0.6203 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.36e-05/0.4758, allocations: 8 kB / 0.6203 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4758, allocations: 8 kB / 0.6203 GB, free: 14.88 MB / 442.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 (17): * Single equations (assignments): 17 * 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.0001769/0.476, allocations: 173.7 kB / 0.6204 GB, free: 14.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.1e-05/0.4761, allocations: 51.38 kB / 0.6205 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.4765, allocations: 245.7 kB / 0.6207 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4765, allocations: 0 / 0.6207 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.4765, allocations: 11.92 kB / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4765, allocations: 0 / 0.6207 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.4774, allocations: 0.6972 MB / 0.6214 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4774, allocations: 0 / 0.6214 GB, free: 13.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/0.4775, allocations: 47.91 kB / 0.6215 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.4775, allocations: 0 / 0.6215 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4775, allocations: 4 kB / 0.6215 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4776, allocations: 0 / 0.6215 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4776, allocations: 0 / 0.6215 GB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.4779, allocations: 317.8 kB / 0.6218 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4781, allocations: 144.6 kB / 0.6219 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.4781, allocations: 7.984 kB / 0.6219 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.4782, allocations: 12 kB / 0.6219 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.4783, allocations: 11.98 kB / 0.6219 GB, free: 13.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4783, allocations: 11.92 kB / 0.622 GB, free: 13.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004853/0.4788, allocations: 427.1 kB / 0.6224 GB, free: 12.63 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4788, allocations: 4 kB / 0.6224 GB, free: 12.63 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.4792, allocations: 75.92 kB / 0.6224 GB, free: 12.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.001529/0.4807, allocations: 0.6898 MB / 0.6231 GB, free: 12.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000298/0.481, allocations: 146.8 kB / 0.6233 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.481, allocations: 0 / 0.6233 GB, free: 12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.4811, allocations: 83.89 kB / 0.6233 GB, free: 11.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004886/0.4816, allocations: 71.06 kB / 0.6234 GB, free: 11.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4828, allocations: 0.8313 MB / 0.6242 GB, free: 10.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/0.4831, allocations: 0.8106 MB / 0.625 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4832, allocations: 43.42 kB / 0.625 GB, free: 10.11 MB / 442.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4833, allocations: 0 / 0.625 GB, free: 10.11 MB / 442.7 MB Notification: Performance of Templates: time 0.007112/0.4904, allocations: 4.895 MB / 0.6298 GB, free: 5.207 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches