Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01079/0.01079, allocations: 175.8 kB / 15.12 MB, free: 5.59 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.693/1.693, allocations: 194.5 MB / 210.3 MB, free: 7.727 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.001748/0.001748, allocations: 116.7 kB / 255.6 MB, free: 10.35 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.2129/0.2129, allocations: 40 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004611, allocations: 15.08 kB / 406.2 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1355, allocations: 54.88 MB / 461 MB, free: 3.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.2584, allocations: 82.36 MB / 0.5307 GB, free: 0.8398 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.2587, allocations: 75.91 kB / 0.5307 GB, free: 0.7656 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.2409/0.4996, allocations: 5.161 MB / 0.5358 GB, free: 83.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4997, allocations: 0 / 0.5358 GB, free: 83.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.4997, allocations: 3.938 kB / 0.5358 GB, free: 83.21 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.0004853/0.5002, allocations: 470.8 kB / 0.5362 GB, free: 82.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.5002, allocations: 10.84 kB / 0.5362 GB, free: 82.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.5003, allocations: 8.281 kB / 0.5362 GB, free: 82.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.5006, allocations: 200 kB / 0.5364 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.5006, allocations: 9.594 kB / 0.5364 GB, free: 82.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.5006, allocations: 7.938 kB / 0.5365 GB, free: 82.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.5008, allocations: 70.45 kB / 0.5365 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5008, allocations: 0 / 0.5365 GB, free: 82.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5009, allocations: 6.141 kB / 0.5365 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.5009, allocations: 0 / 0.5365 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.5009, allocations: 19.72 kB / 0.5365 GB, free: 82.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.5013, allocations: 304 kB / 0.5368 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.5015, allocations: 59.89 kB / 0.5369 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.5015, allocations: 1.406 kB / 0.5369 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.5017, allocations: 72.38 kB / 0.537 GB, free: 82.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.5017, allocations: 0 / 0.537 GB, free: 82.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005591/0.5022, allocations: 182.4 kB / 0.5371 GB, free: 82.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.5023, allocations: 78.77 kB / 0.5372 GB, free: 81.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.5024, allocations: 146.5 kB / 0.5374 GB, free: 81.88 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.5025, allocations: 26.98 kB / 0.5374 GB, free: 81.85 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.5025, allocations: 94.02 kB / 0.5375 GB, free: 81.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5025, allocations: 26.52 kB / 0.5375 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.942e-06/0.5026, allocations: 1.438 kB / 0.5375 GB, free: 81.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.526e-05/0.5026, allocations: 320.7 kB / 0.5378 GB, free: 81.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.663e-05/0.5027, allocations: 35.42 kB / 0.5378 GB, free: 81.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.645e-05/0.5028, allocations: 54.77 kB / 0.5379 GB, free: 81.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001016/0.5029, allocations: 66.08 kB / 0.5379 GB, free: 81.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5029, allocations: 0 / 0.5379 GB, free: 81.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00026/0.5032, allocations: 162.4 kB / 0.5381 GB, free: 81.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/0.5032, allocations: 37.02 kB / 0.5381 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5033, allocations: 1.094 kB / 0.5381 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5033, allocations: 9.062 kB / 0.5381 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.808e-05/0.5034, allocations: 15.69 kB / 0.5382 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5034, allocations: 2.188 kB / 0.5382 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.429e-05/0.5035, allocations: 5.562 kB / 0.5382 GB, free: 81.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5035, allocations: 3.656 kB / 0.5382 GB, free: 81.27 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 8.657e-05/0.5036, allocations: 130.1 kB / 0.5383 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.5036, allocations: 16.36 kB / 0.5383 GB, free: 81.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.5039, allocations: 127.7 kB / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5039, allocations: 2.844 kB / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.5039, allocations: 0 / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5039, allocations: 0 / 0.5384 GB, free: 81.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.5044, allocations: 408.1 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5044, allocations: 2.844 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.5045, allocations: 8.219 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.5045, allocations: 2.203 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.5045, allocations: 6.062 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.5045, allocations: 1.969 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5045, allocations: 1.031 kB / 0.5388 GB, free: 80.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.5048, allocations: 222.3 kB / 0.5391 GB, free: 80.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.355e-05/0.5048, allocations: 99.03 kB / 0.5392 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.5049, allocations: 5.781 kB / 0.5392 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-05/0.505, allocations: 8.109 kB / 0.5392 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.505, allocations: 6.516 kB / 0.5392 GB, free: 80.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.505, allocations: 4.078 kB / 0.5392 GB, free: 80.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.504e-05/0.5051, allocations: 110.1 kB / 0.5393 GB, free: 80.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5051, allocations: 0 / 0.5393 GB, free: 80.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004048/0.5056, allocations: 54.09 kB / 0.5393 GB, free: 80.41 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.001196/0.5068, allocations: 0.5217 MB / 0.5398 GB, free: 80.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.5071, allocations: 157.3 kB / 0.54 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5071, allocations: 0 / 0.54 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.5072, allocations: 33.56 kB / 0.54 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.5074, allocations: 17.83 kB / 0.54 GB, free: 80 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004062/0.5078, allocations: 216.8 kB / 0.5403 GB, free: 79.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.508, allocations: 0.7 MB / 0.5409 GB, free: 79.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.853e-05/0.5081, allocations: 12.69 kB / 0.5409 GB, free: 79.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.5081, allocations: 17.88 kB / 0.541 GB, free: 79.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5081, allocations: 0 / 0.541 GB, free: 79.12 MB / 378.7 MB Notification: Performance of Templates: time 0.005387/0.5135, allocations: 1.961 MB / 0.5429 GB, free: 78.74 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)