Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19") [: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.002733/0.002733, allocations: 184 kB / 7.456 MB, free: 2.512 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.199/1.199, allocations: 194.2 MB / 202.1 MB, free: 8.672 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.001814/0.001814, allocations: 119.6 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.2132/0.2132, allocations: 39.95 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.235e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3477/0.4667, allocations: 81.28 MB / 0.5165 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.467, allocations: 73.25 kB / 0.5166 GB, free: 10.34 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.01235/0.4794, allocations: 4.075 MB / 0.5206 GB, free: 9.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.521e-05/0.4795, allocations: 2.438 kB / 0.5206 GB, free: 9.625 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004607/0.4799, allocations: 455.2 kB / 0.521 GB, free: 9.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.48, allocations: 9.125 kB / 0.521 GB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4801, allocations: 8.781 kB / 0.521 GB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.4803, allocations: 211.4 kB / 0.5212 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4804, allocations: 1.031 kB / 0.5212 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4804, allocations: 12.91 kB / 0.5213 GB, free: 8.934 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.912e-05/0.4805, allocations: 17.81 kB / 0.5213 GB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.01e-05/0.4806, allocations: 53.67 kB / 0.5213 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4806, allocations: 0.5625 kB / 0.5213 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4806, allocations: 0 / 0.5213 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4807, allocations: 0.9688 kB / 0.5213 GB, free: 8.891 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.481, allocations: 290.6 kB / 0.5216 GB, free: 8.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.4811, allocations: 56.69 kB / 0.5217 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.4812, allocations: 24.94 kB / 0.5217 GB, free: 8.578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.4812, allocations: 5 kB / 0.5217 GB, free: 8.574 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.955e-05/0.4813, allocations: 57.88 kB / 0.5217 GB, free: 8.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.4813, allocations: 0.9688 kB / 0.5217 GB, free: 8.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004466/0.4818, allocations: 137.8 kB / 0.5219 GB, free: 8.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.4818, allocations: 60.38 kB / 0.5219 GB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.482, allocations: 160 kB / 0.5221 GB, free: 8.289 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.482, allocations: 26.89 kB / 0.5221 GB, free: 8.258 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/0.482, allocations: 100.2 kB / 0.5222 GB, free: 8.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.4821, allocations: 26.23 kB / 0.5222 GB, free: 8.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.113e-06/0.4821, allocations: 1.625 kB / 0.5222 GB, free: 8.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.044e-05/0.4822, allocations: 321.4 kB / 0.5225 GB, free: 7.832 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.4822, allocations: 30.62 kB / 0.5226 GB, free: 7.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.441e-05/0.4823, allocations: 53.84 kB / 0.5226 GB, free: 7.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.721e-05/0.4824, allocations: 37.22 kB / 0.5227 GB, free: 7.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4824, allocations: 1.281 kB / 0.5227 GB, free: 7.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002218/0.4826, allocations: 140.2 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4826, allocations: 5.312 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.4827, allocations: 0.9375 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.4827, allocations: 1.062 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.4828, allocations: 13.5 kB / 0.5228 GB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4828, allocations: 5.062 kB / 0.5228 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.638e-05/0.4829, allocations: 7.359 kB / 0.5228 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.4829, allocations: 8.25 kB / 0.5228 GB, free: 7.734 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 (11): * Single equations (assignments): 10 * 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.859e-05/0.483, allocations: 116.7 kB / 0.5229 GB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.483, allocations: 11.91 kB / 0.523 GB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002049/0.4832, allocations: 102.4 kB / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4832, allocations: 1.031 kB / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.4832, allocations: 0 / 0.5231 GB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.4832, allocations: 5.031 kB / 0.5231 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000341/0.4836, allocations: 365.7 kB / 0.5234 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4836, allocations: 1.031 kB / 0.5234 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.4836, allocations: 9.375 kB / 0.5234 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4836, allocations: 4.969 kB / 0.5234 GB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.4837, allocations: 5.062 kB / 0.5234 GB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.4837, allocations: 5.141 kB / 0.5234 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4837, allocations: 1.156 kB / 0.5234 GB, free: 7.238 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001624/0.4838, allocations: 210.4 kB / 0.5236 GB, free: 7.066 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.4839, allocations: 103.1 kB / 0.5237 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4839, allocations: 1.281 kB / 0.5237 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.484, allocations: 3 kB / 0.5237 GB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.4841, allocations: 13.77 kB / 0.5237 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4841, allocations: 7.719 kB / 0.5238 GB, free: 6.945 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.19e-05/0.4842, allocations: 132.9 kB / 0.5239 GB, free: 6.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002843/0.4845, allocations: 38.95 kB / 0.5239 GB, free: 6.848 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 (9): * Single equations (assignments): 7 * 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.0007191/0.4852, allocations: 324.6 kB / 0.5242 GB, free: 6.641 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4854, allocations: 119.6 kB / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.4854, allocations: 64 / 0.5243 GB, free: 6.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/0.4855, allocations: 35.56 kB / 0.5244 GB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4857, allocations: 16.61 kB / 0.5244 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/0.4861, allocations: 147.9 kB / 0.5245 GB, free: 6.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000219/0.4864, allocations: 0.7279 MB / 0.5252 GB, free: 5.766 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4864, allocations: 0 / 0.5252 GB, free: 5.766 MB / 346.7 MB Notification: Performance of Templates: time 0.004547/0.4909, allocations: 1.668 MB / 0.5269 GB, free: 4.93 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)