Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") [: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.003237/0.003238, allocations: 184.8 kB / 7.459 MB, free: 2.504 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.203/1.203, allocations: 194.2 MB / 202.1 MB, free: 8.715 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.001751/0.001751, allocations: 124 kB / 247.1 MB, free: 6.359 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.1919/0.1919, allocations: 39.94 MB / 331.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.235e-06/8.275e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4607, allocations: 81.31 MB / 0.5166 GB, free: 10.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4611, allocations: 68.84 kB / 0.5166 GB, free: 10.26 MB / 346.7 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.01536/0.4765, allocations: 4.62 MB / 0.5211 GB, free: 9.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4765, allocations: 2.375 kB / 0.5212 GB, free: 9.328 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004468/0.477, allocations: 460 kB / 0.5216 GB, free: 8.859 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.477, allocations: 9.125 kB / 0.5216 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.568e-05/0.4771, allocations: 13.19 kB / 0.5216 GB, free: 8.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.4774, allocations: 216.8 kB / 0.5218 GB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.4774, allocations: 6.469 kB / 0.5218 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.4775, allocations: 4.188 kB / 0.5218 GB, free: 8.633 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001319/0.4776, allocations: 48.59 kB / 0.5219 GB, free: 8.621 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.4777, allocations: 67.66 kB / 0.5219 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4777, allocations: 0 / 0.5219 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4778, allocations: 1.281 kB / 0.5219 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.4778, allocations: 0 / 0.5219 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.4782, allocations: 335.8 kB / 0.5223 GB, free: 8.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.4783, allocations: 76.3 kB / 0.5223 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.4784, allocations: 30.61 kB / 0.5224 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.4784, allocations: 0 / 0.5224 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.4785, allocations: 80.39 kB / 0.5224 GB, free: 8.191 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4786, allocations: 0 / 0.5224 GB, free: 8.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005784/0.4791, allocations: 195.1 kB / 0.5226 GB, free: 8.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.4792, allocations: 53.69 kB / 0.5227 GB, free: 8.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.4794, allocations: 177.9 kB / 0.5228 GB, free: 7.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.4795, allocations: 27.89 kB / 0.5229 GB, free: 7.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/0.4795, allocations: 92.23 kB / 0.523 GB, free: 7.816 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.4796, allocations: 31.34 kB / 0.523 GB, free: 7.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-06/0.4796, allocations: 5.094 kB / 0.523 GB, free: 7.793 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.168e-05/0.4797, allocations: 324.4 kB / 0.5233 GB, free: 7.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.4798, allocations: 46.05 kB / 0.5233 GB, free: 7.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4799, allocations: 58.73 kB / 0.5234 GB, free: 7.453 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.48, allocations: 47.11 kB / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.48, allocations: 0 / 0.5234 GB, free: 7.449 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00033/0.4804, allocations: 170.6 kB / 0.5236 GB, free: 7.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4804, allocations: 8.062 kB / 0.5236 GB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.4804, allocations: 5.344 kB / 0.5236 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.4804, allocations: 0 / 0.5236 GB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.4806, allocations: 21.2 kB / 0.5236 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4806, allocations: 1.312 kB / 0.5236 GB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.4807, allocations: 10.58 kB / 0.5237 GB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.4807, allocations: 7.25 kB / 0.5237 GB, free: 7.379 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 (13): * Single equations (assignments): 12 * 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 8.921e-05/0.4808, allocations: 109 kB / 0.5238 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4808, allocations: 13.25 kB / 0.5238 GB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.4812, allocations: 152.7 kB / 0.5239 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.4812, allocations: 6.562 kB / 0.5239 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4812, allocations: 0 / 0.5239 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.4812, allocations: 0 / 0.5239 GB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.4818, allocations: 426.1 kB / 0.5243 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.4818, allocations: 0 / 0.5243 GB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.705e-05/0.4819, allocations: 22.92 kB / 0.5244 GB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.4819, allocations: 5.312 kB / 0.5244 GB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.4819, allocations: 6.469 kB / 0.5244 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.4819, allocations: 1.312 kB / 0.5244 GB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.482, allocations: 4.094 kB / 0.5244 GB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002718/0.4822, allocations: 245 kB / 0.5246 GB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.4823, allocations: 105.8 kB / 0.5247 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.469e-05/0.4824, allocations: 5.281 kB / 0.5247 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.4825, allocations: 6.609 kB / 0.5247 GB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.4825, allocations: 11.61 kB / 0.5247 GB, free: 6.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.4826, allocations: 5.219 kB / 0.5247 GB, free: 6.562 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001225/0.4827, allocations: 133.5 kB / 0.5249 GB, free: 6.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003561/0.483, allocations: 50.86 kB / 0.5249 GB, free: 6.461 MB / 346.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 (13): * Single equations (assignments): 11 * 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.000745/0.4838, allocations: 322.5 kB / 0.5252 GB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00026/0.4841, allocations: 143.5 kB / 0.5254 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4841, allocations: 1.281 kB / 0.5254 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.4842, allocations: 47.08 kB / 0.5254 GB, free: 6.215 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.4844, allocations: 16.14 kB / 0.5254 GB, free: 6.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.4849, allocations: 184.1 kB / 0.5256 GB, free: 6.094 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.4852, allocations: 0.7464 MB / 0.5263 GB, free: 5.359 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4852, allocations: 0 / 0.5263 GB, free: 5.359 MB / 346.7 MB Notification: Performance of Templates: time 0.005352/0.4905, allocations: 1.868 MB / 0.5281 GB, free: 4.434 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)