Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.0009355/0.0009355, allocations: 181.9 kB / 8.521 MB, free: 1.824 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.384/1.384, allocations: 221.4 MB / 230.3 MB, free: 7.867 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.0008924/0.000892, allocations: 86.61 kB / 281.2 MB, free: 5.586 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.1888/0.1888, allocations: 44.14 MB / 376.1 MB, free: 3.262 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.417e-06/9.618e-06, allocations: 4 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 61.9 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4504, allocations: 88.43 MB / 0.5804 GB, free: 8.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4507, allocations: 71.95 kB / 0.5805 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01748/0.4682, allocations: 6.189 MB / 0.5866 GB, free: 2.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4683, allocations: 0 / 0.5866 GB, free: 2.219 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.0005766/0.4689, allocations: 414.2 kB / 0.5869 GB, free: 1.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4689, allocations: 13.47 kB / 0.587 GB, free: 1.758 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.469, allocations: 11.81 kB / 0.587 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.4693, allocations: 190.9 kB / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4693, allocations: 0 / 0.5872 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.4694, allocations: 4 kB / 0.5872 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001318/0.4695, allocations: 23.98 kB / 0.5872 GB, free: 1.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.4697, allocations: 63.34 kB / 0.5872 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.4697, allocations: 4 kB / 0.5872 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.4697, allocations: 4 kB / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4697, allocations: 0 / 0.5872 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004948/0.4702, allocations: 285.3 kB / 0.5875 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.4703, allocations: 38.56 kB / 0.5876 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.4704, allocations: 16.86 kB / 0.5876 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.4704, allocations: 3.906 kB / 0.5876 GB, free: 1.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.4705, allocations: 38.44 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4705, allocations: 0 / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006055/0.4711, allocations: 153.4 kB / 0.5878 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.4711, allocations: 77.11 kB / 0.5878 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4713, allocations: 129 kB / 0.588 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4713, allocations: 25.7 kB / 0.588 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.4714, allocations: 95.98 kB / 0.5881 GB, free: 472 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.4714, allocations: 23.7 kB / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.4714, allocations: 0 / 0.5881 GB, free: 448 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.4715, allocations: 318.8 kB / 0.5884 GB, free: 120 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.071e-05/0.4716, allocations: 20 kB / 0.5884 GB, free: 100 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.227e-05/0.4716, allocations: 41.64 kB / 0.5885 GB, free: 52 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.812e-05/0.4717, allocations: 23.98 kB / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-07/0.4717, allocations: 0 / 0.5885 GB, free: 28 kB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00015/0.4719, allocations: 93.81 kB / 0.5886 GB, free: 15.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4719, allocations: 8.031 kB / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4719, allocations: 0 / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.4719, allocations: 0 / 0.5886 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.4721, allocations: 23.98 kB / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4721, allocations: 0 / 0.5886 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.291e-05/0.4722, allocations: 19.98 kB / 0.5886 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4722, allocations: 4 kB / 0.5886 GB, free: 15.88 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: 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 0.0001213/0.4723, allocations: 112.8 kB / 0.5887 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.4723, allocations: 7.906 kB / 0.5887 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.4726, allocations: 94.16 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4726, allocations: 0 / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4726, allocations: 0 / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4726, allocations: 11.98 kB / 0.5888 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.473, allocations: 355 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.473, allocations: 0 / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.859e-05/0.4731, allocations: 23.98 kB / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4731, allocations: 0 / 0.5892 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.4731, allocations: 4 kB / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4731, allocations: 0 / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.386e-06/0.4731, allocations: 0 / 0.5892 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001737/0.4733, allocations: 191.3 kB / 0.5894 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.4734, allocations: 89 kB / 0.5895 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.4734, allocations: 144 / 0.5895 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.4735, allocations: 15.98 kB / 0.5895 GB, free: 14.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.4736, allocations: 11.92 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.4736, allocations: 4 kB / 0.5895 GB, free: 14.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.228e-05/0.4737, allocations: 110.5 kB / 0.5896 GB, free: 14.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.474, allocations: 31.89 kB / 0.5896 GB, free: 14.75 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.0007325/0.4747, allocations: 339.6 kB / 0.59 GB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001462/0.4749, allocations: 55.97 kB / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4749, allocations: 0 / 0.59 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.02e-05/0.4749, allocations: 35.94 kB / 0.5901 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4752, allocations: 19.22 kB / 0.5901 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003699/0.4755, allocations: 123.5 kB / 0.5902 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.4759, allocations: 0.7192 MB / 0.5909 GB, free: 13.49 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4759, allocations: 0 / 0.5909 GB, free: 13.49 MB / 410.7 MB Notification: Performance of Templates: time 0.004315/0.4803, allocations: 1.572 MB / 0.5924 GB, free: 11.93 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1)