Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8") [: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.001056/0.001056, allocations: 183.6 kB / 8.52 MB, free: 1.84 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.212/1.212, allocations: 221.4 MB / 230.3 MB, free: 3.008 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.001093/0.001093, allocations: 95.91 kB / 281.2 MB, free: 1.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3528/0.3528, allocations: 44.14 MB / 376.1 MB, free: 43.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.508e-06/9.538e-06, allocations: 4 kB / 444 MB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2992, allocations: 61.89 MB / 0.4941 GB, free: 42.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.4107, allocations: 87.55 MB / 0.5796 GB, free: 13.73 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.411, allocations: 67.97 kB / 0.5796 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01681/0.4279, allocations: 7.46 MB / 0.5869 GB, free: 6.223 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.322e-05/0.4279, allocations: 4 kB / 0.5869 GB, free: 6.219 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005826/0.4285, allocations: 0.538 MB / 0.5875 GB, free: 5.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.4286, allocations: 13.28 kB / 0.5875 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.252e-05/0.4287, allocations: 43.44 kB / 0.5875 GB, free: 5.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004885/0.4292, allocations: 327.3 kB / 0.5878 GB, free: 5.227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4292, allocations: 4 kB / 0.5878 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4292, allocations: 0 / 0.5878 GB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.679e-05/0.4293, allocations: 8 kB / 0.5878 GB, free: 5.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.168e-05/0.4294, allocations: 41.62 kB / 0.5879 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4294, allocations: 0 / 0.5879 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4294, allocations: 0 / 0.5879 GB, free: 5.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.4294, allocations: 4 kB / 0.5879 GB, free: 5.164 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005788/0.43, allocations: 397.3 kB / 0.5883 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.4301, allocations: 26.58 kB / 0.5883 GB, free: 4.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.4301, allocations: 8.922 kB / 0.5883 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.4301, allocations: 0 / 0.5883 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.4302, allocations: 42.5 kB / 0.5883 GB, free: 4.641 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.4302, allocations: 0 / 0.5883 GB, free: 4.641 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002047/0.4304, allocations: 77.12 kB / 0.5884 GB, free: 4.559 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.4304, allocations: 51.41 kB / 0.5885 GB, free: 4.496 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4316, allocations: 0.755 MB / 0.5892 GB, free: 3.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4316, allocations: 25.7 kB / 0.5892 GB, free: 3.703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.058e-05/0.4317, allocations: 136 kB / 0.5893 GB, free: 3.566 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/0.4317, allocations: 7.891 kB / 0.5893 GB, free: 3.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/0.4317, allocations: 3.938 kB / 0.5894 GB, free: 3.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4319, allocations: 362.8 kB / 0.5897 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.825e-05/0.4319, allocations: 4 kB / 0.5897 GB, free: 3.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.4319, allocations: 0 / 0.5897 GB, free: 3.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.759e-05/0.4319, allocations: 8 kB / 0.5897 GB, free: 3.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4319, allocations: 0 / 0.5897 GB, free: 3.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001051/0.432, allocations: 81.16 kB / 0.5898 GB, free: 3.094 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4321, allocations: 7.906 kB / 0.5898 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.4321, allocations: 3.984 kB / 0.5898 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.4321, allocations: 4.094 kB / 0.5898 GB, free: 3.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.652e-05/0.4322, allocations: 4 kB / 0.5898 GB, free: 3.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4322, allocations: 4 kB / 0.5898 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.4323, allocations: 0 / 0.5898 GB, free: 3.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.4323, allocations: 4 kB / 0.5898 GB, free: 3.066 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.003e-05/0.4323, allocations: 101 kB / 0.5899 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.851e-05/0.4324, allocations: 43.42 kB / 0.59 GB, free: 2.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.4326, allocations: 100.3 kB / 0.59 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4326, allocations: 4 kB / 0.5901 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.4326, allocations: 0 / 0.5901 GB, free: 2.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4326, allocations: 3.938 kB / 0.5901 GB, free: 2.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.4329, allocations: 305.9 kB / 0.5903 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.4329, allocations: 0 / 0.5903 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.4329, allocations: 4 kB / 0.5904 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.433, allocations: 4 kB / 0.5904 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.433, allocations: 0 / 0.5904 GB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.433, allocations: 4.031 kB / 0.5904 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.433, allocations: 0 / 0.5904 GB, free: 2.461 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000155/0.4331, allocations: 171 kB / 0.5905 GB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.4333, allocations: 160.5 kB / 0.5907 GB, free: 2.102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4334, allocations: 8 kB / 0.5907 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.027e-05/0.4335, allocations: 0 / 0.5907 GB, free: 2.094 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.4335, allocations: 7.984 kB / 0.5907 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.4335, allocations: 4.031 kB / 0.5907 GB, free: 2.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005996/0.4341, allocations: 0.6043 MB / 0.5913 GB, free: 1.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002771/0.4344, allocations: 47.98 kB / 0.5913 GB, free: 1.434 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.0005897/0.435, allocations: 269.9 kB / 0.5916 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.4351, allocations: 15.94 kB / 0.5916 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4351, allocations: 0 / 0.5916 GB, free: 1.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.101e-05/0.4351, allocations: 8 kB / 0.5916 GB, free: 1.223 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.4354, allocations: 26.95 kB / 0.5916 GB, free: 1.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.4365, allocations: 0.6773 MB / 0.5923 GB, free: 500 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004467/0.437, allocations: 0.8471 MB / 0.5931 GB, free: 15.62 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.437, allocations: 0 / 0.5931 GB, free: 15.62 MB / 426.7 MB Notification: Performance of Templates: time 0.005247/0.4423, allocations: 1.958 MB / 0.595 GB, free: 13.66 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches