Opened 11 years ago

Closed 11 years ago

#2518 closed defect (fixed)

Mac OMEdit simulation fails

Reported by: Adam Dershowitz <dersh@…> Owned by: Martin Sjölund
Priority: high Milestone: 1.9.1
Component: OMEdit Version: trunk
Keywords: Cc: Per Östlund

Description

I just upgraded to 18496 (from 18481). The corresponding library change was from 20131212-200251_0 to 20131216-120934_0.

Now, if I try to run any simulation, it compiles, but ultimately I get an error:

/private/var/folders/s4/0j3cshj161126ygbpbzsdkmd4h24dl/T/OpenModelica/OMEdit/Pendulum -port=54968 -w -lv=LOG_STATS

Limited backtrace at point of segmentation fault
Process crashed
Simulation process exited with code 0


I have tried several examples, and they all give the same results. I also ran an example with OMShell, and that worked as expected. So it is only an issue of OMEdit running a simulation, and not a backend, omc problem. But, even with simple examples OMEdit doesn't successfully simulate at all.

Change History (8)

comment:1 by Adeel Asghar, 11 years ago

Have you tried running without logging flags?

comment:2 by Martin Sjölund, 11 years ago

Cc: Per Östlund added
Owner: changed from Adeel Asghar to Martin Sjölund
Status: newassigned

comment:3 by Adam Dershowitz <dersh@…>, 11 years ago

I was just using the default logging. I had not changed anything. I just disabled time/Events/Solver Statistics (which was the only thing set) and I get the same results:

/private/var/folders/s4/0j3cshj161126ygbpbzsdkmd4h24dl/T/OpenModelica/OMEdit/Pendulum -port=55142 -w

Limited backtrace at point of segmentation fault
Process crashed
Simulation process exited with code 0

Just to confirm, I did also try to deactivate 18496 and reactivate 18481, and that does still work as expected (I didn't do anything to the libraries).

comment:4 by Adam Dershowitz <dersh@…>, 11 years ago

Sorry to hear it. But, I am glad that you were able to find it so quickly!
I see that link to a failed test case. But which change did it?

comment:5 by Martin Sjölund, 11 years ago

#2513 broke it :)

comment:6 by Martin Sjölund, 11 years ago

r18497 might have fixed this. I'm going to bed, so scream if it does not ;)

comment:7 by Adam Dershowitz <dersh@…>, 11 years ago

It is now working. No screaming necessary.
Thank you.

comment:8 by Martin Sjölund, 11 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.