Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01097/0.01097, allocations: 175 kB / 15.12 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.699/1.699, allocations: 194.5 MB / 210.3 MB, free: 7.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.001731/0.00173, allocations: 128.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2018/0.2018, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003897, allocations: 13.47 kB / 406.2 MB, free: 51.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1079, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.136/0.244, allocations: 82.26 MB / 0.5306 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.2444, allocations: 71.91 kB / 0.5306 GB, free: 0.8594 MB / 378.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. [/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_2.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_2.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_2.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_2.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2284/0.4727, allocations: 7.114 MB / 0.5376 GB, free: 82.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4727, allocations: 0 / 0.5376 GB, free: 82.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.4728, allocations: 4.438 kB / 0.5376 GB, free: 82.91 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007365/0.4735, allocations: 0.675 MB / 0.5382 GB, free: 82.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.4736, allocations: 11.81 kB / 0.5383 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.4736, allocations: 26.06 kB / 0.5383 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004384/0.4741, allocations: 291 kB / 0.5386 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.4741, allocations: 7.719 kB / 0.5386 GB, free: 82.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.512e-05/0.4742, allocations: 19.58 kB / 0.5386 GB, free: 82.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.4744, allocations: 103.7 kB / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.4744, allocations: 0 / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.4744, allocations: 1.25 kB / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4744, allocations: 1.031 kB / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.4746, allocations: 46.48 kB / 0.5387 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.4752, allocations: 0.5223 MB / 0.5392 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.4755, allocations: 120.4 kB / 0.5394 GB, free: 81.57 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4755, allocations: 6.062 kB / 0.5394 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.4758, allocations: 116.5 kB / 0.5395 GB, free: 81.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.603e-06/0.4758, allocations: 1.281 kB / 0.5395 GB, free: 81.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001043/0.4769, allocations: 395.4 kB / 0.5398 GB, free: 81.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.4769, allocations: 84.05 kB / 0.5399 GB, free: 81.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005302/0.4774, allocations: 426.9 kB / 0.5403 GB, free: 81.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.4775, allocations: 32.55 kB / 0.5404 GB, free: 81.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.4776, allocations: 154.9 kB / 0.5405 GB, free: 81.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/0.4776, allocations: 50.41 kB / 0.5406 GB, free: 81.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.408e-05/0.4777, allocations: 5.5 kB / 0.5406 GB, free: 81.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.425e-05/0.4778, allocations: 348.8 kB / 0.5409 GB, free: 80.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.4779, allocations: 76.53 kB / 0.541 GB, free: 80.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.4781, allocations: 113.1 kB / 0.5411 GB, free: 80.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.4784, allocations: 150.9 kB / 0.5412 GB, free: 80.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4784, allocations: 0 / 0.5412 GB, free: 80.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005454/0.4789, allocations: 342.9 kB / 0.5416 GB, free: 80.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.479, allocations: 72.5 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.479, allocations: 1.219 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.479, allocations: 1.312 kB / 0.5416 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4792, allocations: 33.66 kB / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4792, allocations: 6.219 kB / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.4793, allocations: 8.938 kB / 0.5417 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.4794, allocations: 13.62 kB / 0.5417 GB, free: 80.43 MB / 378.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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 0.0001833/0.4796, allocations: 175.6 kB / 0.5419 GB, free: 80.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.4796, allocations: 34.88 kB / 0.5419 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004194/0.48, allocations: 233.3 kB / 0.5421 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.4801, allocations: 6.578 kB / 0.5421 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4801, allocations: 1.406 kB / 0.5421 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4801, allocations: 0 / 0.5421 GB, free: 80.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008321/0.4809, allocations: 0.7028 MB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.4809, allocations: 1.375 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.979e-05/0.481, allocations: 22.56 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.481, allocations: 2.75 kB / 0.5428 GB, free: 79.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.481, allocations: 10.73 kB / 0.5428 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.481, allocations: 1.375 kB / 0.5428 GB, free: 79.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4811, allocations: 5.312 kB / 0.5428 GB, free: 79.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.4815, allocations: 423.3 kB / 0.5432 GB, free: 79.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.4816, allocations: 146.7 kB / 0.5434 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4817, allocations: 8.125 kB / 0.5434 GB, free: 79.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.4818, allocations: 9.875 kB / 0.5434 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.4819, allocations: 18.84 kB / 0.5434 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.4819, allocations: 6.875 kB / 0.5434 GB, free: 79.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003484/0.4823, allocations: 337.9 kB / 0.5437 GB, free: 78.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4823, allocations: 7.875 kB / 0.5438 GB, free: 78.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.4827, allocations: 91.8 kB / 0.5438 GB, free: 78.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.001386/0.4841, allocations: 0.6679 MB / 0.5445 GB, free: 78.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004629/0.4846, allocations: 345.5 kB / 0.5448 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4846, allocations: 1.312 kB / 0.5448 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4848, allocations: 63.77 kB / 0.5449 GB, free: 78.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.4852, allocations: 47.86 kB / 0.5449 GB, free: 78.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.4861, allocations: 0.6031 MB / 0.5455 GB, free: 77.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.4863, allocations: 0.7771 MB / 0.5463 GB, free: 77.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.4865, allocations: 42.31 kB / 0.5463 GB, free: 77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.4865, allocations: 27.48 kB / 0.5463 GB, free: 76.99 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.4865, allocations: 1.031 kB / 0.5463 GB, free: 76.99 MB / 378.7 MB Notification: Performance of Templates: time 0.007342/0.4939, allocations: 3.547 MB / 0.5498 GB, free: 75.19 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1)