Benchmark of the HYMAGYC code