A validation of the incremental formulation of 4D variational data assimilation in a nonlinear barotropic flow