Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001346/0.001346, allocations: 174.2 kB / 7.649 MB, free: 1.398 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.518/1.518, allocations: 194.3 MB / 202.4 MB, free: 8.473 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.001735/0.001735, allocations: 110.3 kB / 247.4 MB, free: 6.242 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.1996/0.1996, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.675e-05/1.677e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.09846, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3362/0.4347, allocations: 81.25 MB / 0.517 GB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/0.435, allocations: 72.64 kB / 0.5171 GB, free: 10.39 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.01292/0.4479, allocations: 5.905 MB / 0.5229 GB, free: 8.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4479, allocations: 0 / 0.5229 GB, free: 8.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.448, allocations: 15.56 kB / 0.5229 GB, free: 8.727 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.0006772/0.4486, allocations: 0.7276 MB / 0.5236 GB, free: 8.055 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.4487, allocations: 7.625 kB / 0.5236 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.329e-05/0.4488, allocations: 50.69 kB / 0.5237 GB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.4495, allocations: 474.1 kB / 0.5241 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4495, allocations: 7.594 kB / 0.5241 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.4495, allocations: 3.875 kB / 0.5241 GB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.766e-05/0.4496, allocations: 30.08 kB / 0.5242 GB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.4498, allocations: 85.3 kB / 0.5242 GB, free: 7.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.4498, allocations: 3.938 kB / 0.5242 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.4498, allocations: 0 / 0.5242 GB, free: 7.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.4498, allocations: 3.938 kB / 0.5242 GB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.4501, allocations: 388.7 kB / 0.5246 GB, free: 7.414 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.4502, allocations: 100.5 kB / 0.5247 GB, free: 7.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.4503, allocations: 35.61 kB / 0.5247 GB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.4503, allocations: 0 / 0.5247 GB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/0.4505, allocations: 114.6 kB / 0.5249 GB, free: 7.246 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.4505, allocations: 3.938 kB / 0.5249 GB, free: 7.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002682/0.4508, allocations: 170.9 kB / 0.525 GB, free: 7.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4508, allocations: 80.95 kB / 0.5251 GB, free: 7.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009164/0.4517, allocations: 0.8999 MB / 0.526 GB, free: 6.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4517, allocations: 29.67 kB / 0.526 GB, free: 6.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4519, allocations: 230.2 kB / 0.5262 GB, free: 6.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.4519, allocations: 27.36 kB / 0.5262 GB, free: 6.719 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/0.4519, allocations: 3.969 kB / 0.5263 GB, free: 6.719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.099e-05/0.452, allocations: 369.1 kB / 0.5266 GB, free: 6.387 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.527e-05/0.4521, allocations: 53.22 kB / 0.5267 GB, free: 6.383 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.957e-05/0.4521, allocations: 77.8 kB / 0.5267 GB, free: 6.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.148e-05/0.4522, allocations: 69.58 kB / 0.5268 GB, free: 6.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4523, allocations: 0 / 0.5268 GB, free: 6.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002925/0.4526, allocations: 234.9 kB / 0.527 GB, free: 6.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.4526, allocations: 70.67 kB / 0.5271 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4526, allocations: 0 / 0.5271 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4526, allocations: 3.906 kB / 0.5271 GB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.4527, allocations: 23.39 kB / 0.5271 GB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.4528, allocations: 7.781 kB / 0.5271 GB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001182/0.4529, allocations: 27.44 kB / 0.5271 GB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.4529, allocations: 7.688 kB / 0.5272 GB, free: 6.156 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 5.946e-05/0.453, allocations: 120.4 kB / 0.5273 GB, free: 6.043 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.039e-05/0.453, allocations: 50.41 kB / 0.5273 GB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.4533, allocations: 185.3 kB / 0.5275 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4533, allocations: 0 / 0.5275 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.4533, allocations: 0 / 0.5275 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4533, allocations: 0 / 0.5275 GB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.4535, allocations: 359.7 kB / 0.5278 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4535, allocations: 3.781 kB / 0.5278 GB, free: 5.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.4536, allocations: 11.69 kB / 0.5279 GB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4536, allocations: 0 / 0.5279 GB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4536, allocations: 7.812 kB / 0.5279 GB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4536, allocations: 3.984 kB / 0.5279 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.4536, allocations: 0 / 0.5279 GB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/0.4538, allocations: 218.2 kB / 0.5281 GB, free: 5.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.454, allocations: 201.4 kB / 0.5283 GB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/0.4541, allocations: 3.969 kB / 0.5283 GB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.429e-05/0.4542, allocations: 15.61 kB / 0.5283 GB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.4543, allocations: 15.61 kB / 0.5283 GB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.4543, allocations: 3.906 kB / 0.5283 GB, free: 5.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005546/0.4548, allocations: 0.7013 MB / 0.529 GB, free: 5.258 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4548, allocations: 0 / 0.529 GB, free: 5.258 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.4552, allocations: 111.7 kB / 0.5291 GB, free: 5.234 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.0009254/0.4561, allocations: 471.5 kB / 0.5295 GB, free: 4.926 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.4563, allocations: 280.2 kB / 0.5298 GB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4564, allocations: 128 / 0.5298 GB, free: 4.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.688e-05/0.4564, allocations: 47.7 kB / 0.5299 GB, free: 4.777 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.4567, allocations: 54.06 kB / 0.5299 GB, free: 4.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008546/0.4576, allocations: 0.7599 MB / 0.5306 GB, free: 4.484 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4579, allocations: 0.8511 MB / 0.5315 GB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.458, allocations: 96.7 kB / 0.5316 GB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.953e-05/0.4581, allocations: 42.17 kB / 0.5316 GB, free: 3.625 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4581, allocations: 0 / 0.5316 GB, free: 3.625 MB / 346.7 MB Notification: Performance of Templates: time 0.007104/0.4652, allocations: 4.317 MB / 0.5358 GB, free: 15.34 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)