duplicate output from last timepoint
Under certain combinations of startTime, endTime, and timeInterval, tabled output will contain two copies of the values from the last timepoint. My hunch from playing with different values is that this is a float-rounding issue, but I haven't proved that yet.
Examples:
<SimulationModel>
<SimulaConstant name="origin" type="coordinate" unit="cm">
0 0 0
<SimulaBase name="somepath">
<SimulaConstant name="somevar" type="double">1</SimulaConstant>
</SimulaBase>
<SimulaBase name="simulationControls">
<SimulaBase name="outputParameters">
<SimulaBase name="defaults">
<SimulaConstant name="endTime" type="double">1</SimulaConstant>
<SimulaConstant name="startTime" type="double">0</SimulaConstant>
<SimulaConstant name="timeInterval" type="double">0.1</SimulaConstant>
</SimulaBase>
<SimulaBase name="table">
<SimulaConstant name="searchingDepth" type="integer">5</SimulaConstant>
</SimulaBase>
</SimulaBase>
</SimulaBase>
</SimulaConstant>
</SimulationModel>
Expected: tabled_output.tab contains 11 lines with timepoints 0.000, 0.100, ..., 0.900, 1.000
Got: 12 lines with timepoints 0.000, 0.100, ..., 0.900, 1.000, 1.000
Workaround: Changing timeInterval to 0.10001
produces the expected 11 timepoints.