Exception in parsing ONNX model with upsample layers

I’m using TensorRT on Windows 10, with GTX 1080.
It fails to parse ONNX model with Upsample layers downloadable via link below.

trtexec hangs after printing
758:Constant -> (4)

When debugging in VS 2017 I’m getting std::out_of_range exception in nvonnxparser::IParser::parseFromFile.
“Constant” is scales parameter of Upsample Layer which is float32 vector of size 4 [1,1,2,2]

Model download link:

Looks like this is solved in 5.1.