1

Your edit shows that Mathematica is just taking $\arg \zeta(s)$ in $(-\pi,\pi)$. The obtained function doesn't have good analytic properties, it is isn't what we need for $N(T)$ (the non-trivial zeros counting function).
What we need, the standard definition of $\arg \zeta(s)$. (ie. the one you'l...