Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 218.7 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank1.aboveLevel.1.|tank2.aboveLevel.1.",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.466e-05, allocations: 2.281 kB / 378.9 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.TwoTanks): time 0.2166/0.2167, allocations: 16.24 MB / 395.2 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008376/0.225, allocations: 5.505 MB / 400.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.2262, allocations: 34.41 kB / 400.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.2273, allocations: 321.4 kB / 401 MB, free: 1.543 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0031/0.2304, allocations: 1.081 MB / 402.1 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004921/0.2353, allocations: 1.681 MB / 403.8 MB, free: 15.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004763/0.24, allocations: 2.879 MB / 406.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001552/0.2416, allocations: 0.6399 MB / 407.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.2448, allocations: 1.24 MB / 408.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.2466, allocations: 0.8282 MB / 409.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.2468, allocations: 69.75 kB / 409.4 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/0.2497, allocations: 1 MB / 410.4 MB, free: 12.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.002295/0.252, allocations: 1.919 MB / 412.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001139/0.2531, allocations: 1.124 MB / 413.5 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.2533, allocations: 70.12 kB / 413.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001614/0.2535, allocations: 21.62 kB / 413.6 MB, free: 10.14 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 (109) * Number of variables: 120 (112) Notification: Performance of [SIM] Bindings: time 0.005764/0.2592, allocations: 4.633 MB / 418.2 MB, free: 5.859 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007581/0.26, allocations: 0.517 MB / 418.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.003177/0.2632, allocations: 2.71 MB / 421.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008191/0.264, allocations: 483.3 kB / 421.9 MB, free: 2.047 MB / 318.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.003927/0.2679, allocations: 2.453 MB / 424.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006517/0.2686, allocations: 436.6 kB / 424.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003057/0.2689, allocations: 240 kB / 425 MB, free: 14.6 MB / 334.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFComponentRef.mo:684:7-687:102:writable] Error: Internal error NFComponentRef.mergeSubscripts failed because the subscripts {1} could not be fully merged onto $PRE.tank1.aboveLevel[1]. Result: $PRE.tank1.aboveLevel[1] with leftover: {1}. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5552543299272656] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank1.aboveLevel[1]', 'tank2.aboveLevel[1]'] 0.2778761778026819 0.292970598 0.036408479 Calling exit ...