Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 171.2 kB / 8.144 MB, free: 2.688 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.2 MB / 213.8 MB, free: 2.148 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001233, allocations: 92.78 kB / 261.8 MB, free: 1.473 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2687/0.2687, allocations: 43.48 MB / 353.2 MB, free: 5.891 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.248e-06, allocations: 0 / 417.7 MB, free: 63.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 58.84 MB / 476.5 MB, free: 4.305 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5293, allocations: 87.03 MB / 0.5504 GB, free: 352 kB / 366.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/0.5297, allocations: 64.34 kB / 0.5504 GB, free: 320 kB / 366.1 MB Notification: Performance of FrontEnd: time 0.01936/0.5491, allocations: 3.705 MB / 0.554 GB, free: 13.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.5492, allocations: 0 / 0.554 GB, free: 13.25 MB / 382.1 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.0007758/0.55, allocations: 413.5 kB / 0.5544 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.55, allocations: 8.031 kB / 0.5545 GB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.5501, allocations: 19.89 kB / 0.5545 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003468/0.5504, allocations: 201.2 kB / 0.5547 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5505, allocations: 0 / 0.5547 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.5505, allocations: 7.906 kB / 0.5547 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000156/0.5507, allocations: 29.55 kB / 0.5547 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.5509, allocations: 62.72 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5509, allocations: 4 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.5509, allocations: 3.938 kB / 0.5548 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.551, allocations: 4 kB / 0.5548 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.5518, allocations: 329.5 kB / 0.5551 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.552, allocations: 32.28 kB / 0.5551 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.404e-05/0.5521, allocations: 20.17 kB / 0.5551 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.5521, allocations: 4 kB / 0.5551 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.5522, allocations: 34.5 kB / 0.5552 GB, free: 12.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.114e-06/0.5522, allocations: 0 / 0.5552 GB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001405/0.5536, allocations: 243.4 kB / 0.5554 GB, free: 11.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.5537, allocations: 77.11 kB / 0.5555 GB, free: 11.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.5539, allocations: 138.6 kB / 0.5556 GB, free: 11.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.5539, allocations: 25.7 kB / 0.5556 GB, free: 11.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.231e-05/0.554, allocations: 154.5 kB / 0.5558 GB, free: 11.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.184e-05/0.5541, allocations: 22.28 kB / 0.5558 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.5541, allocations: 2.953 kB / 0.5558 GB, free: 11.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5542, allocations: 322.2 kB / 0.5561 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.933e-05/0.5543, allocations: 22.56 kB / 0.5561 GB, free: 11.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.5544, allocations: 44.27 kB / 0.5562 GB, free: 11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.5545, allocations: 27.83 kB / 0.5562 GB, free: 10.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5546, allocations: 0 / 0.5562 GB, free: 10.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002827/0.5549, allocations: 95.78 kB / 0.5563 GB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.5549, allocations: 4 kB / 0.5563 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5549, allocations: 0 / 0.5563 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.5549, allocations: 0 / 0.5563 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.5554, allocations: 51.98 kB / 0.5563 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.5554, allocations: 320 / 0.5563 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.5557, allocations: 47.2 kB / 0.5564 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.5558, allocations: 4 kB / 0.5564 GB, free: 10.8 MB / 382.1 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 7.15e-05/0.5558, allocations: 34.62 kB / 0.5564 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.5559, allocations: 11.91 kB / 0.5564 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004079/0.5563, allocations: 120.7 kB / 0.5566 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.5564, allocations: 0 / 0.5566 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5564, allocations: 0 / 0.5566 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.5564, allocations: 3.984 kB / 0.5566 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006979/0.5571, allocations: 378.2 kB / 0.5569 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5571, allocations: 0 / 0.5569 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004229/0.5576, allocations: 59.08 kB / 0.557 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.5576, allocations: 0 / 0.557 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5576, allocations: 0 / 0.557 GB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5576, allocations: 4.125 kB / 0.557 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5576, allocations: 3.906 kB / 0.557 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003317/0.558, allocations: 197.5 kB / 0.5572 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/0.5581, allocations: 92.95 kB / 0.5573 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.05e-05/0.5581, allocations: 7.891 kB / 0.5573 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.5585, allocations: 35.97 kB / 0.5573 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.331e-05/0.5586, allocations: 11.48 kB / 0.5573 GB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.5586, allocations: 7.984 kB / 0.5573 GB, free: 9.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0001291/0.5588, allocations: 114 kB / 0.5574 GB, free: 9.758 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.5591, allocations: 35.92 kB / 0.5575 GB, free: 9.723 MB / 382.1 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.000964/0.5601, allocations: 342.7 kB / 0.5578 GB, free: 9.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003147/0.5604, allocations: 68.16 kB / 0.5579 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5605, allocations: 4 kB / 0.5579 GB, free: 9.383 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.5606, allocations: 34.62 kB / 0.5579 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.561, allocations: 31.84 kB / 0.5579 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.5616, allocations: 175.2 kB / 0.5581 GB, free: 9.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004756/0.5621, allocations: 0.7303 MB / 0.5588 GB, free: 8.395 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5621, allocations: 0 / 0.5588 GB, free: 8.395 MB / 382.1 MB Notification: Performance of Templates: time 0.006365/0.5685, allocations: 2.252 MB / 0.561 GB, free: 6.152 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1)