Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Test for CSTR #249

Closed
AntoniaBerger opened this issue Jul 24, 2024 · 2 comments · Fixed by #245
Closed

Failing Test for CSTR #249

AntoniaBerger opened this issue Jul 24, 2024 · 2 comments · Fixed by #245

Comments

@AntoniaBerger
Copy link
Collaborator

Expected behaviour

The following test in test\CSTR-Simulation.cpp should pass:

  • CSTR linear binding single particle matches particle distribution

Actual behaviour

  • In release mode the test runner (release\testRunner.exe) fails with the message

due to unexpected exception with message: Error in IDASolve: IDA_ERR_FAIL at t = 0.000000

  • On the other hand in debug mode the Debug\testRunner.exe crashes at line 70 in test\ParticleHelper.cpp.

The exact massage is given by:
grafik

Site node:
The same test also shows the same behavoir for the CSTRVarPor

@AntoniaBerger
Copy link
Collaborator Author

AntoniaBerger commented Jul 25, 2024

It appears that the number of components in the test configuration and in function testLinearMixedParticleTypesImpl (ParticalHelper line 314) did not align, such that the replicateData in line 70 tried to replicate a 2dim vector 3 times.

Changing the number of paricals to 2, fixed that problem.

The test in quasi-stationary binding still fails with CSTR and CSTRVarPor:

due to unexpected exception with message:
  Error in IDASolve: IDA_ERR_FAIL at t = 0.000000

@jbreue16 jbreue16 added the test label Jul 26, 2024
@jbreue16
Copy link
Contributor

jbreue16 commented Jul 26, 2024

We have a bunch of tests that need some maintenance, they are tracked in a "meta"-issue here #254

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants