Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001054, allocations: 199.8 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, 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.0007167/0.0007167, allocations: 98.11 kB / 295.1 MB, free: 4.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1776/0.1776, allocations: 44.84 MB / 392 MB, free: 11.39 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002613/0.0002614, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09279, allocations: 62.96 MB / 0.5153 GB, free: 5.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001463/0.0943, allocations: 1.335 MB / 0.5166 GB, free: 3.773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000526/0.09484, allocations: 0.6487 MB / 0.5173 GB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.543e-05/0.09488, allocations: 0 / 0.5173 GB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.09503, allocations: 19.92 kB / 0.5173 GB, free: 3.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.0952, allocations: 35.89 kB / 0.5173 GB, free: 3.066 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.09522, allocations: 0 / 0.5173 GB, free: 3.066 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.09535, allocations: 43.78 kB / 0.5174 GB, free: 3.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.562e-05/0.09541, allocations: 4 kB / 0.5174 GB, free: 3.02 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.716e-05/0.09544, allocations: 15.91 kB / 0.5174 GB, free: 3.004 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.09552, allocations: 23.88 kB / 0.5174 GB, free: 2.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.09554, allocations: 0 / 0.5174 GB, free: 2.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.09559, allocations: 15.98 kB / 0.5174 GB, free: 2.965 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.09563, allocations: 11.94 kB / 0.5174 GB, free: 2.953 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.09566, allocations: 33.7 kB / 0.5175 GB, free: 2.914 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 8.765e-05/0.09575, allocations: 51.91 kB / 0.5175 GB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.09576, allocations: 0 / 0.5175 GB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.09577, allocations: 0 / 0.5175 GB, free: 2.863 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.09578, allocations: 0 / 0.5175 GB, free: 2.863 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.0002436/0.09603, allocations: 359.5 kB / 0.5178 GB, free: 2.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.09607, allocations: 12.03 kB / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.09611, allocations: 7.906 kB / 0.5179 GB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.09624, allocations: 174.9 kB / 0.518 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.09627, allocations: 3.984 kB / 0.518 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.09629, allocations: 4 kB / 0.518 GB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.09649, allocations: 126.8 kB / 0.5182 GB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09651, allocations: 0 / 0.5182 GB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.09652, allocations: 0 / 0.5182 GB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.09657, allocations: 23.98 kB / 0.5182 GB, free: 2.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.09664, allocations: 47.84 kB / 0.5182 GB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.09703, allocations: 0.9023 MB / 0.5191 GB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.883e-05/0.09708, allocations: 169.2 kB / 0.5193 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.0971, allocations: 80.14 kB / 0.5194 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.869e-06/0.09712, allocations: 79.28 kB / 0.5194 GB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/0.09714, allocations: 113.8 kB / 0.5195 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.09715, allocations: 0 / 0.5195 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 5.862e-05/0.09721, allocations: 33.61 kB / 0.5196 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.09725, allocations: 130.6 kB / 0.5197 GB, free: 408 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.09739, allocations: 193.3 kB / 0.5199 GB, free: 204 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.0974, allocations: 25.7 kB / 0.5199 GB, free: 172 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.09746, allocations: 151.1 kB / 0.52 GB, free: 16 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.449e-06/0.09747, allocations: 4 kB / 0.52 GB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.09748, allocations: 4 kB / 0.5201 GB, free: 8 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.09761, allocations: 322.8 kB / 0.5204 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.529e-05/0.09766, allocations: 27.98 kB / 0.5204 GB, free: 15.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.0978, allocations: 153.2 kB / 0.5205 GB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/0.09789, allocations: 71.91 kB / 0.5206 GB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.0979, allocations: 0 / 0.5206 GB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002952/0.0982, allocations: 193.7 kB / 0.5208 GB, free: 15.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.09823, allocations: 8 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.09824, allocations: 4 kB / 0.5208 GB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.09826, allocations: 11.89 kB / 0.5208 GB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.09839, allocations: 43.92 kB / 0.5209 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.09841, allocations: 11.92 kB / 0.5209 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.466e-05/0.0985, allocations: 19.78 kB / 0.5209 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.09852, allocations: 16 kB / 0.5209 GB, free: 15.07 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.0001162/0.09864, allocations: 213.1 kB / 0.5211 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.09872, allocations: 108.9 kB / 0.5212 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.09877, allocations: 112.9 kB / 0.5213 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.645e-05/0.09884, allocations: 180.2 kB / 0.5215 GB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/0.09892, allocations: 188.2 kB / 0.5217 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/0.09898, allocations: 180.2 kB / 0.5218 GB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.09923, allocations: 425.2 kB / 0.5222 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.275e-05/0.09928, allocations: 101 kB / 0.5223 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.09931, allocations: 104.9 kB / 0.5224 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.09939, allocations: 184.3 kB / 0.5226 GB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.354e-05/0.09945, allocations: 184.2 kB / 0.5228 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.205e-05/0.09951, allocations: 176.3 kB / 0.523 GB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.071e-05/0.09958, allocations: 188.2 kB / 0.5231 GB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.09971, allocations: 311.7 kB / 0.5234 GB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.735e-05/0.09978, allocations: 189.9 kB / 0.5236 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.8e-05/0.09986, allocations: 180.2 kB / 0.5238 GB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.675e-05/0.09994, allocations: 108.9 kB / 0.5239 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1, allocations: 180.3 kB / 0.5241 GB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.1, allocations: 104.9 kB / 0.5242 GB, free: 11.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.188e-05/0.1001, allocations: 136.1 kB / 0.5243 GB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1002, allocations: 0 / 0.5243 GB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002731/0.1004, allocations: 16 kB / 0.5243 GB, free: 11.35 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.0004501/0.1009, allocations: 276 kB / 0.5246 GB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.101, allocations: 75.78 kB / 0.5246 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.101, allocations: 0 / 0.5246 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.101, allocations: 1.25 kB / 0.5246 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1014, allocations: 0.5367 MB / 0.5252 GB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.1018, allocations: 304.7 kB / 0.5255 GB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.1021, allocations: 0.7048 MB / 0.5261 GB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.1021, allocations: 15.44 kB / 0.5262 GB, free: 9.43 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1021, allocations: 0 / 0.5262 GB, free: 9.43 MB / 362.7 MB Notification: Performance of Templates: time 0.002278/0.1044, allocations: 1.274 MB / 0.5274 GB, free: 8.16 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches