Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [: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.001042/0.001042, allocations: 179.5 kB / 8.519 MB, free: 1.855 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.222/1.222, allocations: 221.4 MB / 230.3 MB, free: 7.66 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.0008539/0.0008536, allocations: 95.97 kB / 281.2 MB, free: 5.461 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.1842/0.1842, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.687e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 61.91 MB / 0.4941 GB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.451, allocations: 88.24 MB / 0.5803 GB, free: 8.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/0.4514, allocations: 74.14 kB / 0.5803 GB, free: 8.465 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.011/0.4624, allocations: 3.786 MB / 0.584 GB, free: 4.699 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4624, allocations: 4 kB / 0.584 GB, free: 4.695 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.0005295/0.463, allocations: 418.1 kB / 0.5844 GB, free: 4.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.463, allocations: 11.97 kB / 0.5844 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.4631, allocations: 7.906 kB / 0.5844 GB, free: 4.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4634, allocations: 211.4 kB / 0.5846 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.4634, allocations: 0 / 0.5846 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.4634, allocations: 3.984 kB / 0.5847 GB, free: 3.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001064/0.4635, allocations: 24 kB / 0.5847 GB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.4637, allocations: 75.3 kB / 0.5847 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.4637, allocations: 0 / 0.5847 GB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.4637, allocations: 4 kB / 0.5848 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4637, allocations: 0 / 0.5848 GB, free: 3.855 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/0.4643, allocations: 325.2 kB / 0.5851 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.97e-05/0.4644, allocations: 41.7 kB / 0.5851 GB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.511e-05/0.4644, allocations: 24.98 kB / 0.5851 GB, free: 3.426 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.4645, allocations: 7.828 kB / 0.5851 GB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.4645, allocations: 30.56 kB / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4645, allocations: 0 / 0.5852 GB, free: 3.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008104/0.4653, allocations: 265.1 kB / 0.5854 GB, free: 3.117 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.4654, allocations: 81.11 kB / 0.5855 GB, free: 3.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.4655, allocations: 137.7 kB / 0.5856 GB, free: 2.875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4655, allocations: 25.7 kB / 0.5856 GB, free: 2.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.578e-05/0.4656, allocations: 96.22 kB / 0.5857 GB, free: 2.746 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4656, allocations: 27.55 kB / 0.5858 GB, free: 2.719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/0.4656, allocations: 0 / 0.5858 GB, free: 2.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.4657, allocations: 323.6 kB / 0.5861 GB, free: 2.395 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.4658, allocations: 31.94 kB / 0.5861 GB, free: 2.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.663e-05/0.4659, allocations: 53.7 kB / 0.5862 GB, free: 2.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.4659, allocations: 32.2 kB / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.4659, allocations: 0 / 0.5862 GB, free: 2.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.4661, allocations: 117.5 kB / 0.5863 GB, free: 2.152 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.4662, allocations: 4 kB / 0.5863 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.4662, allocations: 3.984 kB / 0.5863 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4662, allocations: 0 / 0.5863 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.4664, allocations: 52 kB / 0.5864 GB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4665, allocations: 11.89 kB / 0.5864 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.4666, allocations: 43.95 kB / 0.5864 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4667, allocations: 0 / 0.5864 GB, free: 2.039 MB / 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 (10): * Single equations (assignments): 10 * 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 7.861e-05/0.4667, allocations: 105 kB / 0.5865 GB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.4668, allocations: 11.91 kB / 0.5865 GB, free: 1.918 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.467, allocations: 126 kB / 0.5866 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4671, allocations: 0 / 0.5866 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4671, allocations: 0 / 0.5866 GB, free: 1.789 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4671, allocations: 4 kB / 0.5866 GB, free: 1.785 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004817/0.4676, allocations: 406.8 kB / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4676, allocations: 0 / 0.587 GB, free: 1.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.4678, allocations: 51.95 kB / 0.5871 GB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.4678, allocations: 3.938 kB / 0.5871 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4678, allocations: 0 / 0.5871 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4678, allocations: 4.281 kB / 0.5871 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4678, allocations: 0 / 0.5871 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000204/0.468, allocations: 211.2 kB / 0.5873 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.818e-05/0.4681, allocations: 89 kB / 0.5874 GB, free: 0.957 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4681, allocations: 3.906 kB / 0.5874 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.4684, allocations: 40.16 kB / 0.5874 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.4684, allocations: 11.98 kB / 0.5874 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4684, allocations: 4 kB / 0.5874 GB, free: 0.8984 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.841e-05/0.4685, allocations: 115.8 kB / 0.5875 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.4688, allocations: 39.92 kB / 0.5876 GB, free: 0.7461 MB / 394.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 (9): * Single equations (assignments): 9 * 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.0008361/0.4697, allocations: 353 kB / 0.5879 GB, free: 484 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4699, allocations: 75.98 kB / 0.588 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4699, allocations: 0 / 0.588 GB, free: 408 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.168e-05/0.47, allocations: 43.92 kB / 0.588 GB, free: 364 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.4703, allocations: 18.33 kB / 0.5881 GB, free: 348 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.4707, allocations: 147.8 kB / 0.5882 GB, free: 176 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.4711, allocations: 0.7305 MB / 0.5889 GB, free: 15.42 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4712, allocations: 3.938 kB / 0.5889 GB, free: 15.41 MB / 410.7 MB Notification: Performance of Templates: time 0.005021/0.4762, allocations: 2.099 MB / 0.591 GB, free: 13.33 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)