Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.000948/0.000948, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.385/1.385, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001573/0.001574, allocations: 116.1 kB / 247.4 MB, free: 6.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2183/0.2183, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.945e-05, allocations: 8 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 54.89 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5316, allocations: 81.25 MB / 0.517 GB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.5319, allocations: 72.31 kB / 0.5171 GB, free: 10.36 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime.getDerTableValue. [/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$startTime.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$startTime.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$startTime.getTableTimeTmax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$startTime_0.getDerTableValue. [/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$startTime_0.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$startTime_0.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$startTime_0.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.545, allocations: 5.903 MB / 0.5229 GB, free: 8.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.545, allocations: 4 kB / 0.5229 GB, free: 8.699 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.545, allocations: 7.656 kB / 0.5229 GB, free: 8.699 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007785/0.5458, allocations: 0.7216 MB / 0.5236 GB, free: 8.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.5459, allocations: 11.66 kB / 0.5236 GB, free: 8.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.546, allocations: 50.44 kB / 0.5237 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006793/0.5467, allocations: 475.1 kB / 0.5241 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.5467, allocations: 3.875 kB / 0.5241 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5467, allocations: 3.906 kB / 0.5241 GB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.794e-05/0.5468, allocations: 42.05 kB / 0.5242 GB, free: 7.699 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.547, allocations: 81.45 kB / 0.5242 GB, free: 7.637 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.547, allocations: 3.984 kB / 0.5242 GB, free: 7.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.547, allocations: 3.984 kB / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.547, allocations: 3.844 kB / 0.5242 GB, free: 7.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.5473, allocations: 379.3 kB / 0.5246 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.5475, allocations: 100.4 kB / 0.5247 GB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.916e-05/0.5475, allocations: 32.16 kB / 0.5247 GB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.5475, allocations: 0 / 0.5247 GB, free: 7.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001477/0.5477, allocations: 114.8 kB / 0.5248 GB, free: 7.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.5477, allocations: 3.938 kB / 0.5248 GB, free: 7.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002756/0.548, allocations: 173.3 kB / 0.525 GB, free: 7.145 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.548, allocations: 77.11 kB / 0.5251 GB, free: 7.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009043/0.5489, allocations: 0.8992 MB / 0.526 GB, free: 6.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.549, allocations: 29.55 kB / 0.526 GB, free: 6.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.5491, allocations: 236.8 kB / 0.5262 GB, free: 6.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.5491, allocations: 23.28 kB / 0.5262 GB, free: 6.691 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.018e-05/0.5491, allocations: 3.844 kB / 0.5262 GB, free: 6.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.5492, allocations: 369.3 kB / 0.5266 GB, free: 6.363 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.591e-05/0.5493, allocations: 56.05 kB / 0.5267 GB, free: 6.355 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.5494, allocations: 80.42 kB / 0.5267 GB, free: 6.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.5495, allocations: 61.38 kB / 0.5268 GB, free: 6.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5495, allocations: 4 kB / 0.5268 GB, free: 6.305 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002927/0.5498, allocations: 234.3 kB / 0.527 GB, free: 6.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.5499, allocations: 66.73 kB / 0.5271 GB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5499, allocations: 7.984 kB / 0.5271 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.5499, allocations: 3.719 kB / 0.5271 GB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.55, allocations: 23.03 kB / 0.5271 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.55, allocations: 3.688 kB / 0.5271 GB, free: 6.148 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.5501, allocations: 27.31 kB / 0.5271 GB, free: 6.133 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.5502, allocations: 11.72 kB / 0.5272 GB, free: 6.129 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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 6.172e-05/0.5502, allocations: 108.7 kB / 0.5273 GB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.5503, allocations: 50.75 kB / 0.5273 GB, free: 5.996 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.5506, allocations: 192.2 kB / 0.5275 GB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5506, allocations: 0 / 0.5275 GB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5506, allocations: 3.812 kB / 0.5275 GB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5506, allocations: 0 / 0.5275 GB, free: 5.926 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.5508, allocations: 359.8 kB / 0.5278 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.5508, allocations: 0 / 0.5278 GB, free: 5.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.5509, allocations: 19.52 kB / 0.5279 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5509, allocations: 3.875 kB / 0.5279 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5509, allocations: 0 / 0.5279 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5509, allocations: 0 / 0.5279 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5509, allocations: 3.875 kB / 0.5279 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.5511, allocations: 219 kB / 0.5281 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.5513, allocations: 209.1 kB / 0.5283 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.5514, allocations: 3.875 kB / 0.5283 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.5515, allocations: 3.969 kB / 0.5283 GB, free: 5.395 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.5516, allocations: 7.891 kB / 0.5283 GB, free: 5.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.5516, allocations: 11.44 kB / 0.5283 GB, free: 5.387 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005426/0.5521, allocations: 0.7088 MB / 0.529 GB, free: 5.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5521, allocations: 0 / 0.529 GB, free: 5.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003176/0.5524, allocations: 108.5 kB / 0.5291 GB, free: 5.207 MB / 346.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000912/0.5534, allocations: 475.2 kB / 0.5295 GB, free: 4.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.5536, allocations: 285.2 kB / 0.5298 GB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5536, allocations: 3.906 kB / 0.5298 GB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.657e-05/0.5537, allocations: 40.38 kB / 0.5299 GB, free: 4.746 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.554, allocations: 50.25 kB / 0.5299 GB, free: 4.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008888/0.5549, allocations: 0.7648 MB / 0.5307 GB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.5552, allocations: 0.854 MB / 0.5315 GB, free: 3.676 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000135/0.5553, allocations: 88.77 kB / 0.5316 GB, free: 3.621 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.119e-05/0.5554, allocations: 42.69 kB / 0.5316 GB, free: 3.586 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5554, allocations: 0 / 0.5316 GB, free: 3.586 MB / 346.7 MB Notification: Performance of Templates: time 0.007277/0.5627, allocations: 4.317 MB / 0.5358 GB, free: 15.31 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)