Skip to content

Add tests for actually calling OpenModelica #67

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

Merged
merged 8 commits into from
Jun 8, 2018

Conversation

sjoelund
Copy link
Member

@sjoelund sjoelund commented Jun 5, 2018

Closes #58
Closes #61

@sjoelund sjoelund force-pushed the jenkins-build-deps-image branch 5 times, most recently from f7d7e9f to 92ef962 Compare June 6, 2018 17:26
@sjoelund sjoelund requested review from adeas31, arun3688 and alash325 June 6, 2018 17:27
@sjoelund
Copy link
Member Author

sjoelund commented Jun 6, 2018

I had quite a lot of problems with OMPython sometimes hanging when trying to quit. This might be related to the problems we have with OMSimulator (@lochel). Do any of you have any better ideas? #61 related perhaps? I think one thing we did wrong was that we just checked the exit status of OMC, but this was actually never updated because we didn't poll or wait on the subprocess.

sjoelund and others added 7 commits June 7, 2018 09:27
We now create a process group so we can kill OMC properly including all
child processes. This makes the tests run more stable.
This fixes an issue with passing quit() to OMC in subsequent calls of
OMCSessionZMQ.
@sjoelund sjoelund force-pushed the jenkins-build-deps-image branch from 5d1bb16 to 485cea0 Compare June 7, 2018 07:28
@sjoelund sjoelund merged commit adb9686 into OpenModelica:master Jun 8, 2018
@sjoelund sjoelund deleted the jenkins-build-deps-image branch June 8, 2018 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants