Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007778/0.007778, allocations: 175.9 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.49/1.49, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.001637/0.001637, allocations: 116.6 kB / 255.6 MB, free: 10.23 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.176/0.176, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004555, allocations: 12.53 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.2777, allocations: 82.14 MB / 0.5305 GB, free: 1.051 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/0.278, allocations: 75.95 kB / 0.5305 GB, free: 0.9766 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.3193/0.5973, allocations: 4.909 MB / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5973, allocations: 0 / 0.5353 GB, free: 83.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.5974, allocations: 2.281 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.0006171/0.598, allocations: 0.4902 MB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.5981, allocations: 8.594 kB / 0.5358 GB, free: 82.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/0.5981, allocations: 23.11 kB / 0.5358 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.5985, allocations: 216.8 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5985, allocations: 2.969 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.171e-05/0.5986, allocations: 8.484 kB / 0.536 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.5988, allocations: 56.03 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.5988, allocations: 0.6094 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.5988, allocations: 0 / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5988, allocations: 3.953 kB / 0.5361 GB, free: 82.29 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5989, allocations: 26.19 kB / 0.5361 GB, free: 82.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006343/0.5996, allocations: 328.3 kB / 0.5364 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.5998, allocations: 58.78 kB / 0.5365 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.5998, allocations: 2.125 kB / 0.5365 GB, free: 81.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002287/0.6001, allocations: 77.27 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.507e-06/0.6001, allocations: 2.281 kB / 0.5366 GB, free: 81.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008671/0.601, allocations: 194.8 kB / 0.5368 GB, free: 81.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.601, allocations: 54.11 kB / 0.5368 GB, free: 81.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003891/0.6014, allocations: 233.8 kB / 0.537 GB, free: 81.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.6015, allocations: 27.52 kB / 0.5371 GB, free: 81.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.6015, allocations: 109.8 kB / 0.5372 GB, free: 81.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.6016, allocations: 26.83 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.6016, allocations: 5.844 kB / 0.5372 GB, free: 81.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6017, allocations: 328.5 kB / 0.5375 GB, free: 81.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.6018, allocations: 39.03 kB / 0.5376 GB, free: 81.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.602, allocations: 54.52 kB / 0.5376 GB, free: 81.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001231/0.6021, allocations: 70.77 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6021, allocations: 1.344 kB / 0.5377 GB, free: 81.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002853/0.6024, allocations: 181.9 kB / 0.5378 GB, free: 81.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.6024, allocations: 42.45 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.6024, allocations: 1.312 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6025, allocations: 1.188 kB / 0.5379 GB, free: 81.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.941e-05/0.6026, allocations: 27.88 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.6026, allocations: 1.359 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.6027, allocations: 4.938 kB / 0.5379 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.6027, allocations: 5.328 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.000106/0.6028, allocations: 137 kB / 0.5381 GB, free: 80.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.6028, allocations: 18.28 kB / 0.5381 GB, free: 80.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.6031, allocations: 131.4 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.6031, allocations: 1.125 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.289e-06/0.6031, allocations: 1.5 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.6031, allocations: 0.7031 kB / 0.5382 GB, free: 80.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.6037, allocations: 441.1 kB / 0.5386 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6037, allocations: 5.516 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.6037, allocations: 14.59 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.6037, allocations: 0 / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.6038, allocations: 3.234 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.6038, allocations: 1.703 kB / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6038, allocations: 0 / 0.5386 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.604, allocations: 227.9 kB / 0.5389 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.555e-05/0.6041, allocations: 112.5 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.6042, allocations: 2.672 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.6042, allocations: 8.984 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.6043, allocations: 12.92 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.6043, allocations: 3.922 kB / 0.539 GB, free: 80.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002192/0.6046, allocations: 189.1 kB / 0.5392 GB, free: 80.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6046, allocations: 0 / 0.5392 GB, free: 80.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003105/0.6049, allocations: 46.58 kB / 0.5392 GB, free: 80.23 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.001026/0.6059, allocations: 438.7 kB / 0.5396 GB, free: 79.94 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.6062, allocations: 174.7 kB / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6062, allocations: 0 / 0.5398 GB, free: 79.86 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.6063, allocations: 39.94 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.000248/0.6066, allocations: 23.38 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.0005883/0.6072, allocations: 314.4 kB / 0.5402 GB, free: 79.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.6074, allocations: 0.7264 MB / 0.5409 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.285e-05/0.6075, allocations: 16.05 kB / 0.5409 GB, free: 78.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.6075, allocations: 16.91 kB / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6075, allocations: 0 / 0.5409 GB, free: 78.96 MB / 378.7 MB Notification: Performance of Templates: time 0.004969/0.6125, allocations: 1.871 MB / 0.5427 GB, free: 78.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)