Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [: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.0008598/0.0008598, allocations: 183.6 kB / 7.801 MB, free: 2.328 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.082/1.082, allocations: 205.2 MB / 213.4 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00084/0.0008398, allocations: 90.39 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1567/0.1567, allocations: 43.49 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-06/5.53e-06, allocations: 0 / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 58.85 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1063/0.3536, allocations: 86.59 MB / 0.55 GB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001649/0.3538, allocations: 75.95 kB / 0.55 GB, free: 12.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01023/0.3641, allocations: 3.689 MB / 0.5536 GB, free: 8.609 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3641, allocations: 4 kB / 0.5536 GB, free: 8.605 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004735/0.3646, allocations: 414.1 kB / 0.554 GB, free: 8.156 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3646, allocations: 8.031 kB / 0.554 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.3647, allocations: 7.906 kB / 0.554 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3649, allocations: 202.3 kB / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3649, allocations: 0 / 0.5542 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.365, allocations: 7.906 kB / 0.5542 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/0.3651, allocations: 31.98 kB / 0.5543 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3652, allocations: 79.31 kB / 0.5544 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3652, allocations: 0 / 0.5544 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3652, allocations: 0 / 0.5544 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3652, allocations: 0 / 0.5544 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.3658, allocations: 325.3 kB / 0.5547 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.994e-05/0.3659, allocations: 41.64 kB / 0.5547 GB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.3659, allocations: 20.97 kB / 0.5547 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3659, allocations: 4 kB / 0.5547 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.366, allocations: 38.44 kB / 0.5548 GB, free: 7.301 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.366, allocations: 0 / 0.5548 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007207/0.3667, allocations: 249.1 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.3668, allocations: 77.11 kB / 0.5551 GB, free: 6.957 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3669, allocations: 134.9 kB / 0.5552 GB, free: 6.816 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3669, allocations: 25.7 kB / 0.5552 GB, free: 6.785 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.367, allocations: 92.03 kB / 0.5553 GB, free: 6.691 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.367, allocations: 27.59 kB / 0.5553 GB, free: 6.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-06/0.367, allocations: 0 / 0.5553 GB, free: 6.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3671, allocations: 322.8 kB / 0.5556 GB, free: 6.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.3672, allocations: 32.06 kB / 0.5557 GB, free: 6.309 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.3672, allocations: 37.7 kB / 0.5557 GB, free: 6.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.3673, allocations: 32.14 kB / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-07/0.3673, allocations: 0 / 0.5557 GB, free: 6.234 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001547/0.3674, allocations: 97.48 kB / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.3675, allocations: 4 kB / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3675, allocations: 0 / 0.5558 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.576e-06/0.3675, allocations: 4.031 kB / 0.5558 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000233/0.3677, allocations: 55.95 kB / 0.5559 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.3677, allocations: 7.938 kB / 0.5559 GB, free: 6.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3679, allocations: 35.97 kB / 0.5559 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3679, allocations: 4 kB / 0.5559 GB, free: 6.023 MB / 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 (8): * Single equations (assignments): 8 * 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.276e-05/0.368, allocations: 106.3 kB / 0.556 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.368, allocations: 7.906 kB / 0.5561 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3683, allocations: 122.4 kB / 0.5562 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3683, allocations: 0 / 0.5562 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3683, allocations: 0 / 0.5562 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3683, allocations: 4 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.3687, allocations: 374.9 kB / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3687, allocations: 0 / 0.5565 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.3689, allocations: 51.95 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3689, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.3689, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.69e-05/0.369, allocations: 4 kB / 0.5566 GB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.369, allocations: 7.938 kB / 0.5566 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002067/0.3692, allocations: 199.3 kB / 0.5568 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.198e-05/0.3692, allocations: 93 kB / 0.5569 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.3693, allocations: 0 / 0.5569 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3695, allocations: 43.88 kB / 0.5569 GB, free: 4.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.3696, allocations: 15.97 kB / 0.5569 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.3696, allocations: 0 / 0.5569 GB, free: 4.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.307e-05/0.3697, allocations: 116.6 kB / 0.557 GB, free: 4.812 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000244/0.3699, allocations: 39.88 kB / 0.5571 GB, free: 4.773 MB / 394.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 (8): * Single equations (assignments): 8 * 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.0006372/0.3706, allocations: 342.6 kB / 0.5574 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3708, allocations: 71.92 kB / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3708, allocations: 0 / 0.5575 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.35e-05/0.3708, allocations: 35.98 kB / 0.5575 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.371, allocations: 19.86 kB / 0.5575 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.3714, allocations: 151.2 kB / 0.5577 GB, free: 4.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.3717, allocations: 0.7348 MB / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3717, allocations: 0 / 0.5584 GB, free: 3.418 MB / 394.7 MB Notification: Performance of Templates: time 0.004216/0.376, allocations: 2.03 MB / 0.5604 GB, free: 1.395 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)