Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.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.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19") [: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.0009312/0.0009312, allocations: 182.7 kB / 8.521 MB, free: 1.766 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.315/1.315, allocations: 221.4 MB / 230.3 MB, free: 7.672 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.0008887/0.0008886, allocations: 89.86 kB / 281.2 MB, free: 5.473 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.1804/0.1804, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.873e-06/6.903e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.125, allocations: 61.92 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/0.4519, allocations: 89.62 MB / 0.5816 GB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4522, allocations: 74.14 kB / 0.5817 GB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02063/0.4728, allocations: 8.183 MB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.4729, allocations: 8 kB / 0.5897 GB, free: 14.93 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000551/0.4735, allocations: 0.5285 MB / 0.5902 GB, free: 14.36 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4735, allocations: 8.031 kB / 0.5902 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.596e-05/0.4736, allocations: 35.53 kB / 0.5902 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.4742, allocations: 337.1 kB / 0.5906 GB, free: 13.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.4742, allocations: 4 kB / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.4742, allocations: 4 kB / 0.5906 GB, free: 13.94 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001102/0.4743, allocations: 32 kB / 0.5906 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.4744, allocations: 69.61 kB / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.4745, allocations: 0 / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4745, allocations: 0 / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.4745, allocations: 4 kB / 0.5907 GB, free: 13.83 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005683/0.4751, allocations: 425 kB / 0.5911 GB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.306e-05/0.4752, allocations: 50.52 kB / 0.5911 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.947e-05/0.4752, allocations: 28.88 kB / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4752, allocations: 0 / 0.5911 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.4753, allocations: 38.56 kB / 0.5912 GB, free: 13.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 8.02e-07/0.4753, allocations: 0 / 0.5912 GB, free: 13.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002271/0.4755, allocations: 97.31 kB / 0.5913 GB, free: 13.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.4756, allocations: 51.41 kB / 0.5913 GB, free: 13.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.4761, allocations: 469 kB / 0.5918 GB, free: 12.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.4761, allocations: 25.7 kB / 0.5918 GB, free: 12.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.081e-05/0.4762, allocations: 132.3 kB / 0.5919 GB, free: 12.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.4762, allocations: 19.7 kB / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/0.4762, allocations: 0 / 0.5919 GB, free: 12.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.4764, allocations: 350.8 kB / 0.5923 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.721e-05/0.4764, allocations: 19.94 kB / 0.5923 GB, free: 12.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.533e-05/0.4765, allocations: 15.98 kB / 0.5923 GB, free: 12.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.226e-05/0.4765, allocations: 12 kB / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4765, allocations: 0 / 0.5923 GB, free: 12.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001503/0.4767, allocations: 101.2 kB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.4767, allocations: 4 kB / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4767, allocations: 0 / 0.5924 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4767, allocations: 4 kB / 0.5924 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.4768, allocations: 11.98 kB / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4769, allocations: 0 / 0.5924 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.4769, allocations: 15.94 kB / 0.5925 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.477, allocations: 0 / 0.5925 GB, free: 11.89 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 (6): * Single equations (assignments): 6 * 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.113e-05/0.477, allocations: 108.8 kB / 0.5926 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.38e-05/0.4771, allocations: 35.53 kB / 0.5926 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.4773, allocations: 120.9 kB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.4774, allocations: 0 / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4774, allocations: 0 / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.4774, allocations: 4 kB / 0.5927 GB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002929/0.4777, allocations: 270 kB / 0.593 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4777, allocations: 4 kB / 0.593 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.4778, allocations: 11.98 kB / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.4778, allocations: 0 / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.4778, allocations: 4 kB / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4778, allocations: 320 / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.4778, allocations: 0 / 0.593 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002035/0.478, allocations: 207 kB / 0.5932 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.4782, allocations: 140.6 kB / 0.5933 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.419e-05/0.4782, allocations: 0 / 0.5933 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.93e-05/0.4783, allocations: 4 kB / 0.5933 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.083e-05/0.4784, allocations: 7.984 kB / 0.5933 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4784, allocations: 4 kB / 0.5933 GB, free: 10.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004144/0.4788, allocations: 375.1 kB / 0.5937 GB, free: 10.53 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.4791, allocations: 51.78 kB / 0.5937 GB, free: 10.48 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 (6): * Single equations (assignments): 6 * 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.0009083/0.48, allocations: 437.9 kB / 0.5942 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001064/0.4801, allocations: 36 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4802, allocations: 4 kB / 0.5942 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.516e-05/0.4802, allocations: 19.98 kB / 0.5942 GB, free: 10.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004026/0.4806, allocations: 56.45 kB / 0.5943 GB, free: 10.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008211/0.4814, allocations: 448.4 kB / 0.5947 GB, free: 9.586 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005159/0.482, allocations: 0.8289 MB / 0.5955 GB, free: 8.73 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.482, allocations: 0 / 0.5955 GB, free: 8.73 MB / 410.7 MB Notification: Performance of Templates: time 0.006434/0.4884, allocations: 2.842 MB / 0.5983 GB, free: 5.898 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches