Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") [: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.003909/0.003909, allocations: 182.9 kB / 7.455 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.307/1.307, allocations: 194.2 MB / 202.1 MB, free: 8.656 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.001694/0.001693, allocations: 118.5 kB / 247.1 MB, free: 6.336 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.1884/0.1884, allocations: 39.94 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.675e-06/7.695e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09859/0.09862, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.3839, allocations: 81.28 MB / 0.5165 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3842, allocations: 72.11 kB / 0.5166 GB, free: 10.3 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.01198/0.3962, allocations: 4.126 MB / 0.5206 GB, free: 9.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.3962, allocations: 2.188 kB / 0.5206 GB, free: 9.574 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.0004046/0.3966, allocations: 460.5 kB / 0.5211 GB, free: 9.102 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3966, allocations: 9.125 kB / 0.5211 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.3967, allocations: 9.781 kB / 0.5211 GB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.397, allocations: 210.9 kB / 0.5213 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.397, allocations: 5.578 kB / 0.5213 GB, free: 8.879 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.397, allocations: 9 kB / 0.5213 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.041e-05/0.3971, allocations: 16.41 kB / 0.5213 GB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.3972, allocations: 52.45 kB / 0.5214 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3972, allocations: 0 / 0.5214 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3972, allocations: 1.094 kB / 0.5214 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3973, allocations: 5.031 kB / 0.5214 GB, free: 8.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.3976, allocations: 289.1 kB / 0.5217 GB, free: 8.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.3977, allocations: 56.56 kB / 0.5217 GB, free: 8.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.698e-05/0.3977, allocations: 19.02 kB / 0.5217 GB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3978, allocations: 5.172 kB / 0.5217 GB, free: 8.523 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.668e-05/0.3978, allocations: 65.69 kB / 0.5218 GB, free: 8.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3978, allocations: 0 / 0.5218 GB, free: 8.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003799/0.3982, allocations: 143.3 kB / 0.5219 GB, free: 8.402 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.3983, allocations: 56.78 kB / 0.522 GB, free: 8.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.3984, allocations: 173.1 kB / 0.5222 GB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3984, allocations: 27.77 kB / 0.5222 GB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.72e-05/0.3985, allocations: 88.77 kB / 0.5223 GB, free: 8.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.3985, allocations: 26.7 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/0.3985, allocations: 1.125 kB / 0.5223 GB, free: 8.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.171e-05/0.3986, allocations: 330.4 kB / 0.5226 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.3986, allocations: 30.69 kB / 0.5226 GB, free: 7.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.841e-05/0.3987, allocations: 60.08 kB / 0.5227 GB, free: 7.738 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.3988, allocations: 36.11 kB / 0.5227 GB, free: 7.734 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3988, allocations: 0 / 0.5227 GB, free: 7.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001935/0.399, allocations: 131.5 kB / 0.5229 GB, free: 7.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.399, allocations: 5.156 kB / 0.5229 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.399, allocations: 0 / 0.5229 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.399, allocations: 5.609 kB / 0.5229 GB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.905e-05/0.3991, allocations: 20.48 kB / 0.5229 GB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.3991, allocations: 1.375 kB / 0.5229 GB, free: 7.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.3992, allocations: 12.03 kB / 0.5229 GB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3992, allocations: 4.219 kB / 0.5229 GB, free: 7.672 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 4.99e-05/0.3993, allocations: 103.7 kB / 0.523 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.3993, allocations: 12.66 kB / 0.523 GB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000188/0.3995, allocations: 112 kB / 0.5231 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3995, allocations: 1.344 kB / 0.5231 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3995, allocations: 0 / 0.5231 GB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3995, allocations: 5.375 kB / 0.5231 GB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.3998, allocations: 370.9 kB / 0.5235 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3998, allocations: 4.172 kB / 0.5235 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.3999, allocations: 13.53 kB / 0.5235 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3999, allocations: 1.031 kB / 0.5235 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3999, allocations: 6.562 kB / 0.5235 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3999, allocations: 0 / 0.5235 GB, free: 7.188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3999, allocations: 5.406 kB / 0.5235 GB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001413/0.4001, allocations: 207.9 kB / 0.5237 GB, free: 7.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.145e-05/0.4001, allocations: 100.5 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4002, allocations: 1.625 kB / 0.5238 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.4003, allocations: 6.078 kB / 0.5238 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.4003, allocations: 3.438 kB / 0.5238 GB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4003, allocations: 10.88 kB / 0.5238 GB, free: 6.895 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.651e-05/0.4004, allocations: 135.7 kB / 0.524 GB, free: 6.812 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002762/0.4007, allocations: 45.08 kB / 0.524 GB, free: 6.797 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.0005929/0.4013, allocations: 319.4 kB / 0.5243 GB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.4015, allocations: 119.9 kB / 0.5244 GB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.4015, allocations: 0 / 0.5244 GB, free: 6.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.4016, allocations: 29.92 kB / 0.5244 GB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.4018, allocations: 24.19 kB / 0.5245 GB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.4021, allocations: 169.2 kB / 0.5246 GB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4023, allocations: 0.7287 MB / 0.5253 GB, free: 5.703 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4023, allocations: 1.281 kB / 0.5253 GB, free: 5.703 MB / 346.7 MB Notification: Performance of Templates: time 0.003943/0.4063, allocations: 1.676 MB / 0.527 GB, free: 4.867 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)