Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_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 4.0.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 176.8 kB / 8.515 MB, free: 1.852 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.498/1.498, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.001012/0.001013, allocations: 88.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.1908/0.1908, allocations: 44.15 MB / 376.1 MB, free: 3.242 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.015e-06/8.025e-06, allocations: 0 / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 61.92 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4328, allocations: 88.5 MB / 0.5805 GB, free: 8.398 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.4331, allocations: 75.95 kB / 0.5806 GB, free: 8.324 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01456/0.4476, allocations: 5.012 MB / 0.5855 GB, free: 3.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.4477, allocations: 4 kB / 0.5855 GB, free: 3.316 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004426/0.4482, allocations: 394 kB / 0.5859 GB, free: 2.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4482, allocations: 13.47 kB / 0.5859 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/0.4483, allocations: 11.89 kB / 0.5859 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.4486, allocations: 199 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.4486, allocations: 4 kB / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.4486, allocations: 3.984 kB / 0.5861 GB, free: 2.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.906e-05/0.4487, allocations: 23.84 kB / 0.5861 GB, free: 2.598 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.4488, allocations: 67.38 kB / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.4489, allocations: 4 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.4489, allocations: 0 / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.4489, allocations: 3.938 kB / 0.5862 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.4492, allocations: 257.4 kB / 0.5864 GB, free: 2.223 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.644e-05/0.4493, allocations: 45.64 kB / 0.5865 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.4493, allocations: 29.03 kB / 0.5865 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.4494, allocations: 0 / 0.5865 GB, free: 2.141 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.613e-05/0.4495, allocations: 63.41 kB / 0.5866 GB, free: 2.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/0.4495, allocations: 4 kB / 0.5866 GB, free: 2.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004363/0.4499, allocations: 153.1 kB / 0.5867 GB, free: 1.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.45, allocations: 81.11 kB / 0.5868 GB, free: 1.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.4501, allocations: 145.5 kB / 0.5869 GB, free: 1.656 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4501, allocations: 25.7 kB / 0.587 GB, free: 1.625 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.4502, allocations: 89.08 kB / 0.587 GB, free: 1.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.805e-05/0.4502, allocations: 31.55 kB / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4503, allocations: 0 / 0.5871 GB, free: 1.504 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.4504, allocations: 326.8 kB / 0.5874 GB, free: 1.176 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.52e-05/0.4504, allocations: 24 kB / 0.5874 GB, free: 1.148 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.4505, allocations: 46.56 kB / 0.5875 GB, free: 1.094 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.856e-05/0.4506, allocations: 31.92 kB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4506, allocations: 0 / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001802/0.4508, allocations: 109.6 kB / 0.5876 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.4508, allocations: 15.84 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.4508, allocations: 4.062 kB / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.4508, allocations: 0 / 0.5876 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.4509, allocations: 23.92 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.451, allocations: 4 kB / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.451, allocations: 0 / 0.5876 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.451, allocations: 4 kB / 0.5876 GB, free: 0.8984 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.267e-05/0.4511, allocations: 109 kB / 0.5877 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.4511, allocations: 11.81 kB / 0.5878 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.4514, allocations: 122.4 kB / 0.5879 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4514, allocations: 3.938 kB / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4514, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4514, allocations: 0 / 0.5879 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.4518, allocations: 387.7 kB / 0.5882 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4518, allocations: 8 kB / 0.5882 GB, free: 212 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.016e-05/0.4519, allocations: 11.98 kB / 0.5883 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.4519, allocations: 11.94 kB / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.4519, allocations: 0 / 0.5883 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.4519, allocations: 3.938 kB / 0.5883 GB, free: 184 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4519, allocations: 4 kB / 0.5883 GB, free: 180 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000245/0.4522, allocations: 209.9 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.4523, allocations: 89 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4523, allocations: 4 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.4524, allocations: 7.984 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4524, allocations: 8 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4525, allocations: 4 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.357e-05/0.4525, allocations: 119.1 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000291/0.4528, allocations: 51.86 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007771/0.4536, allocations: 399 kB / 0.5891 GB, free: 15.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.4538, allocations: 67.94 kB / 0.5892 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4538, allocations: 4 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.4539, allocations: 35.92 kB / 0.5892 GB, free: 15.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4541, allocations: 23.97 kB / 0.5893 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.4545, allocations: 136.3 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.4548, allocations: 0.7349 MB / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4549, allocations: 0 / 0.5901 GB, free: 14.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004479/0.4593, allocations: 2.002 MB / 0.5921 GB, free: 12.3 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)