Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Livelink timeout issue

Please login with a confirmed email address before reporting spam

I am having issues with Comsol with Matlab. My loop keeps stopping and I cannot figure out what the problem is. I am clearing out the answer and the model after each iteration. The error is listed below.

??? Java exception occurred:
Exception:
java.lang.RuntimeException: Error in reInitializeModel
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error in reInitializeModel


Stack trace:

at
com.comsol.clientserver.util.ClientServerManagerImpl.reInitializeModel(Unknown
Source)

at
com.comsol.model.clientserver.ClientManagerImpl.a(Unknown
Source)

at
com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown
Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl$aj.a(Unknown
Source)

at
com.comsol.model.internal.impl.SolverSequenceImpl$aj.execute(Unknown
Source)

at
com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown
Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
Source)

at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown
Source)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.reflect.InvocationTargetException

at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown
Source)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)

at java.lang.reflect.Method.invoke(Unknown Source)

... 11 more

Caused by:
org.eclipse.emf.cdo.common.util.TransportException:
java.util.concurrent.TimeoutException

at
org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:294)

at
org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:319)

at
org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.loadRevisions(CDOClientProtocol.java:110)

at
org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevisions(CDORevisionManagerImpl.java:124)

at
org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevision(CDORevisionManagerImpl.java:106)

at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:148)

at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:1)

at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.getRevision(CDOViewImpl.java:690)

at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.createObject(CDOViewImpl.java:849)

at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.getObject(CDOViewImpl.java:743)

at
org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.getObject(CDOTransactionImpl.java:572)

at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.convertIDToObject(CDOViewImpl.java:1043)

at
org.eclipse.emf.internal.cdo.CDOStore.convertToEMF(CDOStore.java:378)

at
org.eclipse.emf.internal.cdo.CDOStore.get(CDOStore.java:171)

at
org.eclipse.emf.internal.cdo.CDOObjectImpl.dynamicGet(CDOObjectImpl.java:485)

at
org.eclipse.emf.ecore.impl.EStructuralFeatureImpl$InternalSettingDelegateSingleEObject.dynamicGet(EStructuralFeatureImpl.java:2303)

at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1029)

at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1013)

at
org.eclipse.emf.ecore.impl.BasicEObjectImpl.eGet(BasicEObjectImpl.java:1005)

at
com.comsol.model.internal.impl.ModelImpl.getOdeGen(Unknown
Source)

at
com.comsol.model.internal.impl.ModelImpl.getOde(Unknown
Source)

at com.comsol.model.internal.impl.ModelImpl.X(Unknown
Source)

at com.comsol.model.internal.impl.ModelImpl.ode(Unknown
Source)

at com.comsol.applapi.util.m.a(Unknown Source)

at
com.comsol.applapi.variables.d.resetAllVariables(Unknown
Source)

at
com.comsol.model.internal.impl.PhysicsListImpl.getVarData(Unknown
Source)

at
com.comsol.model.applapi.UnitConverter.expandExpression(Unknown
Source)

at com.comsol.nativeutil.properties.ar.a(Unknown Source)

at
com.comsol.nativeutil.properties.ar.getUnitError(Unknown
Source)

at
com.comsol.nativeutil.properties.i.getUnitError(Unknown
Source)

at com.comsol.nativeutil.properties.Property.d(Unknown
Source)

at com.comsol.nativeutil.properties.w.a(Unknown Source)

at com.comsol.nativeutil.properties.w.evaluate(Unknown
Source)

at
com.comsol.model.internal.impl.PropValueImpl.internalReEvaluate(Unknown
Source)

at
com.comsol.model.internal.impl.PropFeatureImpl.reInitializeThis(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.a(Unknown
Source)

at
com.comsol.model.internal.impl.ModelEntityImpl.reInitialize(Unknown
Source)

... 14 more

Caused by: java.util.concurrent.TimeoutException

at
org.eclipse.internal.net4j.IOTimeoutException.createTimeoutException(IOTimeoutException.java:45)

at
org.eclipse.net4j.signal.Signal.runSync(Signal.java:242)

at
org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalProtocol.java:427)

at
org.eclipse.net4j.signal.RequestWithConfirmation.doSend(RequestWithConfirmation.java:87)

at
org.eclipse.net4j.signal.RequestWithConfirmation.send(RequestWithConfirmation.java:73)

at
org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:286)

... 55 more

4 Replies Last Post 31 ott 2012, 04:30 GMT-4
COMSOL Moderator

Hello Matthew Bray

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 25 set 2012, 21:13 GMT-4
I have the same problem.
I have the same problem.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 30 ott 2012, 12:49 GMT-4
Hi!
I am having a similar problem...Did you find any solution?
Thank you!
Ana Gaspar

