Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") [: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.001118/0.001118, allocations: 179.8 kB / 8.519 MB, free: 1.859 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.313/1.313, allocations: 221.4 MB / 230.3 MB, free: 7.699 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.0009091/0.0009091, allocations: 88.73 kB / 281.2 MB, free: 5.496 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.1749/0.1749, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.063e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3105/0.4364, allocations: 87.53 MB / 0.5796 GB, free: 9.234 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.4366, allocations: 72.41 kB / 0.5796 GB, free: 9.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01659/0.4532, allocations: 7.449 MB / 0.5869 GB, free: 1.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.4533, allocations: 4 kB / 0.5869 GB, free: 1.723 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005385/0.4538, allocations: 0.547 MB / 0.5875 GB, free: 1.133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.4539, allocations: 13.22 kB / 0.5875 GB, free: 1.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.4539, allocations: 43.42 kB / 0.5875 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.4544, allocations: 327.3 kB / 0.5878 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.4544, allocations: 3.938 kB / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.4544, allocations: 0 / 0.5878 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.806e-05/0.4545, allocations: 12 kB / 0.5878 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.374e-05/0.4546, allocations: 41.69 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.4546, allocations: 7.938 kB / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.4546, allocations: 0 / 0.5879 GB, free: 0.6484 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4546, allocations: 4 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004803/0.4551, allocations: 397.3 kB / 0.5883 GB, free: 224 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.899e-05/0.4551, allocations: 26.56 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.4552, allocations: 8.922 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.093e-05/0.4552, allocations: 4 kB / 0.5883 GB, free: 172 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.4552, allocations: 30.56 kB / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4552, allocations: 0 / 0.5883 GB, free: 132 kB / 394.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.4554, allocations: 81.08 kB / 0.5884 GB, free: 44 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.4555, allocations: 55.41 kB / 0.5885 GB, free: 15.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.4566, allocations: 0.7512 MB / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.4566, allocations: 25.7 kB / 0.5892 GB, free: 15.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.69e-05/0.4567, allocations: 140 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.312e-05/0.4567, allocations: 3.906 kB / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.4567, allocations: 0 / 0.5894 GB, free: 15.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4568, allocations: 358.6 kB / 0.5897 GB, free: 14.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.6e-05/0.4569, allocations: 8 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.4569, allocations: 4 kB / 0.5897 GB, free: 14.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.764e-05/0.4569, allocations: 3.984 kB / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4569, allocations: 0 / 0.5897 GB, free: 14.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001226/0.457, allocations: 85.23 kB / 0.5898 GB, free: 14.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.4571, allocations: 7.906 kB / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4571, allocations: 0 / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.4571, allocations: 0 / 0.5898 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.4572, allocations: 11.98 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.4572, allocations: 0 / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.4572, allocations: 4 kB / 0.5898 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.4573, allocations: 0 / 0.5898 GB, free: 14.56 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 (2): * Single equations (assignments): 2 * 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 6.529e-05/0.4573, allocations: 105 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.4574, allocations: 43.44 kB / 0.59 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.4576, allocations: 96.69 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4576, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4576, allocations: 3.984 kB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.4576, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.4579, allocations: 301.9 kB / 0.5903 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4579, allocations: 0 / 0.5903 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.401e-05/0.4579, allocations: 15.92 kB / 0.5904 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4579, allocations: 7.969 kB / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4579, allocations: 0 / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.4579, allocations: 0 / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.458, allocations: 0 / 0.5904 GB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001495/0.4581, allocations: 171 kB / 0.5905 GB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/0.4583, allocations: 164.5 kB / 0.5907 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.4583, allocations: 3.984 kB / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4584, allocations: 8.031 kB / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.4585, allocations: 0 / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.4585, allocations: 0 / 0.5907 GB, free: 13.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005998/0.4591, allocations: 0.6082 MB / 0.5913 GB, free: 12.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003351/0.4594, allocations: 44 kB / 0.5913 GB, free: 12.92 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 (2): * Single equations (assignments): 2 * 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.0005189/0.46, allocations: 269.2 kB / 0.5916 GB, free: 12.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.071e-05/0.46, allocations: 19.88 kB / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.46, allocations: 0 / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-05/0.4601, allocations: 4 kB / 0.5916 GB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.4603, allocations: 33.98 kB / 0.5916 GB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.4615, allocations: 0.6759 MB / 0.5923 GB, free: 11.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.462, allocations: 0.8372 MB / 0.5931 GB, free: 11.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.81e-07/0.462, allocations: 0 / 0.5931 GB, free: 11.09 MB / 410.7 MB Notification: Performance of Templates: time 0.005088/0.4671, allocations: 1.955 MB / 0.595 GB, free: 9.129 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches