Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01334/0.01334, allocations: 174.9 kB / 15.12 MB, free: 5.969 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.791/1.791, allocations: 194.5 MB / 210.3 MB, free: 8.785 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.001799/0.001799, allocations: 128.6 kB / 255.6 MB, free: 11.38 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.2182/0.2182, allocations: 40.01 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004562, allocations: 13.47 kB / 406.2 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1204, allocations: 54.88 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.2399, allocations: 82.26 MB / 0.5306 GB, free: 1.031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/0.2402, allocations: 67.97 kB / 0.5306 GB, free: 0.9648 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.2436/0.4838, allocations: 6.789 MB / 0.5373 GB, free: 82.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.4838, allocations: 0.8125 kB / 0.5373 GB, free: 82.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4839, allocations: 3.344 kB / 0.5373 GB, free: 82.86 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.0006647/0.4845, allocations: 0.6311 MB / 0.5379 GB, free: 82.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4846, allocations: 9.094 kB / 0.5379 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.4847, allocations: 23.83 kB / 0.5379 GB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.4851, allocations: 265.3 kB / 0.5382 GB, free: 82.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.4851, allocations: 16.52 kB / 0.5382 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.4852, allocations: 9.25 kB / 0.5382 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.4854, allocations: 101.3 kB / 0.5383 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4854, allocations: 3.953 kB / 0.5383 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.4854, allocations: 5.109 kB / 0.5383 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.4855, allocations: 1.375 kB / 0.5383 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.4856, allocations: 42.55 kB / 0.5383 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005589/0.4862, allocations: 0.4943 MB / 0.5388 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.4864, allocations: 135.8 kB / 0.5389 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.4865, allocations: 3.375 kB / 0.5389 GB, free: 81.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.4867, allocations: 113.2 kB / 0.5391 GB, free: 81.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.4867, allocations: 0 / 0.5391 GB, free: 81.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.00106/0.4878, allocations: 372.9 kB / 0.5394 GB, free: 81.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.4879, allocations: 83.8 kB / 0.5395 GB, free: 81.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003568/0.4882, allocations: 323.1 kB / 0.5398 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.4882, allocations: 32.33 kB / 0.5398 GB, free: 81.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.4883, allocations: 132.7 kB / 0.54 GB, free: 81.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4884, allocations: 46.98 kB / 0.54 GB, free: 81.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.588e-05/0.4884, allocations: 6.281 kB / 0.54 GB, free: 81.03 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.002e-05/0.4885, allocations: 340.3 kB / 0.5403 GB, free: 80.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.4887, allocations: 81.27 kB / 0.5404 GB, free: 80.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.4889, allocations: 106.8 kB / 0.5405 GB, free: 80.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.4891, allocations: 142.9 kB / 0.5406 GB, free: 80.61 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4891, allocations: 3.953 kB / 0.5407 GB, free: 80.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005502/0.4896, allocations: 336.2 kB / 0.541 GB, free: 80.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.805e-05/0.4897, allocations: 72.44 kB / 0.541 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4897, allocations: 0 / 0.541 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4897, allocations: 5.812 kB / 0.541 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4899, allocations: 32.83 kB / 0.5411 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4899, allocations: 1.125 kB / 0.5411 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.49, allocations: 16.38 kB / 0.5411 GB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.509e-05/0.49, allocations: 10.72 kB / 0.5411 GB, free: 80.42 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.0001405/0.4902, allocations: 153.5 kB / 0.5413 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.4902, allocations: 34.3 kB / 0.5413 GB, free: 80.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.4908, allocations: 230.3 kB / 0.5415 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.4908, allocations: 1.531 kB / 0.5415 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.4908, allocations: 2 kB / 0.5415 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.4908, allocations: 0 / 0.5415 GB, free: 80.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007984/0.4916, allocations: 0.6667 MB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.4916, allocations: 0 / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.4917, allocations: 24.88 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.4917, allocations: 1.781 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.4918, allocations: 12.39 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4918, allocations: 1.688 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4918, allocations: 1.844 kB / 0.5422 GB, free: 79.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.4922, allocations: 413.5 kB / 0.5426 GB, free: 79.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.4923, allocations: 126.8 kB / 0.5427 GB, free: 79.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.4923, allocations: 14.89 kB / 0.5427 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.4925, allocations: 14.16 kB / 0.5427 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.286e-05/0.4925, allocations: 18.91 kB / 0.5428 GB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.4926, allocations: 9.438 kB / 0.5428 GB, free: 79.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002442/0.4928, allocations: 254.8 kB / 0.543 GB, free: 79.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4928, allocations: 0 / 0.543 GB, free: 79.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004748/0.4933, allocations: 85.28 kB / 0.5431 GB, free: 79.25 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.001721/0.495, allocations: 0.668 MB / 0.5437 GB, free: 78.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005732/0.4956, allocations: 336.9 kB / 0.5441 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4956, allocations: 0 / 0.5441 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.4958, allocations: 66.66 kB / 0.5441 GB, free: 78.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.4963, allocations: 44.64 kB / 0.5442 GB, free: 78.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009047/0.4972, allocations: 487.1 kB / 0.5446 GB, free: 78.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.4974, allocations: 0.7656 MB / 0.5454 GB, free: 77.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.774e-05/0.4975, allocations: 30.47 kB / 0.5454 GB, free: 77.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.4976, allocations: 26.56 kB / 0.5454 GB, free: 77.42 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4976, allocations: 0 / 0.5454 GB, free: 77.42 MB / 378.7 MB Notification: Performance of Templates: time 0.007188/0.5048, allocations: 3.295 MB / 0.5487 GB, free: 75.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)