Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33") [: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.001438/0.001438, allocations: 183.3 kB / 8.522 MB, free: 1.762 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.288/1.288, allocations: 221.4 MB / 230.3 MB, free: 3.016 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.0008417/0.0008416, allocations: 90.77 kB / 281.2 MB, free: 1.227 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.3218/0.3218, allocations: 44.14 MB / 376.1 MB, free: 43.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.22e-05, allocations: 0 / 444 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3164, allocations: 61.9 MB / 0.4941 GB, free: 42.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.4292, allocations: 88.8 MB / 0.5808 GB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.4295, allocations: 75.95 kB / 0.5809 GB, free: 12.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01633/0.4458, allocations: 5.754 MB / 0.5865 GB, free: 6.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4459, allocations: 4 kB / 0.5865 GB, free: 6.664 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0009936/0.4469, allocations: 0.5742 MB / 0.5871 GB, free: 6.035 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.4469, allocations: 8.031 kB / 0.5871 GB, free: 6.027 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.447, allocations: 15.81 kB / 0.5871 GB, free: 6.012 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.4473, allocations: 235.7 kB / 0.5873 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4474, allocations: 0 / 0.5873 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.4474, allocations: 4 kB / 0.5873 GB, free: 5.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001534/0.4476, allocations: 55.89 kB / 0.5874 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.4477, allocations: 81.59 kB / 0.5874 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4478, allocations: 0 / 0.5874 GB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.4478, allocations: 7.875 kB / 0.5875 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4478, allocations: 0 / 0.5875 GB, free: 5.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000959/0.4488, allocations: 441.1 kB / 0.5879 GB, free: 5.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4489, allocations: 70.58 kB / 0.5879 GB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.449, allocations: 32.86 kB / 0.588 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.4491, allocations: 160 / 0.588 GB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001595/0.4492, allocations: 103.2 kB / 0.5881 GB, free: 4.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.814e-06/0.4492, allocations: 0 / 0.5881 GB, free: 4.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001824/0.4511, allocations: 0.5162 MB / 0.5886 GB, free: 4.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4511, allocations: 59.31 kB / 0.5886 GB, free: 4.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.4514, allocations: 209.7 kB / 0.5888 GB, free: 4.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.4514, allocations: 25.7 kB / 0.5889 GB, free: 4.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.586e-05/0.4515, allocations: 104.1 kB / 0.589 GB, free: 3.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.4515, allocations: 35.45 kB / 0.589 GB, free: 3.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/0.4515, allocations: 0 / 0.589 GB, free: 3.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.4517, allocations: 330.8 kB / 0.5893 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.4518, allocations: 56 kB / 0.5894 GB, free: 3.535 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4519, allocations: 49.09 kB / 0.5894 GB, free: 3.488 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.123e-05/0.452, allocations: 38.48 kB / 0.5894 GB, free: 3.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.452, allocations: 4 kB / 0.5894 GB, free: 3.449 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003034/0.4523, allocations: 153.4 kB / 0.5896 GB, free: 3.293 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.4523, allocations: 11.94 kB / 0.5896 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.4523, allocations: 0 / 0.5896 GB, free: 3.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4524, allocations: 3.906 kB / 0.5896 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.4528, allocations: 108 kB / 0.5897 GB, free: 3.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4529, allocations: 3.938 kB / 0.5897 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.4533, allocations: 103.9 kB / 0.5898 GB, free: 3.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.347e-05/0.4533, allocations: 4 kB / 0.5898 GB, free: 3.062 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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.726e-05/0.4535, allocations: 105 kB / 0.5899 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.4535, allocations: 23.72 kB / 0.5899 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.4538, allocations: 163.7 kB / 0.5901 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4538, allocations: 0 / 0.5901 GB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4539, allocations: 8 kB / 0.5901 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4539, allocations: 3.938 kB / 0.5901 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005359/0.4544, allocations: 458.9 kB / 0.5905 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4544, allocations: 0 / 0.5905 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.4549, allocations: 115.8 kB / 0.5907 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4549, allocations: 0 / 0.5907 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.4549, allocations: 3.984 kB / 0.5907 GB, free: 2.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.4549, allocations: 3.984 kB / 0.5907 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4549, allocations: 0 / 0.5907 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002959/0.4552, allocations: 239.2 kB / 0.5909 GB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.685e-05/0.4553, allocations: 96.91 kB / 0.591 GB, free: 1.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.668e-05/0.4553, allocations: 4 kB / 0.591 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004781/0.4558, allocations: 99.91 kB / 0.5911 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.456, allocations: 51.91 kB / 0.5911 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.456, allocations: 4 kB / 0.5911 GB, free: 1.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001502/0.4562, allocations: 180.5 kB / 0.5913 GB, free: 1.449 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003124/0.4565, allocations: 47.94 kB / 0.5914 GB, free: 1.402 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006352/0.4571, allocations: 310.6 kB / 0.5917 GB, free: 1.184 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.4575, allocations: 183.3 kB / 0.5918 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4575, allocations: 0 / 0.5918 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4577, allocations: 64 kB / 0.5919 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.458, allocations: 23.98 kB / 0.5919 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006353/0.4586, allocations: 249.8 kB / 0.5921 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/0.4591, allocations: 0.7567 MB / 0.5929 GB, free: 15.86 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4591, allocations: 4 kB / 0.5929 GB, free: 15.86 MB / 426.7 MB Notification: Performance of Templates: time 0.007097/0.4662, allocations: 3.527 MB / 0.5963 GB, free: 12.35 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)