%------
Error using com.comsol.model.impl.SolverSequenceImpl/runAll
Java exception occurred:
Exception:
org.eclipse.emf.cdo.common.util.TransportException: java.util.concurrent.TimeoutException
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
java.util.concurrent.TimeoutException

Stack trace:
at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:294)
at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:319)
at
org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.loadRevisions(CDOClientProtocol.java:110)
at
org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevisions(CDORevisionManagerImpl.java:124)
at
org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevision(CDORevisionManagerImpl.java:106)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:148)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:1)
at org.eclipse.emf.internal.cdo.view.CDOViewImpl.getRevision(CDOViewImpl.java:690)
at
org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollbackCompletely(CDOTransactionImpl.java:728)
at
org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.handleRollback(CDOTransactionImpl.java:940)
at
org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.rollback(CDOSingleTransactionStrategyImpl.java:77)
at
org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:902)
at
org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:662)
at com.comsol.model.clientserver.ClientManagerImpl.commit(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl$ak.a(Unknown Source)
at com.comsol.model.internal.impl.SolverSequenceImpl$ak.execute(Unknown Source)
at com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.TimeoutException
at org.eclipse.internal.net4j.IOTimeoutException.createTimeoutException(IOTimeoutException.java:45)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:242)
at org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalProtocol.java:427)
at org.eclipse.net4j.signal.RequestWithConfirmation.doSend(RequestWithConfirmation.java:87)
at org.eclipse.net4j.signal.RequestWithConfirmation.send(RequestWithConfirmation.java:73)
at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:286)
... 23 more
Hi! I am having a similar problem...Did you find any solution? Thank you! Ana Gaspar %------ Error using com.comsol.model.impl.SolverSequenceImpl/runAll Java exception occurred: Exception: org.eclipse.emf.cdo.common.util.TransportException: java.util.concurrent.TimeoutException (rethrown as com.comsol.util.exceptions.FlException) Messages: java.util.concurrent.TimeoutException Stack trace: at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:294) at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:319) at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.loadRevisions(CDOClientProtocol.java:110) at org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevisions(CDORevisionManagerImpl.java:124) at org.eclipse.emf.internal.cdo.session.CDORevisionManagerImpl.loadRevision(CDORevisionManagerImpl.java:106) at org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:148) at org.eclipse.emf.cdo.internal.common.revision.CDORevisionResolverImpl.getRevision(CDORevisionResolverImpl.java:1) at org.eclipse.emf.internal.cdo.view.CDOViewImpl.getRevision(CDOViewImpl.java:690) at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollbackCompletely(CDOTransactionImpl.java:728) at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.handleRollback(CDOTransactionImpl.java:940) at org.eclipse.emf.internal.cdo.transaction.CDOSingleTransactionStrategyImpl.rollback(CDOSingleTransactionStrategyImpl.java:77) at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:902) at org.eclipse.emf.internal.cdo.transaction.CDOTransactionImpl.rollback(CDOTransactionImpl.java:662) at com.comsol.model.clientserver.ClientManagerImpl.commit(Unknown Source) at com.comsol.model.clientserver.ClientManagerImpl.a(Unknown Source) at com.comsol.model.clientserver.ClientManagerImpl.runServerJob(Unknown Source) at com.comsol.model.internal.impl.SolverSequenceImpl$ak.a(Unknown Source) at com.comsol.model.internal.impl.SolverSequenceImpl$ak.execute(Unknown Source) at com.comsol.model.clientserver.ClientManagerImpl$e.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.util.concurrent.TimeoutException at org.eclipse.internal.net4j.IOTimeoutException.createTimeoutException(IOTimeoutException.java:45) at org.eclipse.net4j.signal.Signal.runSync(Signal.java:242) at org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalProtocol.java:427) at org.eclipse.net4j.signal.RequestWithConfirmation.doSend(RequestWithConfirmation.java:87) at org.eclipse.net4j.signal.RequestWithConfirmation.send(RequestWithConfirmation.java:73) at org.eclipse.emf.internal.cdo.net4j.protocol.CDOClientProtocol.send(CDOClientProtocol.java:286) ... 23 more

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 30 ott 2012, 13:15 GMT-4
It ended up being a memory problem. I had 4 Gb and when I upgraded to 16 Gb the issue was resolved.
It ended up being a memory problem. I had 4 Gb and when I upgraded to 16 Gb the issue was resolved.

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 31 ott 2012, 04:30 GMT-4
Thank you for your answer!
I am already with a 12Gb RAM...
Did you ran your computation on Linux or Windows? It's very odd because the same computation runs normally on Windows but while in Linux I obtain that error... And also I have already obtained another error like "NullPointerException".
Thank you for your answer! I am already with a 12Gb RAM... Did you ran your computation on Linux or Windows? It's very odd because the same computation runs normally on Windows but while in Linux I obtain that error... And also I have already obtained another error like "NullPointerException".

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.