Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [: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.0009924/0.0009924, allocations: 187.3 kB / 8.522 MB, free: 1.766 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.299/1.299, 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.0009769/0.000977, allocations: 84.73 kB / 281.2 MB, free: 5.457 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.1751/0.1751, allocations: 44.15 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.648e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1339, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/0.4415, allocations: 87.98 MB / 0.58 GB, free: 8.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003962/0.442, allocations: 76.42 kB / 0.5801 GB, free: 8.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01686/0.4589, allocations: 6.083 MB / 0.586 GB, free: 2.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.192e-05/0.4589, allocations: 4 kB / 0.586 GB, free: 2.711 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.000426/0.4594, allocations: 414 kB / 0.5864 GB, free: 2.266 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.4594, allocations: 13.47 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.4595, allocations: 7.906 kB / 0.5864 GB, free: 2.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.4597, allocations: 190.9 kB / 0.5866 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.4597, allocations: 3.906 kB / 0.5866 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.4597, allocations: 4 kB / 0.5866 GB, free: 2.012 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.349e-05/0.4598, allocations: 15.94 kB / 0.5866 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.506e-05/0.4599, allocations: 63.41 kB / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.4599, allocations: 0 / 0.5867 GB, free: 1.922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.46, allocations: 3.984 kB / 0.5867 GB, free: 1.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.46, allocations: 4 kB / 0.5867 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/0.4603, allocations: 253.4 kB / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.462e-05/0.4604, allocations: 46.48 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.4604, allocations: 16.86 kB / 0.587 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.4604, allocations: 0 / 0.587 GB, free: 1.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.4605, allocations: 34.56 kB / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.4605, allocations: 0 / 0.587 GB, free: 1.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004612/0.4609, allocations: 133.4 kB / 0.5872 GB, free: 1.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.461, allocations: 81.05 kB / 0.5872 GB, free: 1.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.4611, allocations: 135.4 kB / 0.5874 GB, free: 1.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.4611, allocations: 25.7 kB / 0.5874 GB, free: 1.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4612, allocations: 88.14 kB / 0.5875 GB, free: 1.016 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.4612, allocations: 23.7 kB / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4612, allocations: 0 / 0.5875 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.4613, allocations: 314.8 kB / 0.5878 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.4614, allocations: 16 kB / 0.5878 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.811e-05/0.4614, allocations: 25.7 kB / 0.5878 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.31e-05/0.4614, allocations: 16 kB / 0.5879 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.4614, allocations: 3.906 kB / 0.5879 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001087/0.4616, allocations: 69.59 kB / 0.5879 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.4616, allocations: 10.59 kB / 0.5879 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.4616, allocations: 0 / 0.5879 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.4616, allocations: 4.031 kB / 0.5879 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.4617, allocations: 27.92 kB / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.4617, allocations: 0 / 0.588 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.4618, allocations: 23.92 kB / 0.588 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.4619, allocations: 8 kB / 0.588 GB, free: 476 kB / 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 (7): * Single equations (assignments): 7 * 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.55e-05/0.4619, allocations: 101 kB / 0.5881 GB, free: 368 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.462, allocations: 11.84 kB / 0.5881 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.4621, allocations: 86.38 kB / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.4622, allocations: 0 / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4622, allocations: 0 / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4622, allocations: 0 / 0.5882 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000349/0.4625, allocations: 339 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4625, allocations: 0 / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.4626, allocations: 23.98 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.4626, allocations: 0 / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4627, allocations: 4 kB / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4627, allocations: 0 / 0.5885 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4627, allocations: 4 kB / 0.5885 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000144/0.4628, allocations: 171.4 kB / 0.5887 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.4629, allocations: 89 kB / 0.5888 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4629, allocations: 7.906 kB / 0.5888 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.463, allocations: 15.98 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.4631, allocations: 4 kB / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4631, allocations: 0 / 0.5888 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.278e-05/0.4632, allocations: 107.3 kB / 0.5889 GB, free: 15.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002602/0.4634, allocations: 31.98 kB / 0.589 GB, free: 15.4 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 (7): * Single equations (assignments): 7 * 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.0006594/0.4641, allocations: 348.2 kB / 0.5893 GB, free: 15.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.4642, allocations: 39.94 kB / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4642, allocations: 0 / 0.5893 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.883e-05/0.4643, allocations: 24 kB / 0.5893 GB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.4645, allocations: 11.98 kB / 0.5894 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.4648, allocations: 115.4 kB / 0.5895 GB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.4651, allocations: 0.7114 MB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4651, allocations: 0 / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of Templates: time 0.003683/0.4688, allocations: 1.51 MB / 0.5916 GB, free: 12.68 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1)