It isn't always clear if there is some spasm or you just feel trapped gas or it is just normal colon activity that gets felt as painful.For IBS the pain can last from a few minutes to several decades without let up.So 4-5 hours is in the range and normal for IBS.IBS pain ranges from mildly annoying to extremely severe.