Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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 3.2.2+maint.om/package.mo): time 0.001431/0.001432, allocations: 182.2 kB / 7.462 MB, free: 476 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.333/1.333, allocations: 194.2 MB / 202.1 MB, free: 13 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.1316/0.1316, allocations: 123.5 kB / 247.1 MB, free: 6.324 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1801/0.1801, allocations: 39.94 MB / 331.9 MB, free: 9.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 9.017e-06/9.047e-06, allocations: 4 kB / 392.8 MB, free: 79.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 54.87 MB / 447.7 MB, free: 24.85 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.4236, allocations: 81.42 MB / 0.5167 GB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4238, allocations: 69.25 kB / 0.5167 GB, free: 11.14 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.01141/0.4353, allocations: 4.039 MB / 0.5207 GB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4353, allocations: 4.5 kB / 0.5207 GB, free: 10.93 MB / 350.1 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.0004388/0.4357, allocations: 456.4 kB / 0.5211 GB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4358, allocations: 7.719 kB / 0.5211 GB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/0.4359, allocations: 12.47 kB / 0.5211 GB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.4361, allocations: 195.7 kB / 0.5213 GB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4362, allocations: 3.812 kB / 0.5213 GB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4362, allocations: 4.531 kB / 0.5213 GB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.153e-05/0.4363, allocations: 22.09 kB / 0.5214 GB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4364, allocations: 82.06 kB / 0.5214 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4364, allocations: 0 / 0.5214 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4364, allocations: 0 / 0.5214 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4365, allocations: 0 / 0.5214 GB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.4368, allocations: 287.7 kB / 0.5217 GB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.4369, allocations: 42.47 kB / 0.5218 GB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/0.437, allocations: 23.39 kB / 0.5218 GB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.437, allocations: 2.156 kB / 0.5218 GB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.159e-05/0.4371, allocations: 67.8 kB / 0.5218 GB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.4371, allocations: 0 / 0.5218 GB, free: 9.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004661/0.4376, allocations: 134 kB / 0.522 GB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.4376, allocations: 78.97 kB / 0.522 GB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.4378, allocations: 144.2 kB / 0.5222 GB, free: 9.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.4378, allocations: 31.61 kB / 0.5222 GB, free: 9.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.366e-05/0.4378, allocations: 91.83 kB / 0.5223 GB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.4379, allocations: 25.94 kB / 0.5223 GB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4379, allocations: 1.312 kB / 0.5223 GB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.474e-05/0.438, allocations: 319.9 kB / 0.5226 GB, free: 9.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7e-05/0.438, allocations: 28.56 kB / 0.5227 GB, free: 9.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.846e-05/0.4381, allocations: 57.08 kB / 0.5227 GB, free: 9.176 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.4382, allocations: 39.17 kB / 0.5228 GB, free: 9.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4382, allocations: 0 / 0.5228 GB, free: 9.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001891/0.4384, allocations: 129.8 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4384, allocations: 8.281 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4384, allocations: 0 / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.4384, allocations: 0.75 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4385, allocations: 17.17 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4385, allocations: 0.5156 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.763e-05/0.4386, allocations: 4.297 kB / 0.5229 GB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4386, allocations: 12.23 kB / 0.5229 GB, free: 9.121 MB / 350.1 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.666e-05/0.4387, allocations: 109.7 kB / 0.523 GB, free: 9.012 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.023e-05/0.4387, allocations: 11.5 kB / 0.523 GB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.4389, allocations: 109.1 kB / 0.5231 GB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.439, allocations: 0.75 kB / 0.5231 GB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.439, allocations: 3.938 kB / 0.5231 GB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.439, allocations: 4.688 kB / 0.5231 GB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.4393, allocations: 375.1 kB / 0.5235 GB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4393, allocations: 0 / 0.5235 GB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.737e-05/0.4394, allocations: 15.53 kB / 0.5235 GB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4394, allocations: 0 / 0.5235 GB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4394, allocations: 3.984 kB / 0.5235 GB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4394, allocations: 3.844 kB / 0.5235 GB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4394, allocations: 3.906 kB / 0.5235 GB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000215/0.4396, allocations: 210.3 kB / 0.5237 GB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.4397, allocations: 100.9 kB / 0.5238 GB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.4398, allocations: 1.719 kB / 0.5238 GB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.4398, allocations: 6.203 kB / 0.5238 GB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.4399, allocations: 3.312 kB / 0.5238 GB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/0.4399, allocations: 3.781 kB / 0.5238 GB, free: 8.367 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.493e-05/0.44, allocations: 112.8 kB / 0.5239 GB, free: 8.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003588/0.4404, allocations: 55.55 kB / 0.524 GB, free: 8.262 MB / 350.1 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 (10): * Single equations (assignments): 8 * 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.0009644/0.4413, allocations: 399.5 kB / 0.5244 GB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002584/0.4416, allocations: 104.1 kB / 0.5245 GB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4416, allocations: 0 / 0.5245 GB, free: 7.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.881e-05/0.4417, allocations: 40.14 kB / 0.5245 GB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.442, allocations: 15.36 kB / 0.5245 GB, free: 7.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003953/0.4424, allocations: 132.6 kB / 0.5247 GB, free: 7.879 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.4426, allocations: 0.7267 MB / 0.5254 GB, free: 7.152 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4427, allocations: 0 / 0.5254 GB, free: 7.152 MB / 350.1 MB Notification: Performance of Templates: time 0.004961/0.4476, allocations: 2.019 MB / 0.5273 GB, free: 6.129 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1)