Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001175/0.001175, allocations: 181.9 kB / 7.651 MB, free: 1.402 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.487/1.487, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001693/0.001693, allocations: 111.4 kB / 247.4 MB, free: 6.215 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.1891/0.1891, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.602e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09303, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4356, allocations: 81.25 MB / 0.517 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.4359, allocations: 75.47 kB / 0.5171 GB, free: 10.38 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$startTime.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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/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$startTime_0.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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01304/0.4489, allocations: 5.917 MB / 0.5229 GB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.449, allocations: 0 / 0.5229 GB, free: 8.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.449, allocations: 7.469 kB / 0.5229 GB, free: 8.715 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.0005341/0.4495, allocations: 0.725 MB / 0.5236 GB, free: 8.043 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.4496, allocations: 11.41 kB / 0.5236 GB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.4497, allocations: 54.08 kB / 0.5237 GB, free: 8.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.4503, allocations: 465.7 kB / 0.5241 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4503, allocations: 3.844 kB / 0.5241 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.4503, allocations: 14.86 kB / 0.5241 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.753e-05/0.4504, allocations: 23.06 kB / 0.5241 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.4505, allocations: 96.72 kB / 0.5242 GB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.4505, allocations: 0 / 0.5242 GB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.4506, allocations: 0 / 0.5242 GB, free: 7.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4506, allocations: 7.781 kB / 0.5242 GB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.4509, allocations: 376.8 kB / 0.5246 GB, free: 7.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.451, allocations: 96.62 kB / 0.5247 GB, free: 7.348 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.4511, allocations: 34.78 kB / 0.5247 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4511, allocations: 7.75 kB / 0.5247 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000142/0.4512, allocations: 113.9 kB / 0.5248 GB, free: 7.238 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/0.4512, allocations: 3.984 kB / 0.5249 GB, free: 7.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002656/0.4515, allocations: 169.4 kB / 0.525 GB, free: 7.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.983e-05/0.4515, allocations: 80.95 kB / 0.5251 GB, free: 7.066 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.4524, allocations: 0.9006 MB / 0.526 GB, free: 6.855 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.4525, allocations: 25.7 kB / 0.526 GB, free: 6.824 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.4526, allocations: 238.1 kB / 0.5262 GB, free: 6.723 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.4527, allocations: 22.97 kB / 0.5262 GB, free: 6.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.4527, allocations: 0 / 0.5262 GB, free: 6.711 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.757e-05/0.4528, allocations: 370.3 kB / 0.5266 GB, free: 6.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.4528, allocations: 55.55 kB / 0.5267 GB, free: 6.371 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.4529, allocations: 86.33 kB / 0.5267 GB, free: 6.336 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.827e-05/0.4531, allocations: 57.47 kB / 0.5268 GB, free: 6.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4531, allocations: 0 / 0.5268 GB, free: 6.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002969/0.4534, allocations: 239.1 kB / 0.527 GB, free: 6.242 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.4534, allocations: 77.03 kB / 0.5271 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.4534, allocations: 4 kB / 0.5271 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4534, allocations: 3.938 kB / 0.5271 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.4536, allocations: 19.22 kB / 0.5271 GB, free: 6.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.4536, allocations: 3.984 kB / 0.5271 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.4537, allocations: 23.33 kB / 0.5271 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.4537, allocations: 15.47 kB / 0.5272 GB, free: 6.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.514e-05/0.4538, allocations: 116.7 kB / 0.5273 GB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.4539, allocations: 54.67 kB / 0.5273 GB, free: 6.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4541, allocations: 177.5 kB / 0.5275 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.4542, allocations: 3.875 kB / 0.5275 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4542, allocations: 0 / 0.5275 GB, free: 5.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4542, allocations: 3.938 kB / 0.5275 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.4544, allocations: 361 kB / 0.5278 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4544, allocations: 0 / 0.5278 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-05/0.4545, allocations: 15.67 kB / 0.5279 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4545, allocations: 0 / 0.5279 GB, free: 5.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.4545, allocations: 4 kB / 0.5279 GB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4545, allocations: 3.969 kB / 0.5279 GB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4545, allocations: 0 / 0.5279 GB, free: 5.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.4548, allocations: 220.4 kB / 0.5281 GB, free: 5.555 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.455, allocations: 204.9 kB / 0.5283 GB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.455, allocations: 3.844 kB / 0.5283 GB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.755e-05/0.4552, allocations: 7.844 kB / 0.5283 GB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4552, allocations: 19.7 kB / 0.5283 GB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4552, allocations: 3.969 kB / 0.5283 GB, free: 5.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005651/0.4558, allocations: 0.7036 MB / 0.529 GB, free: 5.246 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4558, allocations: 0 / 0.529 GB, free: 5.246 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.4562, allocations: 108.8 kB / 0.5291 GB, free: 5.223 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009508/0.4571, allocations: 471.9 kB / 0.5295 GB, free: 4.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000261/0.4574, allocations: 279.8 kB / 0.5298 GB, free: 4.773 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4574, allocations: 4.125 kB / 0.5298 GB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.118e-05/0.4575, allocations: 42.69 kB / 0.5299 GB, free: 4.766 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003342/0.4578, allocations: 53.75 kB / 0.5299 GB, free: 4.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008896/0.4587, allocations: 0.7635 MB / 0.5307 GB, free: 4.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.459, allocations: 0.8537 MB / 0.5315 GB, free: 3.699 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001378/0.4591, allocations: 96.89 kB / 0.5316 GB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.044e-05/0.4592, allocations: 35.38 kB / 0.5316 GB, free: 3.629 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4592, allocations: 0 / 0.5316 GB, free: 3.629 MB / 346.7 MB Notification: Performance of Templates: time 0.007501/0.4667, allocations: 4.315 MB / 0.5358 GB, free: 15.35 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)