Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.001371/0.001371, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.002054/0.002054, allocations: 211 kB / 24.55 MB, free: 3.824 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.177/0.177, allocations: 38.56 MB / 353.3 MB, free: 12.27 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) 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(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.538e-05/2.538e-05, allocations: 2.281 kB / 493.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.008159/0.008184, allocations: 5.333 MB / 499.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004802/0.01299, allocations: 2.497 MB / 0.4899 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005267/0.01351, allocations: 31.75 kB / 0.4899 GB, free: 12.31 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.01484, allocations: 358.1 kB / 0.4902 GB, free: 11.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.01598, allocations: 473.7 kB / 0.4907 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01709, allocations: 465.4 kB / 0.4911 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.01863, allocations: 1.303 MB / 0.4924 GB, free: 9.734 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007615/0.0194, allocations: 447.6 kB / 0.4928 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007286/0.02012, allocations: 498.2 kB / 0.4933 GB, free: 8.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005335/0.02066, allocations: 358.3 kB / 0.4937 GB, free: 8.453 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.02077, allocations: 68 kB / 0.4937 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.02145, allocations: 367 kB / 0.4941 GB, free: 8.027 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001275/0.02273, allocations: 1.385 MB / 0.4954 GB, free: 6.629 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007042/0.02343, allocations: 0.8874 MB / 0.4963 GB, free: 5.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.02354, allocations: 48 kB / 0.4963 GB, free: 5.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0001647/0.0237, allocations: 31.8 kB / 0.4964 GB, free: 5.652 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 (126) * Number of variables: 146 (123) Notification: Performance of [SIM] Bindings: time 0.003753/0.02745, allocations: 3.244 MB / 0.4995 GB, free: 2.258 MB / 366.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003935/0.02785, allocations: 367.5 kB / 0.4999 GB, free: 1.887 MB / 366.1 MB Notification: Performance of [SIM] Early Inline: time 0.002454/0.0303, allocations: 2.151 MB / 0.502 GB, free: 15.69 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006122/0.03091, allocations: 343.3 kB / 0.5023 GB, free: 15.3 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.00416/0.03507, allocations: 2.767 MB / 0.505 GB, free: 12.21 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004221/0.0355, allocations: 279.8 kB / 0.5053 GB, free: 11.89 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002094/0.03571, allocations: 173.5 kB / 0.5055 GB, free: 11.7 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.000588/0.03629, allocations: 453.5 kB / 0.5059 GB, free: 11.2 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002151/0.03651, allocations: 126.3 kB / 0.506 GB, free: 11.07 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0007781/0.03729, allocations: 0.6166 MB / 0.5066 GB, free: 10.43 MB / 382.1 MB [/var/lib/jenkins1/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 line.omegaRef. Result: line.omegaRef with leftover: {1}. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0565537049551494] Failed to read output from testmodel.py, exit status != 0: 0.048804209975060076 0.33139746899999994 0.30467131199999997 Calling exit ...