Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007289/0.007289, allocations: 174.8 kB / 15.12 MB, free: 5.973 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.509/1.509, 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.001555/0.001555, allocations: 120.6 kB / 255.6 MB, free: 10.14 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.1844/0.1844, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 16.72 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1421, allocations: 54.87 MB / 461 MB, free: 3.289 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.2736, allocations: 82.16 MB / 0.5305 GB, free: 1.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.2739, allocations: 67.97 kB / 0.5305 GB, free: 0.9492 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. Notification: Performance of FrontEnd - DAE generated: time 0.3209/0.5948, allocations: 4.888 MB / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.5948, allocations: 0 / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.5949, allocations: 2.062 kB / 0.5353 GB, free: 83.03 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006525/0.5955, allocations: 0.4922 MB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.5956, allocations: 9.531 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.114e-05/0.5957, allocations: 15.5 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.596, allocations: 220.1 kB / 0.536 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.5961, allocations: 6.109 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.5961, allocations: 8.625 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.5963, allocations: 58.02 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.5963, allocations: 0 / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5964, allocations: 4.953 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.5964, allocations: 1 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001024/0.5965, allocations: 31.86 kB / 0.5361 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.597, allocations: 321.4 kB / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.5972, allocations: 62.94 kB / 0.5365 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.5973, allocations: 3.938 kB / 0.5365 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.5974, allocations: 72.55 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.5975, allocations: 0 / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006602/0.5981, allocations: 192 kB / 0.5367 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5982, allocations: 62.36 kB / 0.5368 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.5985, allocations: 230.2 kB / 0.537 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5985, allocations: 31.89 kB / 0.5371 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.508e-05/0.5986, allocations: 110.5 kB / 0.5372 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.894e-05/0.5987, allocations: 26.34 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/0.5987, allocations: 6.25 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.145e-05/0.5988, allocations: 323.5 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.5989, allocations: 39.38 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.599, allocations: 56.34 kB / 0.5376 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001173/0.5991, allocations: 72.98 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.5991, allocations: 1.125 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003142/0.5995, allocations: 182.1 kB / 0.5378 GB, free: 81.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/0.5995, allocations: 39.56 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5995, allocations: 1.312 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.5995, allocations: 1.75 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.5997, allocations: 23.36 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.5997, allocations: 5.469 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.5997, allocations: 8.906 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.5998, allocations: 4.719 kB / 0.5379 GB, free: 81.09 MB / 378.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 () * Number of clocked 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 0.0001063/0.5999, allocations: 136.9 kB / 0.538 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.5999, allocations: 14.88 kB / 0.5381 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.6002, allocations: 131.4 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.6002, allocations: 1.625 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.6002, allocations: 4 kB / 0.5382 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6002, allocations: 0.7031 kB / 0.5382 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005449/0.6008, allocations: 440.6 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6008, allocations: 5.156 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.137e-05/0.6009, allocations: 9.109 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6009, allocations: 1.562 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.6009, allocations: 6.078 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.6009, allocations: 0.9375 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6009, allocations: 5.719 kB / 0.5386 GB, free: 80.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.6012, allocations: 222.1 kB / 0.5388 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.484e-05/0.6013, allocations: 110.1 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.645e-05/0.6013, allocations: 5.438 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.6014, allocations: 3.875 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.6014, allocations: 14.92 kB / 0.539 GB, free: 80.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.6015, allocations: 8.453 kB / 0.539 GB, free: 80.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.6017, allocations: 189.7 kB / 0.5392 GB, free: 80.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6017, allocations: 0 / 0.5392 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003325/0.602, allocations: 48.09 kB / 0.5392 GB, free: 80.22 MB / 378.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) * Number of clocked states: 0 () * 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.001139/0.6032, allocations: 439.2 kB / 0.5396 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.6035, allocations: 170.8 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.6036, allocations: 0 / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.6037, allocations: 36.67 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.604, allocations: 23.81 kB / 0.5399 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00068/0.6047, allocations: 312.9 kB / 0.5401 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.6049, allocations: 0.7239 MB / 0.5409 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.02e-05/0.605, allocations: 20.25 kB / 0.5409 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.503e-05/0.605, allocations: 18.06 kB / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.605, allocations: 0 / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.005235/0.6103, allocations: 1.873 MB / 0.5427 GB, free: 78.72 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)