Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009973/0.0009973, allocations: 179.1 kB / 8.521 MB, free: 1.824 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.372/1.372, allocations: 221.4 MB / 230.3 MB, free: 7.652 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.0009061/0.0009061, allocations: 89.88 kB / 281.2 MB, free: 5.449 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.1909/0.1909, allocations: 44.15 MB / 376.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.733e-06/6.753e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1247, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3556/0.4804, allocations: 90.07 MB / 0.582 GB, free: 6.73 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4806, allocations: 67.66 kB / 0.5821 GB, free: 6.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02196/0.5026, allocations: 8.4 MB / 0.5903 GB, free: 14.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.333e-05/0.5027, allocations: 4 kB / 0.5903 GB, free: 14.27 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.001078/0.5038, allocations: 0.5325 MB / 0.5908 GB, free: 13.69 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.5039, allocations: 12.03 kB / 0.5909 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.5041, allocations: 35.53 kB / 0.5909 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009299/0.5051, allocations: 333.2 kB / 0.5912 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.5051, allocations: 8 kB / 0.5912 GB, free: 13.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.5051, allocations: 11.84 kB / 0.5912 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/0.5053, allocations: 51.98 kB / 0.5913 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.5055, allocations: 73.67 kB / 0.5913 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5055, allocations: 7.984 kB / 0.5913 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.5055, allocations: 0 / 0.5913 GB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.5055, allocations: 3.984 kB / 0.5914 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.5063, allocations: 461 kB / 0.5918 GB, free: 12.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.5065, allocations: 62.56 kB / 0.5919 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.5065, allocations: 32.97 kB / 0.5919 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.5066, allocations: 0 / 0.5919 GB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.5066, allocations: 30.56 kB / 0.5919 GB, free: 12.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.5066, allocations: 4 kB / 0.5919 GB, free: 12.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003332/0.5069, allocations: 121.1 kB / 0.592 GB, free: 12.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.507, allocations: 51.41 kB / 0.5921 GB, free: 12.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007088/0.5077, allocations: 477 kB / 0.5925 GB, free: 11.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5077, allocations: 25.7 kB / 0.5926 GB, free: 11.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.5078, allocations: 136.2 kB / 0.5927 GB, free: 11.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.5079, allocations: 11.8 kB / 0.5927 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.5079, allocations: 0 / 0.5927 GB, free: 11.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.5081, allocations: 358.7 kB / 0.593 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.354e-05/0.5081, allocations: 20 kB / 0.5931 GB, free: 11.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.783e-05/0.5082, allocations: 19.98 kB / 0.5931 GB, free: 11.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.5082, allocations: 31.92 kB / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5082, allocations: 0 / 0.5931 GB, free: 11.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002031/0.5084, allocations: 117.2 kB / 0.5932 GB, free: 11.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.5085, allocations: 4 kB / 0.5932 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5085, allocations: 0 / 0.5932 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.5085, allocations: 0 / 0.5932 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5086, allocations: 19.92 kB / 0.5932 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5086, allocations: 7.984 kB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.5087, allocations: 7.938 kB / 0.5933 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.5088, allocations: 4 kB / 0.5933 GB, free: 11.04 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.633e-05/0.5088, allocations: 104.9 kB / 0.5934 GB, free: 10.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.493e-05/0.5089, allocations: 35.78 kB / 0.5934 GB, free: 10.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.5092, allocations: 145 kB / 0.5935 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5092, allocations: 4 kB / 0.5935 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5092, allocations: 0 / 0.5935 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5093, allocations: 0 / 0.5935 GB, free: 10.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.5096, allocations: 286 kB / 0.5938 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5096, allocations: 3.938 kB / 0.5938 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-05/0.5097, allocations: 15.98 kB / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5097, allocations: 0 / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.5097, allocations: 0 / 0.5938 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5097, allocations: 4 kB / 0.5938 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.5097, allocations: 0 / 0.5938 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002811/0.51, allocations: 215 kB / 0.594 GB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.5103, allocations: 140.7 kB / 0.5942 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.122e-05/0.5103, allocations: 3.906 kB / 0.5942 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.5104, allocations: 4 kB / 0.5942 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.5105, allocations: 11.92 kB / 0.5942 GB, free: 9.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.5105, allocations: 0 / 0.5942 GB, free: 9.996 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004743/0.511, allocations: 383.1 kB / 0.5946 GB, free: 9.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.5114, allocations: 51.94 kB / 0.5946 GB, free: 9.57 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.001063/0.5124, allocations: 425.3 kB / 0.595 GB, free: 9.262 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.5126, allocations: 51.98 kB / 0.5951 GB, free: 9.211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5126, allocations: 4 kB / 0.5951 GB, free: 9.207 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.563e-05/0.5127, allocations: 31.92 kB / 0.5951 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/0.5131, allocations: 64.34 kB / 0.5952 GB, free: 9.117 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.5142, allocations: 488.2 kB / 0.5956 GB, free: 8.617 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006045/0.5148, allocations: 0.8407 MB / 0.5964 GB, free: 7.75 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5148, allocations: 0 / 0.5964 GB, free: 7.75 MB / 410.7 MB Notification: Performance of Templates: time 0.007065/0.5219, allocations: 2.955 MB / 0.5993 GB, free: 4.809 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches