I've seen criminals beaten up in front of me by the police until they gave up information, which they did, and it was accurate.
I also know how counter-insurgency was carried out and how it worked.
Torture doesn't work for some things, it works for others. To say it never works is incredibly stupid. I'm not justifying it, I'm just stating a fact.
I guarantee the police you are talking about could have gotten a lot more information without the beating though. Sure, it would have taken longer since effective interrogation requires "breaking" the subject first (which can take anywhere from an hour to a month depending on how well the individual has been trained in interrogation resistance). And by beating the criminal, they destroy any chance of flipping him/her into a source that can continue to give them information about other criminal activities. As an intelligence collector that is your main goal, to build a source network that creates a constant stream of information flowing into your hands so you always maintain a clear picture of the "battlefield".
The yield from torture is just too small and too unreliable to make it a viable intelligence collection technique, especially when it comes to long-term tactical intelligence collection or strategic intelligence collection. Sure, the few nuggets of information you get might occasionally be accurate (and I do mean occasionally), but I guarantee the person you are torturing will not tell you everything they know that might be of value to you; they will only tell you enough to make the pain stop.
EDIT: Please don't take this as an insult because it is not meant as such; but I see your reasoning comes from never actually having to collect intelligence or being trained in the techniques to do so. To properly and thoroughly debrief someone is a long, tedious, and delicate process. Torture does not allow that process to properly happen and will result in very poor intelligence collection an reporting. I'll use the Iraqi Army as an example since I was attached to them for 3 months to aid them in their counter-insurgency efforts. They tortured their detainees to get intelligence, and they though they did an awesome job because they would get the location of a single weapons cache and would swear that was all the guy knew. Not to toot my own horn, but I would do a follow-up interrogation without torture and I would get the locations of other caches, safehouses, names and physical descriptions of other members of his cell, and on occasion I would discover the guy I was interrogating was actually the commander of the cell when he told the IA guys he was just a low-level member.