Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009643/0.0009643, 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.262/1.262, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.001105/0.001105, allocations: 87.48 kB / 281.2 MB, free: 5.449 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.1808/0.1808, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.754e-06/7.784e-06, allocations: 224 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1205, allocations: 61.9 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.4158, allocations: 87.98 MB / 0.58 GB, free: 8.496 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002039/0.4161, allocations: 76.2 kB / 0.5801 GB, free: 8.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01718/0.4333, allocations: 7.55 MB / 0.5875 GB, free: 1.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.252e-05/0.4333, allocations: 7.938 kB / 0.5875 GB, free: 1.078 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.0005884/0.4339, allocations: 0.5402 MB / 0.588 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.434, allocations: 13.22 kB / 0.588 GB, free: 492 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.948e-05/0.4341, allocations: 43.44 kB / 0.588 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.4345, allocations: 319.3 kB / 0.5883 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.4346, allocations: 4 kB / 0.5883 GB, free: 84 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.4346, allocations: 8 kB / 0.5884 GB, free: 76 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.749e-05/0.4347, allocations: 19.94 kB / 0.5884 GB, free: 56 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.87e-05/0.4348, allocations: 41.69 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4348, allocations: 0 / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4348, allocations: 0 / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.4348, allocations: 4 kB / 0.5884 GB, free: 4 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.4354, allocations: 421.1 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.4355, allocations: 26.52 kB / 0.5888 GB, free: 15.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.4355, allocations: 12.83 kB / 0.5889 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.4356, allocations: 4 kB / 0.5889 GB, free: 15.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4356, allocations: 34.55 kB / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4356, allocations: 0 / 0.5889 GB, free: 15.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002366/0.4358, allocations: 81.23 kB / 0.589 GB, free: 15.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4359, allocations: 51.41 kB / 0.589 GB, free: 15.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001129/0.437, allocations: 0.7551 MB / 0.5898 GB, free: 14.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.437, allocations: 25.7 kB / 0.5898 GB, free: 14.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.4371, allocations: 132 kB / 0.5899 GB, free: 14.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.4371, allocations: 7.906 kB / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.4371, allocations: 0 / 0.5899 GB, free: 14.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4373, allocations: 358.8 kB / 0.5903 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.748e-05/0.4373, allocations: 12.02 kB / 0.5903 GB, free: 14.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.361e-05/0.4373, allocations: 4 kB / 0.5903 GB, free: 14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.995e-05/0.4374, allocations: 11.94 kB / 0.5903 GB, free: 13.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4374, allocations: 0 / 0.5903 GB, free: 13.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001083/0.4375, allocations: 85.12 kB / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.4375, allocations: 4.781 kB / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4375, allocations: 0 / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.4375, allocations: 0 / 0.5904 GB, free: 13.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.661e-05/0.4376, allocations: 8.094 kB / 0.5904 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4376, allocations: 4 kB / 0.5904 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.954e-05/0.4377, allocations: 7.984 kB / 0.5904 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.4377, allocations: 0 / 0.5904 GB, free: 13.88 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 5.891e-05/0.4378, allocations: 108.8 kB / 0.5905 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.4379, allocations: 39.53 kB / 0.5905 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.438, allocations: 96.64 kB / 0.5906 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.438, allocations: 0 / 0.5906 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.4381, allocations: 15.88 kB / 0.5906 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4381, allocations: 7.969 kB / 0.5906 GB, free: 13.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.4384, allocations: 294 kB / 0.5909 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4384, allocations: 0 / 0.5909 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.4384, allocations: 11.98 kB / 0.5909 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.4384, allocations: 3.938 kB / 0.5909 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4384, allocations: 4 kB / 0.5909 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4385, allocations: 0 / 0.5909 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4385, allocations: 0 / 0.5909 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001646/0.4386, allocations: 179 kB / 0.5911 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001761/0.4388, allocations: 160.5 kB / 0.5913 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/0.4389, allocations: 4 kB / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.439, allocations: 4 kB / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.439, allocations: 0 / 0.5913 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.439, allocations: 7.938 kB / 0.5913 GB, free: 12.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006032/0.4396, allocations: 0.6121 MB / 0.5919 GB, free: 12.26 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.4399, allocations: 55.89 kB / 0.5919 GB, free: 12.2 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.0005314/0.4405, allocations: 268.3 kB / 0.5922 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.685e-05/0.4405, allocations: 8 kB / 0.5922 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4405, allocations: 4 kB / 0.5922 GB, free: 11.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.108e-05/0.4406, allocations: 11.98 kB / 0.5922 GB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4408, allocations: 13.97 kB / 0.5922 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.442, allocations: 0.6953 MB / 0.5929 GB, free: 11.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/0.4425, allocations: 0.8489 MB / 0.5937 GB, free: 10.36 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4425, allocations: 0 / 0.5937 GB, free: 10.36 MB / 410.7 MB Notification: Performance of Templates: time 0.005505/0.448, allocations: 1.968 MB / 0.5957 GB, free: 8.391 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches