Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") [: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.00276/0.00276, allocations: 185.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.188/1.188, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001557/0.001557, allocations: 119.2 kB / 247.1 MB, free: 6.262 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.1869/0.1869, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/6.983e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1147, allocations: 54.87 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.47, allocations: 82.06 MB / 0.5173 GB, free: 10.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002087/0.4703, allocations: 78.2 kB / 0.5174 GB, free: 10.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.009808/0.4801, allocations: 3.229 MB / 0.5205 GB, free: 9.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.4801, allocations: 6.781 kB / 0.5205 GB, free: 9.691 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005123/0.4806, allocations: 0.4975 MB / 0.521 GB, free: 9.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.4807, allocations: 9.281 kB / 0.521 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.4808, allocations: 15.81 kB / 0.5211 GB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4811, allocations: 227.3 kB / 0.5213 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4811, allocations: 2.656 kB / 0.5213 GB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4811, allocations: 10.16 kB / 0.5213 GB, free: 8.938 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001196/0.4813, allocations: 41.95 kB / 0.5213 GB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.4814, allocations: 70.7 kB / 0.5214 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4814, allocations: 0 / 0.5214 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.4814, allocations: 0 / 0.5214 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4814, allocations: 1.531 kB / 0.5214 GB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.4819, allocations: 349.1 kB / 0.5217 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.4822, allocations: 71.06 kB / 0.5218 GB, free: 8.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.4822, allocations: 33.84 kB / 0.5218 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4823, allocations: 1.125 kB / 0.5218 GB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.4824, allocations: 74.06 kB / 0.5219 GB, free: 8.496 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.4824, allocations: 1.281 kB / 0.5219 GB, free: 8.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002269/0.4826, allocations: 94.14 kB / 0.522 GB, free: 8.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.4826, allocations: 56.91 kB / 0.522 GB, free: 8.383 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4828, allocations: 156.8 kB / 0.5222 GB, free: 8.273 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.4828, allocations: 27.89 kB / 0.5222 GB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.408e-05/0.4828, allocations: 96.88 kB / 0.5223 GB, free: 8.152 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.4829, allocations: 27.39 kB / 0.5223 GB, free: 8.133 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-06/0.4829, allocations: 1.031 kB / 0.5223 GB, free: 8.133 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.483, allocations: 332.8 kB / 0.5227 GB, free: 7.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.483, allocations: 31.97 kB / 0.5227 GB, free: 7.809 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.603e-05/0.4831, allocations: 57.69 kB / 0.5227 GB, free: 7.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.626e-05/0.4832, allocations: 39.45 kB / 0.5228 GB, free: 7.777 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4832, allocations: 0 / 0.5228 GB, free: 7.777 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000223/0.4834, allocations: 142.7 kB / 0.5229 GB, free: 7.723 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4835, allocations: 13.03 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.4835, allocations: 1.406 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.4835, allocations: 0.9375 kB / 0.5229 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4836, allocations: 21.61 kB / 0.5229 GB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.4836, allocations: 9.109 kB / 0.523 GB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.528e-05/0.4837, allocations: 14.38 kB / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.4837, allocations: 4.969 kB / 0.523 GB, free: 7.699 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 6.155e-05/0.4838, allocations: 116.8 kB / 0.5231 GB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.4838, allocations: 21.08 kB / 0.5231 GB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002072/0.484, allocations: 101.9 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.484, allocations: 1.094 kB / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4841, allocations: 0 / 0.5232 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4841, allocations: 3.984 kB / 0.5232 GB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.4842, allocations: 185 kB / 0.5234 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.4842, allocations: 0 / 0.5234 GB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.4843, allocations: 20.14 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4843, allocations: 1.562 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4843, allocations: 0.8438 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4843, allocations: 1.094 kB / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4843, allocations: 0 / 0.5234 GB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002238/0.4846, allocations: 157.3 kB / 0.5236 GB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.4846, allocations: 103 kB / 0.5237 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.4847, allocations: 1.625 kB / 0.5237 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.4847, allocations: 9.719 kB / 0.5237 GB, free: 7.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.4848, allocations: 6.859 kB / 0.5237 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.4848, allocations: 9.188 kB / 0.5237 GB, free: 7.129 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.444e-05/0.4849, allocations: 123.5 kB / 0.5238 GB, free: 7.047 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.4852, allocations: 38.38 kB / 0.5238 GB, free: 7.035 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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.000654/0.4858, allocations: 291.1 kB / 0.5241 GB, free: 6.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.4861, allocations: 126.9 kB / 0.5242 GB, free: 6.812 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4861, allocations: 4.125 kB / 0.5242 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.328e-05/0.4862, allocations: 33.47 kB / 0.5243 GB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.4864, allocations: 22.84 kB / 0.5243 GB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/0.487, allocations: 165 kB / 0.5244 GB, free: 6.691 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/0.4873, allocations: 0.7367 MB / 0.5252 GB, free: 5.961 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4873, allocations: 3.938 kB / 0.5252 GB, free: 5.957 MB / 346.7 MB Notification: Performance of Templates: time 0.00504/0.4923, allocations: 1.758 MB / 0.5269 GB, free: 5.086 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)