Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.00234/0.00234, allocations: 171.9 kB / 8.146 MB, free: 2.211 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.844/1.844, 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.001683/0.001683, allocations: 92.25 kB / 261.8 MB, free: 13.63 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.2701/0.2701, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.738e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3057, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1583/0.4641, allocations: 86.21 MB / 0.5496 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4644, allocations: 79.45 kB / 0.5496 GB, free: 12.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01821/0.4827, allocations: 3.577 MB / 0.5531 GB, free: 9.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4827, allocations: 0 / 0.5531 GB, free: 9.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008199/0.4836, allocations: 422 kB / 0.5535 GB, free: 8.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/0.4836, allocations: 12.03 kB / 0.5535 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.251e-05/0.4837, allocations: 7.906 kB / 0.5535 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003441/0.4841, allocations: 190.9 kB / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.4841, allocations: 0 / 0.5537 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.4842, allocations: 7.281 kB / 0.5537 GB, free: 8.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/0.4843, allocations: 24 kB / 0.5538 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.4845, allocations: 75.23 kB / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.4846, allocations: 0 / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.4846, allocations: 0 / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4846, allocations: 0 / 0.5538 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005472/0.4852, allocations: 281.3 kB / 0.5541 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.4853, allocations: 29.72 kB / 0.5541 GB, free: 8.055 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.4854, allocations: 16.98 kB / 0.5541 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.641e-05/0.4854, allocations: 7.984 kB / 0.5541 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.4855, allocations: 34.5 kB / 0.5542 GB, free: 7.984 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.973e-06/0.4855, allocations: 0 / 0.5542 GB, free: 7.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.001371/0.4869, allocations: 217.2 kB / 0.5544 GB, free: 7.766 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.041e-05/0.487, allocations: 77.11 kB / 0.5545 GB, free: 7.672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.4872, allocations: 136.4 kB / 0.5546 GB, free: 7.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.4872, allocations: 25.7 kB / 0.5546 GB, free: 7.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.4873, allocations: 154.6 kB / 0.5548 GB, free: 7.352 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.4874, allocations: 23.56 kB / 0.5548 GB, free: 7.328 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.4874, allocations: 0 / 0.5548 GB, free: 7.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.4876, allocations: 322.8 kB / 0.5551 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.517e-05/0.4877, allocations: 20 kB / 0.5551 GB, free: 6.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-05/0.4878, allocations: 29.72 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.4879, allocations: 28.31 kB / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.4879, allocations: 0 / 0.5552 GB, free: 6.922 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002759/0.4882, allocations: 81.66 kB / 0.5552 GB, free: 6.836 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.4882, allocations: 11.98 kB / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4882, allocations: 0 / 0.5553 GB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.4883, allocations: 4.031 kB / 0.5553 GB, free: 6.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.4888, allocations: 47.97 kB / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.4888, allocations: 0 / 0.5553 GB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.4892, allocations: 43.89 kB / 0.5553 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.4892, allocations: 4 kB / 0.5554 GB, free: 6.727 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 8.116e-05/0.4893, allocations: 34.98 kB / 0.5554 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.124e-05/0.4894, allocations: 11.81 kB / 0.5554 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003901/0.4898, allocations: 98.34 kB / 0.5555 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4898, allocations: 4 kB / 0.5555 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4898, allocations: 8 kB / 0.5555 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.4898, allocations: 0 / 0.5555 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006864/0.4905, allocations: 355.1 kB / 0.5558 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4906, allocations: 0 / 0.5558 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.491, allocations: 51.95 kB / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.491, allocations: 0 / 0.5559 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.999e-05/0.4911, allocations: 4 kB / 0.5559 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4911, allocations: 0 / 0.5559 GB, free: 6.121 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4911, allocations: 4.078 kB / 0.5559 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003475/0.4914, allocations: 187.3 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.435e-05/0.4915, allocations: 85 kB / 0.5562 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.4916, allocations: 4 kB / 0.5562 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.492, allocations: 35.97 kB / 0.5562 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.4921, allocations: 15.97 kB / 0.5562 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.4921, allocations: 0 / 0.5562 GB, free: 5.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001511/0.4923, allocations: 123.2 kB / 0.5563 GB, free: 5.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.4927, allocations: 35.84 kB / 0.5564 GB, free: 5.605 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.001065/0.4937, allocations: 341.8 kB / 0.5567 GB, free: 5.301 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003298/0.4941, allocations: 59.92 kB / 0.5567 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.4942, allocations: 0 / 0.5567 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4943, allocations: 39.86 kB / 0.5568 GB, free: 5.203 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.4947, allocations: 23.69 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006597/0.4954, allocations: 157 kB / 0.557 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005119/0.4959, allocations: 0.727 MB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.4959, allocations: 0 / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of Templates: time 0.006646/0.5026, allocations: 2.15 MB / 0.5598 GB, free: 2.098 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1)