tpoints1 = vensim_get_data("base.vdf", "population", "time", rval(1), tval(1), 500)
tpoints2 = vensim_get_data("bobblah.vdf", "population", "time", rval2(1), tval2(1), 500)
The vensim_get_data function will populate arrays with values for time and population. Note that Vensim is very general in its handling of time axis and will not always return the same number of points or the same time values for different runs. Even for a single run, Data variables will be different from other variables.