Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15") [: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.001293/0.001293, allocations: 178 kB / 8.519 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.268/1.268, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009303/0.0009304, allocations: 85.73 kB / 281.2 MB, free: 5.445 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.1888/0.1888, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.973e-06, allocations: 0 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1347, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4941, allocations: 86.7 MB / 0.5788 GB, free: 9.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.4944, allocations: 72.22 kB / 0.5788 GB, free: 9.75 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0114/0.5058, allocations: 4.191 MB / 0.5829 GB, free: 5.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.5059, allocations: 0 / 0.5829 GB, free: 5.738 MB / 394.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.000464/0.5064, allocations: 394.1 kB / 0.5833 GB, free: 5.309 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.5064, allocations: 11.97 kB / 0.5833 GB, free: 5.297 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.783e-05/0.5065, allocations: 11.81 kB / 0.5833 GB, free: 5.285 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.5067, allocations: 171 kB / 0.5835 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.5067, allocations: 4 kB / 0.5835 GB, free: 5.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.5067, allocations: 4 kB / 0.5835 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.5068, allocations: 39.92 kB / 0.5835 GB, free: 5.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.507, allocations: 171.3 kB / 0.5837 GB, free: 4.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.507, allocations: 11.94 kB / 0.5837 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.507, allocations: 3.984 kB / 0.5837 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.74e-05/0.5071, allocations: 8 kB / 0.5837 GB, free: 4.785 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.5079, allocations: 1.674 MB / 0.5853 GB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.5079, allocations: 169.1 kB / 0.5855 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.594e-05/0.508, allocations: 84.05 kB / 0.5856 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.508, allocations: 79.28 kB / 0.5857 GB, free: 2.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.5081, allocations: 105.8 kB / 0.5858 GB, free: 2.562 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.5081, allocations: 0 / 0.5858 GB, free: 2.562 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.923e-05/0.5082, allocations: 37.59 kB / 0.5858 GB, free: 2.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.5082, allocations: 55.34 kB / 0.5858 GB, free: 2.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.5084, allocations: 169.2 kB / 0.586 GB, free: 2.281 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.5084, allocations: 25.7 kB / 0.586 GB, free: 2.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.5085, allocations: 147.1 kB / 0.5862 GB, free: 2.102 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-06/0.5085, allocations: 8 kB / 0.5862 GB, free: 2.094 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5085, allocations: 0 / 0.5862 GB, free: 2.094 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5086, allocations: 318.8 kB / 0.5865 GB, free: 1.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.5087, allocations: 27.98 kB / 0.5865 GB, free: 1.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.5088, allocations: 151.8 kB / 0.5867 GB, free: 1.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.67e-05/0.5089, allocations: 59.91 kB / 0.5867 GB, free: 1.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5089, allocations: 4 kB / 0.5867 GB, free: 1.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002555/0.5092, allocations: 165.7 kB / 0.5869 GB, free: 1.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.5092, allocations: 9.219 kB / 0.5869 GB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5092, allocations: 8 kB / 0.5869 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.5092, allocations: 11.94 kB / 0.5869 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.5094, allocations: 43.91 kB / 0.5869 GB, free: 1.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.5094, allocations: 4 kB / 0.587 GB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.5095, allocations: 23.73 kB / 0.587 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.5095, allocations: 12 kB / 0.587 GB, free: 1.199 MB / 394.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 () * 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 9.297e-05/0.5096, allocations: 184.1 kB / 0.5872 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/0.5097, allocations: 124.8 kB / 0.5873 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.827e-05/0.5097, allocations: 120.3 kB / 0.5874 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-05/0.5098, allocations: 176.3 kB / 0.5876 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.848e-05/0.5099, allocations: 178.6 kB / 0.5877 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.811e-05/0.51, allocations: 184.1 kB / 0.5879 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002485/0.5102, allocations: 409.8 kB / 0.5883 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.159e-05/0.5103, allocations: 105 kB / 0.5884 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.568e-05/0.5103, allocations: 104.9 kB / 0.5885 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.609e-05/0.5104, allocations: 180.3 kB / 0.5887 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.5105, allocations: 184.2 kB / 0.5888 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-05/0.5105, allocations: 180.2 kB / 0.589 GB, free: 14.99 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000113/0.5106, allocations: 184.3 kB / 0.5892 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001463/0.5108, allocations: 303.7 kB / 0.5895 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.998e-05/0.5109, allocations: 194 kB / 0.5897 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.511, allocations: 180.4 kB / 0.5898 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.5111, allocations: 108.9 kB / 0.5899 GB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.5112, allocations: 184.3 kB / 0.5901 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.5112, allocations: 105 kB / 0.5902 GB, free: 13.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.673e-05/0.5113, allocations: 123.2 kB / 0.5903 GB, free: 13.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000283/0.5116, allocations: 16 kB / 0.5904 GB, free: 13.54 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 (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.0004318/0.512, allocations: 238.9 kB / 0.5906 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.5122, allocations: 61.05 kB / 0.5906 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5122, allocations: 4.062 kB / 0.5906 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.245e-06/0.5122, allocations: 4 kB / 0.5906 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.5125, allocations: 0.5224 MB / 0.5912 GB, free: 12.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.5129, allocations: 190.8 kB / 0.5913 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.5132, allocations: 0.7235 MB / 0.592 GB, free: 11.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5132, allocations: 3.938 kB / 0.592 GB, free: 11.77 MB / 410.7 MB Notification: Performance of Templates: time 0.003328/0.5166, allocations: 0.7293 MB / 0.5928 GB, free: 11.04 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches