Differentiability of Stress at Local Minima