Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [: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 4.0.0+maint.om/package.mo): time 0.0009735/0.0009735, allocations: 191.3 kB / 8.529 MB, free: 1.836 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 221.4 MB / 230.3 MB, free: 7.703 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 84.73 kB / 281.2 MB, free: 5.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.277e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1148, allocations: 61.91 MB / 0.4941 GB, free: 1.641 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4681, allocations: 89.25 MB / 0.5812 GB, free: 7.543 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4684, allocations: 76.33 kB / 0.5813 GB, free: 7.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01749/0.486, allocations: 5.855 MB / 0.587 GB, free: 1.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.486, allocations: 4 kB / 0.587 GB, free: 1.664 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001155/0.4872, allocations: 0.5676 MB / 0.5876 GB, free: 1.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.4873, allocations: 11.97 kB / 0.5876 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.967e-05/0.4874, allocations: 19.81 kB / 0.5876 GB, free: 1.008 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.4878, allocations: 242.5 kB / 0.5879 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4878, allocations: 7.891 kB / 0.5879 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.4878, allocations: 11.94 kB / 0.5879 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001836/0.488, allocations: 52 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.4882, allocations: 81.64 kB / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4882, allocations: 0 / 0.588 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.4883, allocations: 3.984 kB / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4883, allocations: 0 / 0.588 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008989/0.4892, allocations: 453 kB / 0.5884 GB, free: 88 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.4894, allocations: 82.61 kB / 0.5885 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.784e-05/0.4895, allocations: 32.86 kB / 0.5885 GB, free: 15.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.4896, allocations: 4 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.4897, allocations: 95.23 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.4897, allocations: 3.938 kB / 0.5886 GB, free: 15.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.001881/0.4916, allocations: 0.5291 MB / 0.5892 GB, free: 15.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4917, allocations: 63.39 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002271/0.4919, allocations: 210.1 kB / 0.5894 GB, free: 15.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.492, allocations: 25.7 kB / 0.5894 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.492, allocations: 104.3 kB / 0.5895 GB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.4921, allocations: 39.5 kB / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.43e-05/0.4921, allocations: 0 / 0.5896 GB, free: 14.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4923, allocations: 334.8 kB / 0.5899 GB, free: 14.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4924, allocations: 56 kB / 0.59 GB, free: 14.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.4925, allocations: 63.98 kB / 0.59 GB, free: 14.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.4926, allocations: 46.39 kB / 0.5901 GB, free: 14.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4926, allocations: 4 kB / 0.5901 GB, free: 14.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003195/0.493, allocations: 169.4 kB / 0.5902 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.493, allocations: 8 kB / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.493, allocations: 0 / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.493, allocations: 0 / 0.5902 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.4935, allocations: 107.8 kB / 0.5903 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4935, allocations: 8 kB / 0.5903 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.494, allocations: 99.89 kB / 0.5904 GB, free: 13.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.494, allocations: 4 kB / 0.5904 GB, free: 13.96 MB / 410.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: 10 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.trapezoid2.T_start,trapezoid2.T_start,$PRE.trapezoid2.count,trapezoid2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001001/0.4941, allocations: 108.9 kB / 0.5905 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.4942, allocations: 23.72 kB / 0.5906 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.4945, allocations: 175.1 kB / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4945, allocations: 0 / 0.5907 GB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4945, allocations: 7.922 kB / 0.5907 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.4946, allocations: 4 kB / 0.5908 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.4952, allocations: 476 kB / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4952, allocations: 0 / 0.5912 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.4956, allocations: 107.9 kB / 0.5913 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.4956, allocations: 4 kB / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.4957, allocations: 0 / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4957, allocations: 0 / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4957, allocations: 0 / 0.5913 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003186/0.496, allocations: 261.3 kB / 0.5916 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.4961, allocations: 104.8 kB / 0.5917 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.4961, allocations: 0 / 0.5917 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004852/0.4966, allocations: 95.91 kB / 0.5918 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.4968, allocations: 59.89 kB / 0.5918 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.4968, allocations: 7.938 kB / 0.5918 GB, free: 12.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001486/0.497, allocations: 164.7 kB / 0.592 GB, free: 12.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003051/0.4973, allocations: 55.92 kB / 0.592 GB, free: 12.24 MB / 410.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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007039/0.498, allocations: 312.4 kB / 0.5923 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003608/0.4984, allocations: 187.4 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4984, allocations: 4 kB / 0.5925 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.4985, allocations: 83.92 kB / 0.5926 GB, free: 11.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.4989, allocations: 20.66 kB / 0.5926 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006816/0.4996, allocations: 255.5 kB / 0.5929 GB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004474/0.5, allocations: 0.7625 MB / 0.5936 GB, free: 10.64 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5, allocations: 0 / 0.5936 GB, free: 10.64 MB / 410.7 MB Notification: Performance of Templates: time 0.007009/0.5071, allocations: 3.587 MB / 0.5971 GB, free: 7.066 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)