Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006048/0.006049, allocations: 175.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.668/1.668, allocations: 194.5 MB / 210.3 MB, free: 8.594 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.001713/0.001713, allocations: 112.6 kB / 255.6 MB, free: 11.2 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.2011/0.2011, allocations: 40.01 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004383, allocations: 23.41 kB / 406.2 MB, free: 52.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1262, allocations: 54.87 MB / 461 MB, free: 3.414 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.2532, allocations: 82.37 MB / 0.5307 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.2535, allocations: 75.97 kB / 0.5307 GB, free: 0.8555 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.286/0.5395, allocations: 5.409 MB / 0.536 GB, free: 83.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.095e-06/0.5396, allocations: 0 / 0.536 GB, free: 83.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.5396, allocations: 14.41 kB / 0.536 GB, free: 83.1 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005507/0.5401, allocations: 469.8 kB / 0.5365 GB, free: 82.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.5402, allocations: 8.906 kB / 0.5365 GB, free: 82.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.5403, allocations: 17.25 kB / 0.5365 GB, free: 82.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.5406, allocations: 203.3 kB / 0.5367 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/0.5406, allocations: 2.719 kB / 0.5367 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.5407, allocations: 7.969 kB / 0.5367 GB, free: 82.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.5409, allocations: 84.59 kB / 0.5368 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.5409, allocations: 0.8438 kB / 0.5368 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.5409, allocations: 1.594 kB / 0.5368 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.5409, allocations: 0 / 0.5368 GB, free: 82.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5411, allocations: 38.61 kB / 0.5368 GB, free: 82.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.5416, allocations: 313.2 kB / 0.5371 GB, free: 82.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5418, allocations: 82.31 kB / 0.5372 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.5419, allocations: 1.797 kB / 0.5372 GB, free: 82.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.5421, allocations: 77.94 kB / 0.5373 GB, free: 82.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.5421, allocations: 0 / 0.5373 GB, free: 82.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.000756/0.5428, allocations: 211.1 kB / 0.5375 GB, free: 81.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.5429, allocations: 85.3 kB / 0.5376 GB, free: 81.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.5431, allocations: 147.9 kB / 0.5377 GB, free: 81.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.5431, allocations: 32.08 kB / 0.5377 GB, free: 81.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.5432, allocations: 97.36 kB / 0.5378 GB, free: 81.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.5432, allocations: 27.05 kB / 0.5379 GB, free: 81.63 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.945e-06/0.5432, allocations: 4.531 kB / 0.5379 GB, free: 81.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.544e-05/0.5433, allocations: 320.5 kB / 0.5382 GB, free: 81.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.5434, allocations: 38.3 kB / 0.5382 GB, free: 81.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.5436, allocations: 64.62 kB / 0.5383 GB, free: 81.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.5437, allocations: 77.41 kB / 0.5383 GB, free: 81.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5437, allocations: 7.891 kB / 0.5384 GB, free: 81.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003013/0.544, allocations: 179.7 kB / 0.5385 GB, free: 81.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.544, allocations: 36.44 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.5441, allocations: 1.469 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5441, allocations: 0 / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.5442, allocations: 22.45 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.5442, allocations: 3.203 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.5443, allocations: 6.812 kB / 0.5386 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.5443, allocations: 5.656 kB / 0.5386 GB, free: 81.14 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 (12): * Single equations (assignments): 11 * 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 9.322e-05/0.5444, allocations: 123.6 kB / 0.5387 GB, free: 81.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.5444, allocations: 12.55 kB / 0.5387 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.5447, allocations: 148.3 kB / 0.5389 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5448, allocations: 7.219 kB / 0.5389 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5448, allocations: 0 / 0.5389 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5448, allocations: 1.375 kB / 0.5389 GB, free: 80.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/0.5453, allocations: 433.1 kB / 0.5393 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5453, allocations: 3.938 kB / 0.5393 GB, free: 80.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.5454, allocations: 18.94 kB / 0.5393 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.5454, allocations: 1.312 kB / 0.5393 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.5454, allocations: 3.625 kB / 0.5393 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5454, allocations: 4.938 kB / 0.5393 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.5455, allocations: 1.953 kB / 0.5393 GB, free: 80.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.5458, allocations: 238.3 kB / 0.5395 GB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.5458, allocations: 104.1 kB / 0.5396 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.5459, allocations: 5.703 kB / 0.5397 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.546, allocations: 7.984 kB / 0.5397 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.546, allocations: 12.84 kB / 0.5397 GB, free: 80.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.546, allocations: 5.578 kB / 0.5397 GB, free: 80.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001051/0.5461, allocations: 118.7 kB / 0.5398 GB, free: 80.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5462, allocations: 0 / 0.5398 GB, free: 80.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.5465, allocations: 61.53 kB / 0.5398 GB, free: 80.28 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 (11): * Single equations (assignments): 9 * 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.001309/0.5478, allocations: 0.5216 MB / 0.5404 GB, free: 79.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003308/0.5482, allocations: 169 kB / 0.5405 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.5482, allocations: 5.562 kB / 0.5405 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.5483, allocations: 41.17 kB / 0.5406 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.5486, allocations: 19.3 kB / 0.5406 GB, free: 79.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.5491, allocations: 233.5 kB / 0.5408 GB, free: 79.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.5493, allocations: 0.7042 MB / 0.5415 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.563e-05/0.5494, allocations: 19.3 kB / 0.5415 GB, free: 78.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.5494, allocations: 19.72 kB / 0.5415 GB, free: 78.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5494, allocations: 3.938 kB / 0.5415 GB, free: 78.97 MB / 378.7 MB Notification: Performance of Templates: time 0.005491/0.5549, allocations: 2.09 MB / 0.5436 GB, free: 78.44 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)