The longest lap - at least on an original map I think. Which is Italy. I created one on Shuto that was 83 km long but that i much quicker. Anyway, let´s see some pictures: here is the layout: It is approximately 39 miles long (62.8 km), can be done in reverse also (then you have to go on the "wrong" lane on the highway), flying start also if that matters to you. It ends with a long straight just like a Targa Florio lap would do. If you do 25 laps, you have (nearly) 1000 miles - Mille Miglia! My fastest lap was a 38:49 in a Raven R20 Trackday. Also included are two slaloms on the Airfield and one AI race for testing setups in a slalom. In this AI race you can try to follow the AI driven car (it always uses the same car you use) in front of you (not easy), or switch to the AI driven car to see what time it gets. Then you can make changes to setups or configurations and see if it made the car faster. It is now on the repo: https://www.beamng.com/resources/italy-mille-miglia-lap.29471/ Hope you enjoy!
Sorry I just opened my computer now, but by the looks of it, you already found the problem and the solution, glad I could somewhat help you finding this and, again, sorry for not replying any sooner