Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0111/0.0111, allocations: 174.2 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.689/1.689, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001919/0.001919, allocations: 132.5 kB / 255.6 MB, free: 10.22 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.1799/0.1799, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 11.88 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.2264, allocations: 82.11 MB / 0.5304 GB, free: 1.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.2267, allocations: 71.91 kB / 0.5305 GB, free: 1.016 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.2549/0.4817, allocations: 4.495 MB / 0.5349 GB, free: 82.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4817, allocations: 0 / 0.5349 GB, free: 82.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.4817, allocations: 2.531 kB / 0.5349 GB, free: 82.99 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.0005943/0.4823, allocations: 482.6 kB / 0.5353 GB, free: 82.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4824, allocations: 8.219 kB / 0.5353 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.4824, allocations: 8.766 kB / 0.5354 GB, free: 82.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003339/0.4828, allocations: 204.3 kB / 0.5356 GB, free: 82.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.4828, allocations: 5.906 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.4829, allocations: 9.703 kB / 0.5356 GB, free: 82.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.483, allocations: 53.77 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4831, allocations: 0 / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.4831, allocations: 9.422 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.4831, allocations: 1.156 kB / 0.5356 GB, free: 82.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4832, allocations: 25.52 kB / 0.5357 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00049/0.4837, allocations: 306.3 kB / 0.5359 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4839, allocations: 59.02 kB / 0.536 GB, free: 81.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.484, allocations: 4 kB / 0.536 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.4841, allocations: 76.38 kB / 0.5361 GB, free: 81.92 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.834e-06/0.4841, allocations: 0 / 0.5361 GB, free: 81.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000719/0.4849, allocations: 185.3 kB / 0.5363 GB, free: 81.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4849, allocations: 53.16 kB / 0.5363 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002138/0.4852, allocations: 167.7 kB / 0.5365 GB, free: 81.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4852, allocations: 28.94 kB / 0.5365 GB, free: 81.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.4853, allocations: 105.1 kB / 0.5366 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.4853, allocations: 28.34 kB / 0.5366 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.376e-06/0.4853, allocations: 4.969 kB / 0.5366 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4855, allocations: 325.1 kB / 0.5369 GB, free: 81.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.4856, allocations: 37.23 kB / 0.537 GB, free: 81.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4857, allocations: 52.23 kB / 0.537 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4858, allocations: 72.45 kB / 0.5371 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4858, allocations: 4 kB / 0.5371 GB, free: 81.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003475/0.4862, allocations: 178 kB / 0.5373 GB, free: 81.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.4863, allocations: 39.44 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4863, allocations: 1.344 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.4863, allocations: 0.5625 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.4864, allocations: 15.97 kB / 0.5373 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.4864, allocations: 5.062 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.347e-05/0.4865, allocations: 6.5 kB / 0.5373 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.4865, allocations: 13.53 kB / 0.5373 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.0001096/0.4866, allocations: 126.5 kB / 0.5375 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.4867, allocations: 8.844 kB / 0.5375 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003162/0.487, allocations: 129.5 kB / 0.5376 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.487, allocations: 1.094 kB / 0.5376 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.487, allocations: 0 / 0.5376 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.487, allocations: 1.688 kB / 0.5376 GB, free: 80.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005562/0.4876, allocations: 416.7 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4876, allocations: 2.25 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.723e-05/0.4877, allocations: 10.64 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4877, allocations: 1.469 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.4877, allocations: 5.672 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4877, allocations: 2.469 kB / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4877, allocations: 0 / 0.538 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.488, allocations: 225.2 kB / 0.5382 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.488e-05/0.4881, allocations: 99.94 kB / 0.5383 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.4881, allocations: 7.406 kB / 0.5383 GB, free: 80.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.4882, allocations: 6.688 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.4883, allocations: 7.094 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.4883, allocations: 3.234 kB / 0.5383 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.4884, allocations: 147.1 kB / 0.5385 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4884, allocations: 4 kB / 0.5385 GB, free: 80.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003424/0.4888, allocations: 47.38 kB / 0.5385 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.001018/0.4898, allocations: 438.7 kB / 0.539 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003655/0.4902, allocations: 166.8 kB / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4902, allocations: 3.688 kB / 0.5391 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.4903, allocations: 31.67 kB / 0.5392 GB, free: 79.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4906, allocations: 32.86 kB / 0.5392 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.4913, allocations: 245.8 kB / 0.5394 GB, free: 79.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.4916, allocations: 0.7092 MB / 0.5401 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.609e-05/0.4917, allocations: 11.95 kB / 0.5401 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.4917, allocations: 18.94 kB / 0.5401 GB, free: 78.98 MB / 378.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4917, allocations: 1 kB / 0.5401 GB, free: 78.98 MB / 378.7 MB Notification: Performance of Templates: time 0.005862/0.4976, allocations: 1.719 MB / 0.5418 GB, free: 78.8 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1)