Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31") translateModel(ModelicaTest.Tables.CombiTable2D.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo): time 0.0009073/0.0009073, allocations: 184.2 kB / 7.806 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.083/1.083, allocations: 205.2 MB / 213.4 MB, free: 8.516 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000791/0.000791, allocations: 90.73 kB / 261.4 MB, free: 5.117 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1566/0.1566, allocations: 43.49 MB / 352.9 MB, free: 11.34 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 6.171e-06/6.202e-06, allocations: 4 kB / 417.7 MB, free: 68.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/0.08452, allocations: 58.84 MB / 476.6 MB, free: 9.285 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2613/0.3459, allocations: 86.3 MB / 0.5497 GB, free: 9.875 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.3461, allocations: 68.39 kB / 0.5497 GB, free: 9.84 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.01522/0.3614, allocations: 5.928 MB / 0.5555 GB, free: 5.234 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3614, allocations: 7.938 kB / 0.5555 GB, free: 5.227 MB / 370.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.000369/0.3618, allocations: 412.5 kB / 0.5559 GB, free: 4.785 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3618, allocations: 12.02 kB / 0.5559 GB, free: 4.773 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.3619, allocations: 11.81 kB / 0.556 GB, free: 4.762 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.3621, allocations: 185.6 kB / 0.5561 GB, free: 4.547 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.3621, allocations: 7.984 kB / 0.5561 GB, free: 4.539 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.3621, allocations: 4 kB / 0.5561 GB, free: 4.535 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.079e-05/0.3622, allocations: 15.94 kB / 0.5562 GB, free: 4.523 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.3623, allocations: 62.45 kB / 0.5562 GB, free: 4.457 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3623, allocations: 0 / 0.5562 GB, free: 4.457 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3623, allocations: 8 kB / 0.5562 GB, free: 4.449 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3623, allocations: 0 / 0.5562 GB, free: 4.449 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.3627, allocations: 267.2 kB / 0.5565 GB, free: 4.168 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/0.3627, allocations: 34.27 kB / 0.5565 GB, free: 4.133 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.593e-05/0.3628, allocations: 12.8 kB / 0.5565 GB, free: 4.117 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.3628, allocations: 0 / 0.5565 GB, free: 4.117 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3628, allocations: 45.34 kB / 0.5566 GB, free: 4.066 MB / 370.8 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3628, allocations: 0 / 0.5566 GB, free: 4.066 MB / 370.8 MB Notification: Performance of matching and sorting (n=7): time 0.0004204/0.3633, allocations: 126.7 kB / 0.5567 GB, free: 3.953 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3633, allocations: 81.11 kB / 0.5568 GB, free: 3.855 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3634, allocations: 126.8 kB / 0.5569 GB, free: 3.734 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.3634, allocations: 25.7 kB / 0.5569 GB, free: 3.703 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/0.3635, allocations: 88.14 kB / 0.557 GB, free: 3.613 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3635, allocations: 22.89 kB / 0.557 GB, free: 3.594 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.3635, allocations: 0 / 0.557 GB, free: 3.594 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3636, allocations: 318.2 kB / 0.5573 GB, free: 3.277 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.837e-05/0.3637, allocations: 19.23 kB / 0.5573 GB, free: 3.266 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.3637, allocations: 32.28 kB / 0.5574 GB, free: 3.234 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.142e-05/0.3637, allocations: 19.56 kB / 0.5574 GB, free: 3.219 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-07/0.3637, allocations: 0 / 0.5574 GB, free: 3.219 MB / 370.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001108/0.3639, allocations: 71.69 kB / 0.5575 GB, free: 3.152 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3639, allocations: 4 kB / 0.5575 GB, free: 3.148 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3639, allocations: 4 kB / 0.5575 GB, free: 3.145 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.305e-06/0.3639, allocations: 0 / 0.5575 GB, free: 3.145 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.364, allocations: 23.98 kB / 0.5575 GB, free: 3.121 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-06/0.364, allocations: 0 / 0.5575 GB, free: 3.121 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.628e-05/0.3641, allocations: 19.92 kB / 0.5575 GB, free: 3.102 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.3641, allocations: 6.875 kB / 0.5575 GB, free: 3.098 MB / 370.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 (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.34e-05/0.3642, allocations: 106.3 kB / 0.5576 GB, free: 2.988 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.3642, allocations: 11.81 kB / 0.5576 GB, free: 2.977 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.3644, allocations: 79.17 kB / 0.5577 GB, free: 2.902 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3644, allocations: 4 kB / 0.5577 GB, free: 2.898 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3644, allocations: 0 / 0.5577 GB, free: 2.898 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3644, allocations: 3.984 kB / 0.5577 GB, free: 2.895 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.3647, allocations: 338 kB / 0.558 GB, free: 2.551 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3647, allocations: 0 / 0.558 GB, free: 2.551 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.185e-05/0.3648, allocations: 23.98 kB / 0.5581 GB, free: 2.527 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3648, allocations: 4 kB / 0.5581 GB, free: 2.523 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.3649, allocations: 0 / 0.5581 GB, free: 2.523 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3649, allocations: 0 / 0.5581 GB, free: 2.523 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3649, allocations: 0 / 0.5581 GB, free: 2.523 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001383/0.365, allocations: 166.1 kB / 0.5582 GB, free: 2.359 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.566e-05/0.3651, allocations: 89 kB / 0.5583 GB, free: 2.254 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3651, allocations: 3.906 kB / 0.5583 GB, free: 2.25 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.3652, allocations: 18.86 kB / 0.5583 GB, free: 2.234 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.3652, allocations: 8.125 kB / 0.5583 GB, free: 2.227 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.834e-06/0.3653, allocations: 11.92 kB / 0.5583 GB, free: 2.215 MB / 370.8 MB Notification: Performance of sort global known variables: time 6.127e-05/0.3653, allocations: 109.5 kB / 0.5585 GB, free: 2.121 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0002399/0.3656, allocations: 23.94 kB / 0.5585 GB, free: 2.098 MB / 370.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 (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.0006003/0.3662, allocations: 336.7 kB / 0.5588 GB, free: 1.82 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3663, allocations: 41.92 kB / 0.5588 GB, free: 1.793 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3663, allocations: 0 / 0.5588 GB, free: 1.793 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.3663, allocations: 26.88 kB / 0.5589 GB, free: 1.773 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.3665, allocations: 19.64 kB / 0.5589 GB, free: 1.758 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002835/0.3668, allocations: 113.9 kB / 0.559 GB, free: 1.633 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003151/0.3672, allocations: 0.7153 MB / 0.5597 GB, free: 0.8906 MB / 370.8 MB Notification: Performance of SimCode: time 2.81e-07/0.3672, allocations: 0 / 0.5597 GB, free: 0.8906 MB / 370.8 MB Notification: Performance of Templates: time 0.003402/0.3706, allocations: 1.504 MB / 0.5612 GB, free: 15.4 MB / 386.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1)