Linking Resource Test
This example model can be used to test the network simulation without middleware marshalling / demarshalling.
Test Case Description
Start PCM and import LinkingResourceTest in workspace
PCM IDE up and running, LinkingResourceTest project available in workspace
Create a new Memory Data Source and assign it to the two Run Configuration "LinkingResourceTest (SimuLizar)"
In the project, right-click on "LinkingResourceTest (SimuLizar) .launch" and select "Run As"->"1 LinkingResourceTest (SimuLizar)"
A simulation run is launched. The simulation should complete after a few minutes (or less).
Check the output in the console. It is easiest to copy it in a text editor and then search for the text occurences mentioned as expected results.
C1 sends two parameters to C2 with 3 characterisations:
Thus, the network should be loaded with a demand of 1333. With the network throughput of 10, that is an actual demand of 133.3 plus the latency, which is 0.01, so 133.31 is the final network load.
The simulation output should say at some point (if verbose output is log level debug are enabled):
For the communication back from the second component to the first, the RETURN.BYTESIZE is set to 500. Thus, a final network demand of 50.01 should be determined (including latency).
To see the above output, the launch config needs to be set to LogLevel Debug. With the current SimuLizar launch config, the level is set to info. Then, the log messages appear as required. Success
result testing day 11-11-2020: test failed
The console disappears during the simulation run
Updated test data URL