Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank.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.001267/0.001267, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001364/0.001364, allocations: 210.8 kB / 24.49 MB, free: 3.961 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.488/1.488, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5484,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") translateModel(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5484,variableFilter="time|tank.level|tank.medium.T|tank.aboveLevel.1.|tank.ports_m_flow_out.1.|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="Modelica_4.1.0_Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.518e-05/2.518e-05, allocations: 6.219 kB / 378.9 MB, free: 2.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.AST_BatchPlant.Test.OneTank): time 0.2531/0.2531, allocations: 16.24 MB / 395.2 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2647, allocations: 6.062 MB / 401.2 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.2662, allocations: 32.31 kB / 401.3 MB, free: 1.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.2678, allocations: 375.2 kB / 401.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004362/0.2721, allocations: 1.048 MB / 402.7 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007025/0.2792, allocations: 1.949 MB / 404.6 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005002/0.2842, allocations: 2.793 MB / 407.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.2861, allocations: 0.6327 MB / 408.1 MB, free: 13.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.2892, allocations: 1.214 MB / 409.3 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.2913, allocations: 0.8316 MB / 410.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003221/0.2916, allocations: 69.81 kB / 410.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003288/0.2949, allocations: 0.9992 MB / 411.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003435/0.2983, allocations: 1.88 MB / 413.1 MB, free: 10.55 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001763/0.3001, allocations: 1.111 MB / 414.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.3007, allocations: 71.12 kB / 414.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002956/0.301, allocations: 29.25 kB / 414.3 MB, free: 9.762 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: 126 (112) * Number of variables: 126 (118) Notification: Performance of [SIM] Bindings: time 0.007893/0.3089, allocations: 4.486 MB / 418.7 MB, free: 5.379 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0007112/0.3096, allocations: 488.8 kB / 419.2 MB, free: 4.887 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.002975/0.3126, allocations: 2.163 MB / 421.4 MB, free: 2.68 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008913/0.3135, allocations: 433.4 kB / 421.8 MB, free: 2.207 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.00397/0.3175, allocations: 2.335 MB / 424.1 MB, free: 15.6 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0006157/0.3181, allocations: 376.4 kB / 424.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003044/0.3184, allocations: 220 kB / 424.7 MB, free: 14.94 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.tank.ports_m_flow_out[1]. Result: $PRE.tank.ports_m_flow_out[1] with leftover: {1}. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.5677555077709258] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank.level', 'tank.medium.T', 'tank.aboveLevel[1]', 'tank.ports_m_flow_out[1]', 'timeTable.a', 'timeTable.b', 'timeTable.last', 'timeTable.nextEvent'] 0.3273533331230283 0.343172799 0.038771642 Calling exit ...