Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11") [: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.0009881/0.0009881, allocations: 179.2 kB / 8.52 MB, free: 1.848 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.282/1.282, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009293/0.0009293, allocations: 87.36 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.1694/0.1694, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.085e-06, allocations: 224 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 61.91 MB / 0.4941 GB, free: 1.629 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4834, allocations: 87.96 MB / 0.58 GB, free: 8.812 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4837, allocations: 78.81 kB / 0.5801 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01722/0.501, allocations: 6.093 MB / 0.586 GB, free: 2.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.501, allocations: 0 / 0.586 GB, free: 2.68 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004638/0.5015, allocations: 414 kB / 0.5864 GB, free: 2.234 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.5015, allocations: 17.47 kB / 0.5864 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.5016, allocations: 11.91 kB / 0.5864 GB, free: 2.207 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.5018, allocations: 197.8 kB / 0.5866 GB, free: 1.977 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.5018, allocations: 3.906 kB / 0.5866 GB, free: 1.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.5019, allocations: 8 kB / 0.5866 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.464e-05/0.5019, allocations: 15.94 kB / 0.5867 GB, free: 1.949 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5021, allocations: 55.41 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.918e-06/0.5021, allocations: 0 / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.5021, allocations: 0 / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.5021, allocations: 0 / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.5025, allocations: 269.4 kB / 0.587 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.314e-05/0.5026, allocations: 30.52 kB / 0.587 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.5026, allocations: 20.94 kB / 0.587 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5026, allocations: 0 / 0.587 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.5027, allocations: 30.56 kB / 0.587 GB, free: 1.48 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.5027, allocations: 0 / 0.587 GB, free: 1.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004779/0.5031, allocations: 137.3 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.5032, allocations: 81.05 kB / 0.5872 GB, free: 1.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.5034, allocations: 129.2 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.5034, allocations: 25.7 kB / 0.5874 GB, free: 1.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.5034, allocations: 96.12 kB / 0.5875 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.5035, allocations: 11.72 kB / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.5035, allocations: 0 / 0.5875 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5036, allocations: 322.8 kB / 0.5878 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.5037, allocations: 12 kB / 0.5878 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.5037, allocations: 29.78 kB / 0.5878 GB, free: 0.5938 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.5038, allocations: 15.98 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5038, allocations: 3.906 kB / 0.5879 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001203/0.5039, allocations: 77.62 kB / 0.5879 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.5039, allocations: 7.938 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.5039, allocations: 0 / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5039, allocations: 3.938 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.5041, allocations: 27.92 kB / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5041, allocations: 0 / 0.588 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.992e-05/0.5042, allocations: 23.92 kB / 0.588 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.5042, allocations: 0 / 0.588 GB, free: 440 kB / 394.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 (7): * Single equations (assignments): 7 * 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 8.39e-05/0.5043, allocations: 105 kB / 0.5881 GB, free: 328 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.5044, allocations: 7.906 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.5045, allocations: 90.06 kB / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5046, allocations: 0 / 0.5882 GB, free: 224 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5046, allocations: 4 kB / 0.5882 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.5046, allocations: 0 / 0.5882 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.505, allocations: 327 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.505, allocations: 0 / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.5051, allocations: 23.98 kB / 0.5885 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.5051, allocations: 7.984 kB / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.5051, allocations: 0 / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.5051, allocations: 4 kB / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5051, allocations: 400 / 0.5885 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000173/0.5053, allocations: 175.4 kB / 0.5887 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.5054, allocations: 89.14 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.5054, allocations: 11.89 kB / 0.5888 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.5055, allocations: 16 kB / 0.5888 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.5056, allocations: 7.984 kB / 0.5888 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.5056, allocations: 0 / 0.5888 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.828e-05/0.5057, allocations: 106.2 kB / 0.5889 GB, free: 15.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000275/0.506, allocations: 32 kB / 0.589 GB, free: 15.36 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 (7): * Single equations (assignments): 7 * 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.0006995/0.5067, allocations: 342 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.5068, allocations: 43.92 kB / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5068, allocations: 0 / 0.5893 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.16e-05/0.5069, allocations: 24 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.5071, allocations: 11.98 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.5074, allocations: 111.4 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/0.5078, allocations: 0.7153 MB / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5078, allocations: 0 / 0.5902 GB, free: 14.14 MB / 410.7 MB Notification: Performance of Templates: time 0.003853/0.5117, allocations: 1.514 MB / 0.5916 GB, free: 12.63 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches