Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002202/0.002202, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 85.56 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4048/0.4048, allocations: 43.5 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.989e-06/1.013e-05, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3004, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2396/0.5401, allocations: 86.31 MB / 0.5497 GB, free: 12.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.5405, allocations: 75.47 kB / 0.5497 GB, free: 12.69 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0323/0.5728, allocations: 5.932 MB / 0.5555 GB, free: 6.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5729, allocations: 4 kB / 0.5555 GB, free: 6.746 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.0006325/0.5736, allocations: 410.2 kB / 0.5559 GB, free: 6.301 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5736, allocations: 8.031 kB / 0.5559 GB, free: 6.293 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.5737, allocations: 15.75 kB / 0.5559 GB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.574, allocations: 198.9 kB / 0.5561 GB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.574, allocations: 4 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.574, allocations: 0 / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.693e-05/0.5741, allocations: 16 kB / 0.5562 GB, free: 6.023 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.5743, allocations: 55.34 kB / 0.5562 GB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5743, allocations: 4 kB / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5743, allocations: 0 / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.5743, allocations: 0 / 0.5562 GB, free: 5.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.5748, allocations: 265.4 kB / 0.5565 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.491e-05/0.5749, allocations: 30.58 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/0.5749, allocations: 12.86 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.575, allocations: 0 / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.575, allocations: 42.41 kB / 0.5565 GB, free: 5.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.575, allocations: 4 kB / 0.5566 GB, free: 5.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007501/0.5758, allocations: 129.5 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5759, allocations: 81.11 kB / 0.5568 GB, free: 5.316 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.5761, allocations: 130.6 kB / 0.5569 GB, free: 5.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.5761, allocations: 25.7 kB / 0.5569 GB, free: 5.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.925e-05/0.5762, allocations: 154.6 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.5762, allocations: 19.7 kB / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.5762, allocations: 0 / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.5764, allocations: 318.8 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.219e-05/0.5764, allocations: 12 kB / 0.5574 GB, free: 4.645 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.5765, allocations: 29.66 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.195e-05/0.5766, allocations: 20.02 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5766, allocations: 0 / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001724/0.5768, allocations: 61.7 kB / 0.5575 GB, free: 4.523 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.5768, allocations: 4 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5768, allocations: 8.078 kB / 0.5575 GB, free: 4.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5768, allocations: 4 kB / 0.5575 GB, free: 4.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5771, allocations: 31.95 kB / 0.5575 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5771, allocations: 4 kB / 0.5575 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5772, allocations: 8 kB / 0.5575 GB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.5772, allocations: 7.984 kB / 0.5576 GB, free: 4.457 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 (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.493e-05/0.5773, allocations: 38.89 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.5774, allocations: 11.84 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.5776, allocations: 94.45 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5777, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5777, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5777, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.5782, allocations: 323 kB / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5782, allocations: 0 / 0.558 GB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.5784, allocations: 31.98 kB / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5784, allocations: 0 / 0.558 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.5785, allocations: 4 kB / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5785, allocations: 0 / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5785, allocations: 0 / 0.558 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002236/0.5787, allocations: 175.3 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.159e-05/0.5788, allocations: 81.02 kB / 0.5583 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.5788, allocations: 8 kB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.579, allocations: 11.98 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.907e-05/0.5791, allocations: 15.92 kB / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.5791, allocations: 0 / 0.5583 GB, free: 3.586 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001111/0.5792, allocations: 108.4 kB / 0.5584 GB, free: 3.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003492/0.5796, allocations: 28 kB / 0.5584 GB, free: 3.453 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 (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.0009367/0.5805, allocations: 339.3 kB / 0.5588 GB, free: 3.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.5807, allocations: 39.98 kB / 0.5588 GB, free: 3.113 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5807, allocations: 4 kB / 0.5588 GB, free: 3.109 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.5808, allocations: 31.92 kB / 0.5588 GB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.5811, allocations: 11.91 kB / 0.5589 GB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.5816, allocations: 141.1 kB / 0.559 GB, free: 2.898 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/0.5824, allocations: 0.7192 MB / 0.5597 GB, free: 2.152 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5824, allocations: 0 / 0.5597 GB, free: 2.152 MB / 394.7 MB Notification: Performance of Templates: time 0.005787/0.5882, allocations: 1.781 MB / 0.5614 GB, free: 380 kB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test31.pipe 2>&1)