Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4") [: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.1+maint.om/package.mo): time 0.001991/0.001991, allocations: 180.1 kB / 7.455 MB, free: 1.547 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.271/1.271, allocations: 170.6 MB / 178.4 MB, free: 3.949 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001683/0.001683, allocations: 111.8 kB / 217.7 MB, free: 12.7 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1704/0.1704, allocations: 37.97 MB / 294.8 MB, free: 68 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.763e-06, allocations: 0 / 349.5 MB, free: 29.16 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09657/0.0966, allocations: 48.69 MB / 398.2 MB, free: 12.45 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.3638, allocations: 73.72 MB / 471.9 MB, free: 8.648 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.3642, allocations: 65.97 kB / 472 MB, free: 8.641 MB / 306.8 MB Notification: Performance of FrontEnd: time 0.01098/0.3752, allocations: 4.777 MB / 476.8 MB, free: 6.254 MB / 306.8 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.3752, allocations: 8 kB / 476.8 MB, free: 6.246 MB / 306.8 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.0004258/0.3756, allocations: 0.5594 MB / 477.3 MB, free: 5.652 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3757, allocations: 8.031 kB / 477.3 MB, free: 5.645 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.3758, allocations: 46.88 kB / 477.4 MB, free: 5.602 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003921/0.3762, allocations: 316.3 kB / 477.7 MB, free: 5.27 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3762, allocations: 0 / 477.7 MB, free: 5.27 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3762, allocations: 7.906 kB / 477.7 MB, free: 5.262 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.285e-05/0.3763, allocations: 15.75 kB / 477.7 MB, free: 5.25 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.424e-05/0.3764, allocations: 42.34 kB / 477.8 MB, free: 5.207 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3764, allocations: 0 / 477.8 MB, free: 5.207 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3764, allocations: 0 / 477.8 MB, free: 5.207 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3764, allocations: 4 kB / 477.8 MB, free: 5.203 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.3769, allocations: 400.6 kB / 478.2 MB, free: 4.824 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.377, allocations: 29.22 kB / 478.2 MB, free: 4.793 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.6e-05/0.3771, allocations: 12.42 kB / 478.2 MB, free: 4.781 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3771, allocations: 7.203 kB / 478.2 MB, free: 4.777 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.517e-05/0.3771, allocations: 38.64 kB / 478.2 MB, free: 4.73 MB / 306.8 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3771, allocations: 3.938 kB / 478.2 MB, free: 4.727 MB / 306.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004297/0.3776, allocations: 175.4 kB / 478.4 MB, free: 4.559 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.3776, allocations: 54.53 kB / 478.5 MB, free: 4.496 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009083/0.3785, allocations: 0.7348 MB / 479.2 MB, free: 3.93 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.3785, allocations: 25.7 kB / 479.2 MB, free: 3.898 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.633e-05/0.3786, allocations: 141.5 kB / 479.4 MB, free: 3.773 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.535e-05/0.3786, allocations: 19.73 kB / 479.4 MB, free: 3.754 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.3786, allocations: 0 / 479.4 MB, free: 3.754 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.3787, allocations: 359 kB / 479.7 MB, free: 3.414 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.432e-05/0.3787, allocations: 7.188 kB / 479.7 MB, free: 3.41 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.3787, allocations: 11.94 kB / 479.8 MB, free: 3.402 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.713e-05/0.3788, allocations: 11.31 kB / 479.8 MB, free: 3.395 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.3788, allocations: 0 / 479.8 MB, free: 3.395 MB / 306.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001153/0.3789, allocations: 100.1 kB / 479.9 MB, free: 3.301 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3789, allocations: 15.12 kB / 479.9 MB, free: 3.289 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3789, allocations: 0 / 479.9 MB, free: 3.289 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.379, allocations: 0 / 479.9 MB, free: 3.289 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.379, allocations: 15.98 kB / 479.9 MB, free: 3.273 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.379, allocations: 0 / 479.9 MB, free: 3.273 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.767e-05/0.3791, allocations: 4 kB / 479.9 MB, free: 3.27 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.3791, allocations: 12.17 kB / 479.9 MB, free: 3.258 MB / 306.8 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.962e-05/0.3792, allocations: 112.8 kB / 480 MB, free: 3.141 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.3793, allocations: 35.53 kB / 480.1 MB, free: 3.105 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.3794, allocations: 125.8 kB / 480.2 MB, free: 3 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3795, allocations: 0 / 480.2 MB, free: 3 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3795, allocations: 0 / 480.2 MB, free: 3 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3795, allocations: 3.906 kB / 480.2 MB, free: 2.996 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.38, allocations: 0.5281 MB / 480.7 MB, free: 2.496 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.38, allocations: 0 / 480.7 MB, free: 2.496 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.391e-05/0.3801, allocations: 15.98 kB / 480.7 MB, free: 2.48 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3801, allocations: 4 kB / 480.7 MB, free: 2.477 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3801, allocations: 0 / 480.7 MB, free: 2.477 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3801, allocations: 3.906 kB / 480.7 MB, free: 2.473 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3801, allocations: 0 / 480.7 MB, free: 2.473 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001275/0.3802, allocations: 193.8 kB / 480.9 MB, free: 2.277 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3804, allocations: 159.2 kB / 481.1 MB, free: 2.109 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.179e-05/0.3804, allocations: 0 / 481.1 MB, free: 2.109 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3805, allocations: 4 kB / 481.1 MB, free: 2.105 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.3806, allocations: 7.984 kB / 481.1 MB, free: 2.098 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3806, allocations: 0 / 481.1 MB, free: 2.098 MB / 306.8 MB Notification: Performance of sort global known variables: time 0.0004421/0.381, allocations: 0.5926 MB / 481.7 MB, free: 1.676 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.0002771/0.3813, allocations: 71.77 kB / 481.7 MB, free: 1.605 MB / 306.8 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.0003504/0.3817, allocations: 183.2 kB / 481.9 MB, free: 1.445 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.3818, allocations: 54.83 kB / 482 MB, free: 1.395 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3818, allocations: 0 / 482 MB, free: 1.395 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 2.896e-05/0.3818, allocations: 26.23 kB / 482 MB, free: 1.375 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3821, allocations: 12.84 kB / 482 MB, free: 1.367 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008799/0.383, allocations: 0.6787 MB / 482.7 MB, free: 0.7227 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.3833, allocations: 0.8509 MB / 483.5 MB, free: 15.86 MB / 322.8 MB Notification: Performance of SimCode: time 2.61e-07/0.3833, allocations: 0 / 483.5 MB, free: 15.86 MB / 322.8 MB Notification: Performance of Templates: time 0.00539/0.3887, allocations: 1.933 MB / 485.5 MB, free: 13.93 MB / 322.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1)