Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") [: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.001091/0.001091, allocations: 175.9 kB / 8.52 MB, free: 1.844 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.364/1.364, allocations: 221.4 MB / 230.3 MB, free: 7.762 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.0009311/0.0009312, allocations: 84.67 kB / 281.2 MB, free: 5.508 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.1865/0.1865, allocations: 44.15 MB / 376.1 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.413e-06/7.423e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 61.91 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3169/0.442, allocations: 86.69 MB / 0.5788 GB, free: 10.05 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.4424, allocations: 75.17 kB / 0.5788 GB, free: 10.01 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0111/0.4535, allocations: 4.19 MB / 0.5829 GB, free: 5.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.4535, allocations: 0 / 0.5829 GB, free: 5.859 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.0003491/0.4539, allocations: 386.1 kB / 0.5833 GB, free: 5.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.4539, allocations: 15.97 kB / 0.5833 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.454, allocations: 11.81 kB / 0.5833 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.4541, allocations: 170.9 kB / 0.5835 GB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.4541, allocations: 4 kB / 0.5835 GB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.4542, allocations: 4 kB / 0.5835 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.542e-05/0.4543, allocations: 39.98 kB / 0.5835 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4544, allocations: 171.2 kB / 0.5837 GB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4545, allocations: 4 kB / 0.5837 GB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4545, allocations: 4 kB / 0.5837 GB, free: 4.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/0.4545, allocations: 15.98 kB / 0.5837 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008143/0.4553, allocations: 1.674 MB / 0.5853 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.5e-05/0.4554, allocations: 169.1 kB / 0.5855 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.4555, allocations: 88.05 kB / 0.5856 GB, free: 2.879 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.4555, allocations: 75.28 kB / 0.5857 GB, free: 2.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.4555, allocations: 109.8 kB / 0.5858 GB, free: 2.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.314e-06/0.4555, allocations: 3.984 kB / 0.5858 GB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.584e-05/0.4556, allocations: 37.55 kB / 0.5858 GB, free: 2.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.4557, allocations: 51.41 kB / 0.5859 GB, free: 2.578 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.4558, allocations: 173.2 kB / 0.586 GB, free: 2.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.487e-06/0.4558, allocations: 25.7 kB / 0.586 GB, free: 2.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.4559, allocations: 147.1 kB / 0.5862 GB, free: 2.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.4559, allocations: 4 kB / 0.5862 GB, free: 2.219 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.456, allocations: 0 / 0.5862 GB, free: 2.219 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.4561, allocations: 322.8 kB / 0.5865 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.205e-05/0.4561, allocations: 24 kB / 0.5865 GB, free: 1.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.4563, allocations: 159.7 kB / 0.5867 GB, free: 1.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.002e-05/0.4564, allocations: 59.91 kB / 0.5867 GB, free: 1.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4564, allocations: 4 kB / 0.5867 GB, free: 1.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002553/0.4566, allocations: 161.8 kB / 0.5869 GB, free: 1.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.4566, allocations: 4 kB / 0.5869 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4567, allocations: 12 kB / 0.5869 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4567, allocations: 8 kB / 0.5869 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4568, allocations: 35.92 kB / 0.5869 GB, free: 1.371 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4568, allocations: 11.98 kB / 0.587 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.744e-05/0.4569, allocations: 15.75 kB / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4569, allocations: 19.98 kB / 0.587 GB, free: 1.324 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.482e-05/0.457, allocations: 188.1 kB / 0.5872 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.4571, allocations: 116.7 kB / 0.5873 GB, free: 1.012 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.67e-05/0.4572, allocations: 120.4 kB / 0.5874 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-05/0.4572, allocations: 180.2 kB / 0.5876 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.32e-05/0.4573, allocations: 182.6 kB / 0.5877 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.336e-05/0.4574, allocations: 180.3 kB / 0.5879 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.4576, allocations: 405.8 kB / 0.5883 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/0.4576, allocations: 108.9 kB / 0.5884 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.39e-05/0.4577, allocations: 101 kB / 0.5885 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.346e-05/0.4578, allocations: 176.3 kB / 0.5887 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-05/0.4578, allocations: 184.1 kB / 0.5888 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.517e-05/0.4579, allocations: 188.2 kB / 0.589 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.693e-05/0.458, allocations: 176.3 kB / 0.5892 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000116/0.4581, allocations: 307.7 kB / 0.5895 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.241e-05/0.4582, allocations: 190 kB / 0.5897 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-05/0.4583, allocations: 188.4 kB / 0.5898 GB, free: 14.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.904e-05/0.4583, allocations: 105 kB / 0.5899 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/0.4584, allocations: 188.2 kB / 0.5901 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.4585, allocations: 104.9 kB / 0.5902 GB, free: 13.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.344e-05/0.4585, allocations: 123.2 kB / 0.5903 GB, free: 13.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002698/0.4588, allocations: 12 kB / 0.5904 GB, free: 13.66 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.0004309/0.4593, allocations: 258.3 kB / 0.5906 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.4594, allocations: 56.92 kB / 0.5907 GB, free: 13.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.4594, allocations: 12.12 kB / 0.5907 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.4594, allocations: 0 / 0.5907 GB, free: 13.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.4597, allocations: 0.5185 MB / 0.5912 GB, free: 12.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.46, allocations: 194.8 kB / 0.5914 GB, free: 12.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.4603, allocations: 0.7235 MB / 0.5921 GB, free: 11.88 MB / 410.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4603, allocations: 0 / 0.5921 GB, free: 11.88 MB / 410.7 MB Notification: Performance of Templates: time 0.002767/0.4631, allocations: 0.7188 MB / 0.5928 GB, free: 11.16 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches