Abstract interpretation of trace semantics for concurrent calculi