Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007007/0.007007, allocations: 175.5 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.924/1.924, allocations: 194.5 MB / 210.3 MB, free: 7.535 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.001909/0.001909, allocations: 128.5 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.2034/0.2034, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004613, allocations: 14.31 kB / 406.2 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 54.88 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.2474, allocations: 82.36 MB / 0.5307 GB, free: 0.8281 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.2477, allocations: 87.83 kB / 0.5307 GB, free: 0.7422 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.2548/0.5026, allocations: 5.15 MB / 0.5358 GB, free: 83.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.5026, allocations: 0 / 0.5358 GB, free: 83.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.5026, allocations: 1.469 kB / 0.5358 GB, free: 83.14 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.0004713/0.5031, allocations: 473.4 kB / 0.5362 GB, free: 82.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.5031, allocations: 9.781 kB / 0.5362 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.5032, allocations: 8.312 kB / 0.5362 GB, free: 82.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.5034, allocations: 197.5 kB / 0.5364 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.5035, allocations: 6.094 kB / 0.5364 GB, free: 82.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.5035, allocations: 11.09 kB / 0.5364 GB, free: 82.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.5036, allocations: 67.2 kB / 0.5365 GB, free: 82.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.5037, allocations: 4 kB / 0.5365 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5037, allocations: 9.25 kB / 0.5365 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.5037, allocations: 1.062 kB / 0.5365 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.079e-05/0.5038, allocations: 19.64 kB / 0.5365 GB, free: 82.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.5041, allocations: 295.2 kB / 0.5368 GB, free: 82.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.5043, allocations: 69 kB / 0.5369 GB, free: 82.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.5044, allocations: 4.906 kB / 0.5369 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001491/0.5045, allocations: 75.66 kB / 0.537 GB, free: 82.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.5045, allocations: 0 / 0.537 GB, free: 82.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.5051, allocations: 174.7 kB / 0.5371 GB, free: 82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.5051, allocations: 78.11 kB / 0.5372 GB, free: 81.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.5053, allocations: 141.4 kB / 0.5373 GB, free: 81.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5053, allocations: 35.45 kB / 0.5374 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.5053, allocations: 89.77 kB / 0.5375 GB, free: 81.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.5054, allocations: 29.11 kB / 0.5375 GB, free: 81.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.5054, allocations: 1.25 kB / 0.5375 GB, free: 81.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.5054, allocations: 319.5 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.5055, allocations: 37.12 kB / 0.5378 GB, free: 81.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.5056, allocations: 55.92 kB / 0.5379 GB, free: 81.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.893e-05/0.5057, allocations: 68.73 kB / 0.538 GB, free: 81.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5057, allocations: 0.875 kB / 0.538 GB, free: 81.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002347/0.5059, allocations: 163.5 kB / 0.5381 GB, free: 81.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.506, allocations: 33.48 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.506, allocations: 1.688 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.506, allocations: 0.8438 kB / 0.5381 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.5061, allocations: 15.3 kB / 0.5382 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5061, allocations: 1.875 kB / 0.5382 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.5062, allocations: 14.95 kB / 0.5382 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.5062, allocations: 5.531 kB / 0.5382 GB, free: 81.18 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 7.131e-05/0.5063, allocations: 124.7 kB / 0.5383 GB, free: 81.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.5063, allocations: 17.23 kB / 0.5383 GB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/0.5065, allocations: 120.9 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5066, allocations: 0.9062 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5066, allocations: 0 / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5066, allocations: 1.703 kB / 0.5384 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.507, allocations: 412.9 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.507, allocations: 1.031 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.856e-05/0.507, allocations: 9.953 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.5071, allocations: 1.156 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.5071, allocations: 3.312 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5071, allocations: 1.531 kB / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5071, allocations: 0 / 0.5388 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002125/0.5073, allocations: 227.7 kB / 0.5391 GB, free: 80.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.5074, allocations: 94.53 kB / 0.5391 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.5074, allocations: 4 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.5075, allocations: 5.234 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.5075, allocations: 11.17 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.5075, allocations: 5.969 kB / 0.5392 GB, free: 80.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.5076, allocations: 113.7 kB / 0.5393 GB, free: 80.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5076, allocations: 0 / 0.5393 GB, free: 80.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.508, allocations: 53.73 kB / 0.5393 GB, free: 80.33 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.001074/0.509, allocations: 0.5247 MB / 0.5398 GB, free: 79.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.5093, allocations: 153.5 kB / 0.54 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5094, allocations: 3.938 kB / 0.54 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.237e-05/0.5094, allocations: 31.58 kB / 0.54 GB, free: 79.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5097, allocations: 21.34 kB / 0.54 GB, free: 79.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.5101, allocations: 212.4 kB / 0.5402 GB, free: 79.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.5103, allocations: 0.7052 MB / 0.5409 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.5103, allocations: 9.875 kB / 0.5409 GB, free: 79.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.705e-05/0.5104, allocations: 17.77 kB / 0.541 GB, free: 79.03 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5104, allocations: 0 / 0.541 GB, free: 79.03 MB / 378.7 MB Notification: Performance of Templates: time 0.005143/0.5155, allocations: 1.955 MB / 0.5429 GB, free: 78.66 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1)