Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 174.8 kB / 8.518 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 221.4 MB / 230.3 MB, free: 7.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008723/0.0008724, allocations: 102 kB / 281.2 MB, free: 5.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1961/0.1961, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.784e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/0.4624, allocations: 90.4 MB / 0.5824 GB, free: 6.387 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.4627, allocations: 74.48 kB / 0.5824 GB, free: 6.348 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02476/0.4875, allocations: 9.251 MB / 0.5915 GB, free: 13.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.954e-05/0.4876, allocations: 8 kB / 0.5915 GB, free: 13.09 MB / 410.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.0006718/0.4882, allocations: 0.5755 MB / 0.592 GB, free: 12.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4883, allocations: 11.97 kB / 0.5921 GB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4884, allocations: 43.44 kB / 0.5921 GB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.4889, allocations: 341.2 kB / 0.5924 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.489, allocations: 12 kB / 0.5924 GB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.489, allocations: 11.91 kB / 0.5924 GB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001621/0.4892, allocations: 71.97 kB / 0.5925 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.4894, allocations: 97.59 kB / 0.5926 GB, free: 11.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.4894, allocations: 4 kB / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4894, allocations: 0 / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4894, allocations: 3.938 kB / 0.5926 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000711/0.4901, allocations: 0.5163 MB / 0.5931 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4903, allocations: 89.69 kB / 0.5932 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.4903, allocations: 28.86 kB / 0.5932 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.033e-05/0.4904, allocations: 7.984 kB / 0.5932 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4904, allocations: 38.56 kB / 0.5933 GB, free: 11.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.193e-06/0.4904, allocations: 0 / 0.5933 GB, free: 11.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007536/0.4912, allocations: 359.8 kB / 0.5936 GB, free: 10.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.4912, allocations: 55.41 kB / 0.5937 GB, free: 10.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005241/0.4917, allocations: 473 kB / 0.5941 GB, free: 10.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.4918, allocations: 25.7 kB / 0.5941 GB, free: 10.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.296e-05/0.4919, allocations: 144.4 kB / 0.5943 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.4919, allocations: 55.31 kB / 0.5943 GB, free: 9.984 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/0.4919, allocations: 0 / 0.5943 GB, free: 9.984 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.492, allocations: 354.7 kB / 0.5947 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.4921, allocations: 55.98 kB / 0.5947 GB, free: 9.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.4922, allocations: 58.48 kB / 0.5948 GB, free: 9.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.4923, allocations: 63.88 kB / 0.5948 GB, free: 9.457 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.4923, allocations: 0 / 0.5948 GB, free: 9.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002756/0.4926, allocations: 197.1 kB / 0.595 GB, free: 9.258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4926, allocations: 18.27 kB / 0.5951 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4926, allocations: 0 / 0.5951 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.4927, allocations: 7.938 kB / 0.5951 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.4929, allocations: 35.98 kB / 0.5951 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.4929, allocations: 0 / 0.5951 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.753e-05/0.493, allocations: 11.98 kB / 0.5951 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.493, allocations: 4 kB / 0.5951 GB, free: 9.184 MB / 410.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 () * 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 7.069e-05/0.4931, allocations: 108.9 kB / 0.5952 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.4932, allocations: 43.44 kB / 0.5953 GB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.4936, allocations: 257.2 kB / 0.5955 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.4936, allocations: 4 kB / 0.5955 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4936, allocations: 0 / 0.5955 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4936, allocations: 0 / 0.5955 GB, free: 8.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009202/0.4946, allocations: 0.6781 MB / 0.5962 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4946, allocations: 0 / 0.5962 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.4947, allocations: 43.91 kB / 0.5962 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4947, allocations: 0 / 0.5962 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.4948, allocations: 4 kB / 0.5962 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4948, allocations: 0 / 0.5962 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4948, allocations: 4 kB / 0.5962 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000369/0.4952, allocations: 301.6 kB / 0.5965 GB, free: 7.676 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.4953, allocations: 148.5 kB / 0.5966 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.4954, allocations: 0 / 0.5966 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.4956, allocations: 7.984 kB / 0.5967 GB, free: 7.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.4956, allocations: 19.98 kB / 0.5967 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.4956, allocations: 11.94 kB / 0.5967 GB, free: 7.473 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004573/0.4961, allocations: 379.1 kB / 0.597 GB, free: 7.102 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004077/0.4965, allocations: 59.94 kB / 0.5971 GB, free: 7.043 MB / 410.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 () * 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.001249/0.4978, allocations: 0.4951 MB / 0.5976 GB, free: 6.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.498, allocations: 150.8 kB / 0.5977 GB, free: 6.523 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.498, allocations: 0 / 0.5977 GB, free: 6.523 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.4981, allocations: 79.91 kB / 0.5978 GB, free: 6.445 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/0.4986, allocations: 60.45 kB / 0.5979 GB, free: 6.391 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.4996, allocations: 0.539 MB / 0.5984 GB, free: 5.828 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005183/0.5001, allocations: 0.8604 MB / 0.5992 GB, free: 4.941 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5001, allocations: 0 / 0.5992 GB, free: 4.941 MB / 410.7 MB Notification: Performance of Templates: time 0.008101/0.5082, allocations: 3.758 MB / 0.6029 GB, free: 1.199 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches