Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2") [: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 3.2.2+maint.om/package.mo): time 0.002808/0.002807, allocations: 184.7 kB / 7.457 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.3/1.3, allocations: 194.2 MB / 202.1 MB, free: 8.695 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001745/0.001745, allocations: 118.5 kB / 247.1 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1634/0.1634, allocations: 39.94 MB / 331.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.232e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.08872, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.3648, allocations: 80.21 MB / 0.5155 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.3652, allocations: 71.42 kB / 0.5156 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01146/0.3766, allocations: 4.998 MB / 0.5204 GB, free: 9.219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.3767, allocations: 4 kB / 0.5204 GB, free: 9.219 MB / 346.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.0004816/0.3772, allocations: 0.5688 MB / 0.521 GB, free: 8.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3773, allocations: 8.844 kB / 0.521 GB, free: 8.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.236e-05/0.3774, allocations: 41.81 kB / 0.521 GB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.3778, allocations: 319.9 kB / 0.5213 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3778, allocations: 5.438 kB / 0.5214 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.3778, allocations: 3 kB / 0.5214 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.955e-05/0.3779, allocations: 13.56 kB / 0.5214 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.378, allocations: 55.7 kB / 0.5214 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.378, allocations: 0 / 0.5214 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.3781, allocations: 0 / 0.5214 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3781, allocations: 1.5 kB / 0.5214 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.3786, allocations: 398.3 kB / 0.5218 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3787, allocations: 30.55 kB / 0.5218 GB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.3788, allocations: 20.17 kB / 0.5219 GB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3788, allocations: 1.188 kB / 0.5219 GB, free: 8.047 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.3788, allocations: 31.72 kB / 0.5219 GB, free: 8.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3788, allocations: 0 / 0.5219 GB, free: 8.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004546/0.3793, allocations: 191.4 kB / 0.5221 GB, free: 7.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.717e-05/0.3793, allocations: 55.41 kB / 0.5221 GB, free: 7.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.3804, allocations: 0.736 MB / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3804, allocations: 25.7 kB / 0.5229 GB, free: 7.609 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.163e-05/0.3805, allocations: 136.8 kB / 0.523 GB, free: 7.508 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.3805, allocations: 13.62 kB / 0.523 GB, free: 7.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-06/0.3805, allocations: 0 / 0.523 GB, free: 7.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.3806, allocations: 359.9 kB / 0.5233 GB, free: 7.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.3807, allocations: 9.812 kB / 0.5234 GB, free: 7.172 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/0.3807, allocations: 17.31 kB / 0.5234 GB, free: 7.168 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.012e-05/0.3807, allocations: 14.62 kB / 0.5234 GB, free: 7.164 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.3807, allocations: 0 / 0.5234 GB, free: 7.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001371/0.3809, allocations: 104.8 kB / 0.5235 GB, free: 7.102 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3809, allocations: 4.938 kB / 0.5235 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3809, allocations: 0.8125 kB / 0.5235 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3809, allocations: 1 kB / 0.5235 GB, free: 7.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.381, allocations: 15.92 kB / 0.5235 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.381, allocations: 0 / 0.5235 GB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.3811, allocations: 10.22 kB / 0.5235 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3811, allocations: 1.188 kB / 0.5235 GB, free: 7.094 MB / 346.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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 4.385e-05/0.3812, allocations: 102.2 kB / 0.5236 GB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.607e-05/0.3812, allocations: 45.06 kB / 0.5237 GB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002096/0.3815, allocations: 117.9 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3815, allocations: 1.438 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3815, allocations: 4 kB / 0.5238 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3815, allocations: 3.984 kB / 0.5238 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005965/0.3821, allocations: 0.5242 MB / 0.5243 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3821, allocations: 144 / 0.5243 GB, free: 6.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.3822, allocations: 16.45 kB / 0.5243 GB, free: 6.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3822, allocations: 3.984 kB / 0.5243 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3822, allocations: 0.7812 kB / 0.5243 GB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3822, allocations: 5.438 kB / 0.5243 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3822, allocations: 320 / 0.5243 GB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001479/0.3824, allocations: 196.8 kB / 0.5245 GB, free: 6.379 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.3825, allocations: 158.8 kB / 0.5247 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.3826, allocations: 1.375 kB / 0.5247 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.3827, allocations: 4.875 kB / 0.5247 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.3827, allocations: 10.14 kB / 0.5247 GB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3827, allocations: 5.125 kB / 0.5247 GB, free: 6.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0005556/0.3833, allocations: 0.5939 MB / 0.5253 GB, free: 6.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.3836, allocations: 55.44 kB / 0.5253 GB, free: 6.094 MB / 346.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 (5): * Single equations (assignments): 5 * 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.0004734/0.3841, allocations: 210.6 kB / 0.5255 GB, free: 5.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.3842, allocations: 63.33 kB / 0.5256 GB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3843, allocations: 1.25 kB / 0.5256 GB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.469e-05/0.3843, allocations: 16.88 kB / 0.5256 GB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.3846, allocations: 22.36 kB / 0.5256 GB, free: 5.902 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3859, allocations: 0.6811 MB / 0.5263 GB, free: 5.656 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.3863, allocations: 0.8463 MB / 0.5271 GB, free: 4.887 MB / 346.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3863, allocations: 0 / 0.5271 GB, free: 4.887 MB / 346.7 MB Notification: Performance of Templates: time 0.005663/0.392, allocations: 1.926 MB / 0.529 GB, free: 3.941 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1)