Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63") [: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.002885/0.002886, allocations: 193.1 kB / 7.461 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.147/1.147, allocations: 194.2 MB / 202.1 MB, free: 8.711 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001704/0.001704, allocations: 116.4 kB / 247.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1707/0.1707, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.745e-06/7.765e-06, allocations: 4 kB / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 54.88 MB / 447.7 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4655, allocations: 81.16 MB / 0.5164 GB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.4658, allocations: 69.53 kB / 0.5165 GB, free: 10.23 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01273/0.4785, allocations: 4.319 MB / 0.5207 GB, free: 9.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4786, allocations: 2.031 kB / 0.5207 GB, free: 9.43 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004653/0.479, allocations: 474.2 kB / 0.5212 GB, free: 8.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4791, allocations: 8.5 kB / 0.5212 GB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/0.4792, allocations: 14.19 kB / 0.5212 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003337/0.4795, allocations: 217.7 kB / 0.5214 GB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.4795, allocations: 5.047 kB / 0.5214 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4796, allocations: 3.219 kB / 0.5214 GB, free: 8.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.519e-05/0.4797, allocations: 16.41 kB / 0.5214 GB, free: 8.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.219e-05/0.4798, allocations: 50.8 kB / 0.5215 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.4798, allocations: 0 / 0.5215 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4798, allocations: 0 / 0.5215 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4798, allocations: 5.125 kB / 0.5215 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001999/0.48, allocations: 192.6 kB / 0.5217 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.4801, allocations: 47.34 kB / 0.5217 GB, free: 8.465 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.4802, allocations: 16.45 kB / 0.5217 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.4802, allocations: 0 / 0.5217 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/0.4803, allocations: 66.86 kB / 0.5218 GB, free: 8.398 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4803, allocations: 0 / 0.5218 GB, free: 8.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002256/0.4805, allocations: 75.5 kB / 0.5218 GB, free: 8.352 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/0.4806, allocations: 52.41 kB / 0.5219 GB, free: 8.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.4808, allocations: 221.2 kB / 0.5221 GB, free: 8.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4808, allocations: 27.55 kB / 0.5221 GB, free: 8.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.4809, allocations: 101.2 kB / 0.5222 GB, free: 8.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.4809, allocations: 9.094 kB / 0.5222 GB, free: 8.051 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4809, allocations: 5.25 kB / 0.5222 GB, free: 8.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.22e-05/0.481, allocations: 333.6 kB / 0.5226 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.481, allocations: 22.12 kB / 0.5226 GB, free: 7.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.4811, allocations: 37.16 kB / 0.5226 GB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.189e-05/0.4812, allocations: 31.08 kB / 0.5226 GB, free: 7.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4812, allocations: 0 / 0.5226 GB, free: 7.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001774/0.4813, allocations: 118 kB / 0.5228 GB, free: 7.656 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.4814, allocations: 8.438 kB / 0.5228 GB, free: 7.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4814, allocations: 5.125 kB / 0.5228 GB, free: 7.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4814, allocations: 5.5 kB / 0.5228 GB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.357e-05/0.4815, allocations: 13.3 kB / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.4815, allocations: 0 / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.038e-05/0.4816, allocations: 4.219 kB / 0.5228 GB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4816, allocations: 8.531 kB / 0.5228 GB, free: 7.637 MB / 346.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 (8): * Single equations (assignments): 7 * 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.544e-05/0.4817, allocations: 116.3 kB / 0.5229 GB, free: 7.523 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.4817, allocations: 16.52 kB / 0.5229 GB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001596/0.4819, allocations: 86.83 kB / 0.523 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4819, allocations: 1.469 kB / 0.523 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4819, allocations: 0 / 0.523 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4819, allocations: 192 / 0.523 GB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.482, allocations: 182.2 kB / 0.5232 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.482, allocations: 3.906 kB / 0.5232 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.13e-05/0.482, allocations: 5.688 kB / 0.5232 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.482, allocations: 0 / 0.5232 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.4821, allocations: 4.688 kB / 0.5232 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.4821, allocations: 1.219 kB / 0.5232 GB, free: 7.281 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4821, allocations: 4 kB / 0.5232 GB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/0.4822, allocations: 101.5 kB / 0.5233 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.652e-05/0.4823, allocations: 107.5 kB / 0.5234 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.105e-05/0.4823, allocations: 1.094 kB / 0.5234 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.753e-05/0.4824, allocations: 2.406 kB / 0.5234 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.4824, allocations: 8.859 kB / 0.5234 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4824, allocations: 2.531 kB / 0.5234 GB, free: 7.086 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001444/0.4826, allocations: 186.5 kB / 0.5236 GB, free: 6.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002304/0.4828, allocations: 31.62 kB / 0.5236 GB, free: 6.984 MB / 346.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: 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 (6): * Single equations (assignments): 4 * 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.0006404/0.4835, allocations: 291.8 kB / 0.5239 GB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.4837, allocations: 101.2 kB / 0.524 GB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4837, allocations: 0 / 0.524 GB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.4837, allocations: 17.09 kB / 0.524 GB, free: 6.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4839, allocations: 31.92 kB / 0.5241 GB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004139/0.4844, allocations: 200.2 kB / 0.5242 GB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.4846, allocations: 0.7349 MB / 0.525 GB, free: 5.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4846, allocations: 0 / 0.525 GB, free: 5.902 MB / 346.7 MB Notification: Performance of Templates: time 0.004133/0.4888, allocations: 1.525 MB / 0.5264 GB, free: 5.145 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)