Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000745/0.000745, allocations: 100.6 kB / 295.1 MB, free: 4.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.174/0.174, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002465, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09384, allocations: 62.95 MB / 0.5153 GB, free: 5.109 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.001686/0.09558, allocations: 1.335 MB / 0.5166 GB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006477/0.09625, allocations: 0.6408 MB / 0.5173 GB, free: 3.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.09632, allocations: 4 kB / 0.5173 GB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001713/0.0965, allocations: 23.91 kB / 0.5173 GB, free: 3.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.09672, allocations: 31.91 kB / 0.5173 GB, free: 3.055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.398e-06/0.09673, allocations: 0 / 0.5173 GB, free: 3.055 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.09686, allocations: 47.78 kB / 0.5174 GB, free: 3.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.0969, allocations: 3.984 kB / 0.5174 GB, free: 3.004 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.09693, allocations: 15.92 kB / 0.5174 GB, free: 2.988 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.826e-05/0.09701, allocations: 15.94 kB / 0.5174 GB, free: 2.973 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.09703, allocations: 4 kB / 0.5174 GB, free: 2.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.09708, allocations: 7.984 kB / 0.5174 GB, free: 2.961 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.09712, allocations: 11.94 kB / 0.5174 GB, free: 2.949 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.09714, allocations: 33.7 kB / 0.5174 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 9.271e-05/0.09724, allocations: 55.91 kB / 0.5175 GB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.09725, allocations: 0 / 0.5175 GB, free: 2.855 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09726, allocations: 4 kB / 0.5175 GB, free: 2.852 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.09727, allocations: 0 / 0.5175 GB, free: 2.852 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0002601/0.09753, allocations: 359.5 kB / 0.5178 GB, free: 2.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.09757, allocations: 8.031 kB / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.203e-05/0.09761, allocations: 3.906 kB / 0.5179 GB, free: 2.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.806e-05/0.09771, allocations: 174.9 kB / 0.518 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.09773, allocations: 7.984 kB / 0.518 GB, free: 2.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.09775, allocations: 3.984 kB / 0.518 GB, free: 2.219 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.09791, allocations: 126.8 kB / 0.5182 GB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.09792, allocations: 0 / 0.5182 GB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.09794, allocations: 4 kB / 0.5182 GB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.09798, allocations: 19.98 kB / 0.5182 GB, free: 2.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.259e-05/0.09805, allocations: 43.86 kB / 0.5182 GB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004127/0.09847, allocations: 0.8984 MB / 0.5191 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.424e-05/0.09852, allocations: 177.2 kB / 0.5193 GB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.09854, allocations: 84.12 kB / 0.5194 GB, free: 0.7656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.09856, allocations: 75.28 kB / 0.5194 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.09859, allocations: 109.8 kB / 0.5195 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.09859, allocations: 0 / 0.5195 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.457e-05/0.09866, allocations: 37.55 kB / 0.5196 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.0987, allocations: 130.7 kB / 0.5197 GB, free: 400 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.09883, allocations: 193.3 kB / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-06/0.09885, allocations: 25.7 kB / 0.5199 GB, free: 164 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.09891, allocations: 151.1 kB / 0.52 GB, free: 8 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.09891, allocations: 0 / 0.52 GB, free: 8 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-06/0.09892, allocations: 4 kB / 0.52 GB, free: 4 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.09905, allocations: 326.8 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.665e-05/0.0991, allocations: 31.98 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.09922, allocations: 145.2 kB / 0.5205 GB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.543e-05/0.09931, allocations: 71.91 kB / 0.5206 GB, free: 15.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.09932, allocations: 0 / 0.5206 GB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002715/0.0996, allocations: 197.2 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.09962, allocations: 8 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.09964, allocations: 4 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.09966, allocations: 11.95 kB / 0.5208 GB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.09978, allocations: 39.91 kB / 0.5208 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.0998, allocations: 8.469 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.286e-05/0.0999, allocations: 27.78 kB / 0.5209 GB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.09992, allocations: 15.98 kB / 0.5209 GB, free: 15.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001133/0.1, allocations: 209 kB / 0.5211 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.1001, allocations: 108.9 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.469e-05/0.1002, allocations: 116.9 kB / 0.5213 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.155e-05/0.1002, allocations: 184.2 kB / 0.5215 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-05/0.1003, allocations: 184.2 kB / 0.5217 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.546e-05/0.1003, allocations: 180.2 kB / 0.5218 GB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1005, allocations: 421.2 kB / 0.5222 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.423e-05/0.1006, allocations: 108.9 kB / 0.5223 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.1006, allocations: 105 kB / 0.5224 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.582e-05/0.1007, allocations: 180.3 kB / 0.5226 GB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.655e-05/0.1007, allocations: 184.2 kB / 0.5228 GB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.265e-05/0.1008, allocations: 184.2 kB / 0.523 GB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.821e-05/0.1008, allocations: 184.2 kB / 0.5231 GB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.101, allocations: 307.7 kB / 0.5234 GB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.101, allocations: 197.9 kB / 0.5236 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.1011, allocations: 176.3 kB / 0.5238 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.1012, allocations: 108.9 kB / 0.5239 GB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.1013, allocations: 180.3 kB / 0.5241 GB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.1013, allocations: 104.9 kB / 0.5242 GB, free: 11.49 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.1014, allocations: 132.1 kB / 0.5243 GB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1014, allocations: 4 kB / 0.5243 GB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002863/0.1017, allocations: 16 kB / 0.5243 GB, free: 11.34 MB / 362.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 (0): * Single equations (assignments): 0 * 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.0004093/0.1021, allocations: 286 kB / 0.5246 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001248/0.1022, allocations: 72.66 kB / 0.5246 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1022, allocations: 384 / 0.5246 GB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-06/0.1022, allocations: 4 kB / 0.5247 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.1026, allocations: 0.5263 MB / 0.5252 GB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.1029, allocations: 308.7 kB / 0.5255 GB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1032, allocations: 0.7009 MB / 0.5261 GB, free: 9.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.901e-05/0.1032, allocations: 15.44 kB / 0.5262 GB, free: 9.422 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1032, allocations: 0 / 0.5262 GB, free: 9.422 MB / 362.7 MB Notification: Performance of Templates: time 0.00242/0.1057, allocations: 1.267 MB / 0.5274 GB, free: 8.156 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches