-
Notifications
You must be signed in to change notification settings - Fork 18
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
Merge model generation + hylaa printer #41
Conversation
… (numpy._bool can't use 'is False' in python arggit status)
… using itermax-1 for max jumps
I've started merging. All unit tests pass on my setup, but I have some Python setup errors I'll have to debug for the regression/integration tests, will try to finish over the weekend. |
…rts to just mpmath, this was required on windows, not sure if this will break anything on linux, please test; all python tests passed on windows (obviously no tool calling); all integration tests pass on windows; all python_test pass; most test_gen_passes pass, but some unhandled python exception in plot.py failed due to the tools not running and generating results; some unit tests pass, but hybridize and printers tests timed out after ~10 minutes each, trying to figure out why, probably some unhandled exception from the python-java interface
some issues in tests after I got all the path issues fixed, mains are in unit tests for hybridize and printers: they run forever, probably some python task is failing and not giving control back to java; also, the test_gen_passes mostly worked, except there's an exception in plot.py where I think since none of the tools can run on windows, it fails and has unhandled exception:
|
Ok, there were some path errors with junit, which I resolved (I added checks to see if it's in the src directory or not, as on my eclipse setup, it needed to have "src" prefixed before the base directory). I'm having 2 separate issues now, in both printers test and hybridize tests, related to python. They are probably both related to calling pysim_utils. Maybe some path is bad? I did see The first is:
The second is:
|
Is the src folder on your HYPY path? Also, I'm not 100% renaming the
variable was the best action. The naming is consistent with PYTHONPATH,
which python uses. But you had added an underscore to be consistent with
what?
From the readme:
# add path to hyst .jar file
export HYPYPATH="$HOME/repositories/hyst/src"
I think you need to use the src folder, not the lib folder... otherwise the
pythonbridge imports will fail (which it looks like is the first error
message).
…-Stan
On Mon, May 8, 2017 at 4:01 PM, Taylor Johnson ***@***.***> wrote:
Ok, there were some path errors with junit, which I resolved (I added
checks to see if it's in the src directory or not, as on my eclipse setup,
it needed to have "src" prefixed before the base directory). I'm having 2
separate issues now, in both printers test and hybridize tests, related to
python. The first is:
'Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named pythonbridge.pysim_utils
'
at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
at com.verivital.hyst.python.PythonBridge.readUntilPrompt(PythonBridge.java:515)
at com.verivital.hyst.python.PythonBridge.sendAndWait(PythonBridge.java:594)
at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:665)
at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:628)
at com.verivital.hyst.passes.complex.hybridize.HybridizeMixedTriggeredPass.simMultiGetTrajectory(HybridizeMixedTriggeredPass.java:917)
at com.verivital.hyst.passes.complex.hybridize.HybridizeMixedTriggeredPass.advanceSimulationToPseudoInvariant(HybridizeMixedTriggeredPass.java:510)
at com.verivital.hyst.passes.complex.hybridize.HybridizeMixedTriggeredPass.runSimulation(HybridizeMixedTriggeredPass.java:413)
at com.verivital.hyst.passes.complex.hybridize.HybridizeMixedTriggeredPass.simulateAndConstruct(HybridizeMixedTriggeredPass.java:376)
at com.verivital.hyst.passes.complex.hybridize.HybridizeMixedTriggeredPass.runPass(HybridizeMixedTriggeredPass.java:207)
at com.verivital.hyst.passes.TransformationPass.runPass(TransformationPass.java:159)
at com.verivital.hyst.passes.TransformationPass.runVanillaPass(TransformationPass.java:106)
at com.verivital.hyst.passes.TransformationPass.runTransformationPass(TransformationPass.java:74)
at com.verivital.hyst.junit.HybridizePassTests.testNoErrorModesPrint(HybridizePassTests.java:840)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
The second is:
com.verivital.hyst.ir.AutomatonExportException: send() called but process is not running (was open() called?)
at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:656)
at com.verivital.hyst.python.PythonBridge.sendWithTrailingNewline(PythonBridge.java:648)
at com.verivital.hyst.python.PythonUtil.scipyOptimize(PythonUtil.java:71)
at com.verivital.hyst.junit.HybridizePassTests.sciPyOptimize(HybridizePassTests.java:584)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:678)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKE7KTLvr1eWhDRESXm66LZPb7YHThw5ks5r33SxgaJpZM4M27ly>
.
|
Consistent with the rest of Hyst, as it was HYPY_PATH in many more
locations than it was HYPYPATH...
My variable is set correctly as: HYPY_PATH
C:\Users\taylo\Dropbox\Research\verivital_repos\hyst-stan\src
It didn't work properly before when it was with further subfolders
(pythonbridge or hybridpy, etc.), which was the earlier error. This is a
new error, specific only for these tests. It seems hypy works fine for most
tasks, just this simulation is messed up.
…--
http://www.TaylorTJohnson.com/
On Mon, May 8, 2017 at 3:11 PM, Stanley Bak <notifications@github.com>
wrote:
Is the src folder on your HYPY path? Also, I'm not 100% renaming the
variable was the best action. The naming is consistent with PYTHONPATH,
which python uses. But you had added an underscore to be consistent with
what?
From the readme:
# add path to hyst .jar file
export HYPYPATH="$HOME/repositories/hyst/src"
I think you need to use the src folder, not the lib folder... otherwise the
pythonbridge imports will fail (which it looks like is the first error
message).
-Stan
On Mon, May 8, 2017 at 4:01 PM, Taylor Johnson ***@***.***>
wrote:
> Ok, there were some path errors with junit, which I resolved (I added
> checks to see if it's in the src directory or not, as on my eclipse
setup,
> it needed to have "src" prefixed before the base directory). I'm having 2
> separate issues now, in both printers test and hybridize tests, related
to
> python. The first is:
>
> 'Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named pythonbridge.pysim_utils
> '
> at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
> at com.verivital.hyst.python.PythonBridge.readUntilPrompt(
PythonBridge.java:515)
> at com.verivital.hyst.python.PythonBridge.sendAndWait(
PythonBridge.java:594)
> at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:665)
> at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:628)
> at com.verivital.hyst.passes.complex.hybridize.
HybridizeMixedTriggeredPass.simMultiGetTrajectory(
HybridizeMixedTriggeredPass.java:917)
> at com.verivital.hyst.passes.complex.hybridize.
HybridizeMixedTriggeredPass.advanceSimulationToPseudoInvariant(
HybridizeMixedTriggeredPass.java:510)
> at com.verivital.hyst.passes.complex.hybridize.
HybridizeMixedTriggeredPass.runSimulation(HybridizeMixedTriggeredPass.
java:413)
> at com.verivital.hyst.passes.complex.hybridize.
HybridizeMixedTriggeredPass.simulateAndConstruct(
HybridizeMixedTriggeredPass.java:376)
> at com.verivital.hyst.passes.complex.hybridize.
HybridizeMixedTriggeredPass.runPass(HybridizeMixedTriggeredPass.java:207)
> at com.verivital.hyst.passes.TransformationPass.runPass(
TransformationPass.java:159)
> at com.verivital.hyst.passes.TransformationPass.runVanillaPass(
TransformationPass.java:106)
> at com.verivital.hyst.passes.TransformationPass.runTransformationPass(
TransformationPass.java:74)
> at com.verivital.hyst.junit.HybridizePassTests.testNoErrorModesPrint(
HybridizePassTests.java:840)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(
ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(
FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.
evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.
evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runners.Suite.runChild(Suite.java:127)
> at org.junit.runners.Suite.runChild(Suite.java:26)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:86)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.
run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
runTests(RemoteTestRunner.java:459)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
runTests(RemoteTestRunner.java:678)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
run(RemoteTestRunner.java:382)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
main(RemoteTestRunner.java:192)
>
> The second is:
>
> com.verivital.hyst.ir.AutomatonExportException: send() called but
process is not running (was open() called?)
> at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
> at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:656)
> at com.verivital.hyst.python.PythonBridge.sendWithTrailingNewline(
PythonBridge.java:648)
> at com.verivital.hyst.python.PythonUtil.scipyOptimize(
PythonUtil.java:71)
> at com.verivital.hyst.junit.HybridizePassTests.sciPyOptimize(
HybridizePassTests.java:584)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
FrameworkMethod.java:47)
> at org.junit.internal.runners.model.ReflectiveCallable.run(
ReflectiveCallable.java:12)
> at org.junit.runners.model.FrameworkMethod.invokeExplosively(
FrameworkMethod.java:44)
> at org.junit.internal.runners.statements.InvokeMethod.
evaluate(InvokeMethod.java:17)
> at org.junit.internal.runners.statements.RunBefores.
evaluate(RunBefores.java:26)
> at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:70)
> at org.junit.runners.BlockJUnit4ClassRunner.runChild(
BlockJUnit4ClassRunner.java:50)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.junit.runners.Suite.runChild(Suite.java:127)
> at org.junit.runners.Suite.runChild(Suite.java:26)
> at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
JUnit4TestReference.java:86)
> at org.eclipse.jdt.internal.junit.runner.TestExecution.
run(TestExecution.java:38)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
runTests(RemoteTestRunner.java:459)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
runTests(RemoteTestRunner.java:678)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
run(RemoteTestRunner.java:382)
> at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
main(RemoteTestRunner.java:192)
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#41 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AKE7KTLvr1eWhDRESXm66LZPb7YHThw5ks5r33SxgaJpZM4M27ly>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABBcLBVc5hAOcUXpeiGXIYVupGyjyEeUks5r33bbgaJpZM4M27ly>
.
|
When I grepped my source, HYPY_PATH was used once in an error message, and
HYPY path was used everywhere else. I'd be more content updating the error
message.... let's talk after this though we can debug in person.
…-Stan
On Mon, May 8, 2017 at 4:14 PM, Taylor Johnson <notifications@github.com>
wrote:
Consistent with the rest of Hyst, as it was HYPY_PATH in many more
locations than it was HYPYPATH...
My variable is set correctly as: HYPY_PATH
C:\Users\taylo\Dropbox\Research\verivital_repos\hyst-stan\src
It didn't work properly before when it was with further subfolders
(pythonbridge or hybridpy, etc.), which was the earlier error. This is a
new error, specific only for these tests. It seems hypy works fine for most
tasks, just this simulation is messed up.
--
http://www.TaylorTJohnson.com/
On Mon, May 8, 2017 at 3:11 PM, Stanley Bak ***@***.***>
wrote:
> Is the src folder on your HYPY path? Also, I'm not 100% renaming the
> variable was the best action. The naming is consistent with PYTHONPATH,
> which python uses. But you had added an underscore to be consistent with
> what?
>
>
> From the readme:
>
> # add path to hyst .jar file
> export HYPYPATH="$HOME/repositories/hyst/src"
>
>
> I think you need to use the src folder, not the lib folder... otherwise
the
> pythonbridge imports will fail (which it looks like is the first error
> message).
>
> -Stan
>
> On Mon, May 8, 2017 at 4:01 PM, Taylor Johnson ***@***.***
>
> wrote:
>
> > Ok, there were some path errors with junit, which I resolved (I added
> > checks to see if it's in the src directory or not, as on my eclipse
> setup,
> > it needed to have "src" prefixed before the base directory). I'm
having 2
> > separate issues now, in both printers test and hybridize tests, related
> to
> > python. The first is:
> >
> > 'Traceback (most recent call last):
> > File "<stdin>", line 1, in <module>
> > ImportError: No module named pythonbridge.pysim_utils
> > '
> > at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
> > at com.verivital.hyst.python.PythonBridge.readUntilPrompt(
> PythonBridge.java:515)
> > at com.verivital.hyst.python.PythonBridge.sendAndWait(
> PythonBridge.java:594)
> > at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:665)
> > at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:628)
> > at com.verivital.hyst.passes.complex.hybridize.
> HybridizeMixedTriggeredPass.simMultiGetTrajectory(
> HybridizeMixedTriggeredPass.java:917)
> > at com.verivital.hyst.passes.complex.hybridize.
> HybridizeMixedTriggeredPass.advanceSimulationToPseudoInvariant(
> HybridizeMixedTriggeredPass.java:510)
> > at com.verivital.hyst.passes.complex.hybridize.
> HybridizeMixedTriggeredPass.runSimulation(HybridizeMixedTriggeredPass.
> java:413)
> > at com.verivital.hyst.passes.complex.hybridize.
> HybridizeMixedTriggeredPass.simulateAndConstruct(
> HybridizeMixedTriggeredPass.java:376)
> > at com.verivital.hyst.passes.complex.hybridize.
> HybridizeMixedTriggeredPass.runPass(HybridizeMixedTriggeredPass.
java:207)
> > at com.verivital.hyst.passes.TransformationPass.runPass(
> TransformationPass.java:159)
> > at com.verivital.hyst.passes.TransformationPass.runVanillaPass(
> TransformationPass.java:106)
> > at com.verivital.hyst.passes.TransformationPass.runTransformationPass(
> TransformationPass.java:74)
> > at com.verivital.hyst.junit.HybridizePassTests.testNoErrorModesPrint(
> HybridizePassTests.java:840)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
> FrameworkMethod.java:47)
> > at org.junit.internal.runners.model.ReflectiveCallable.run(
> ReflectiveCallable.java:12)
> > at org.junit.runners.model.FrameworkMethod.invokeExplosively(
> FrameworkMethod.java:44)
> > at org.junit.internal.runners.statements.InvokeMethod.
> evaluate(InvokeMethod.java:17)
> > at org.junit.internal.runners.statements.RunBefores.
> evaluate(RunBefores.java:26)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:70)
> > at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at org.junit.runners.Suite.runChild(Suite.java:127)
> > at org.junit.runners.Suite.runChild(Suite.java:26)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
> JUnit4TestReference.java:86)
> > at org.eclipse.jdt.internal.junit.runner.TestExecution.
> run(TestExecution.java:38)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:459)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:678)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> run(RemoteTestRunner.java:382)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> main(RemoteTestRunner.java:192)
> >
> > The second is:
> >
> > com.verivital.hyst.ir.AutomatonExportException: send() called but
> process is not running (was open() called?)
> > at com.verivital.hyst.python.PythonBridge.error(PythonBridge.java:227)
> > at com.verivital.hyst.python.PythonBridge.send(PythonBridge.java:656)
> > at com.verivital.hyst.python.PythonBridge.sendWithTrailingNewline(
> PythonBridge.java:648)
> > at com.verivital.hyst.python.PythonUtil.scipyOptimize(
> PythonUtil.java:71)
> > at com.verivital.hyst.junit.HybridizePassTests.sciPyOptimize(
> HybridizePassTests.java:584)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> > at java.lang.reflect.Method.invoke(Method.java:498)
> > at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
> FrameworkMethod.java:47)
> > at org.junit.internal.runners.model.ReflectiveCallable.run(
> ReflectiveCallable.java:12)
> > at org.junit.runners.model.FrameworkMethod.invokeExplosively(
> FrameworkMethod.java:44)
> > at org.junit.internal.runners.statements.InvokeMethod.
> evaluate(InvokeMethod.java:17)
> > at org.junit.internal.runners.statements.RunBefores.
> evaluate(RunBefores.java:26)
> > at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
> > at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:70)
> > at org.junit.runners.BlockJUnit4ClassRunner.runChild(
> BlockJUnit4ClassRunner.java:50)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at org.junit.runners.Suite.runChild(Suite.java:127)
> > at org.junit.runners.Suite.runChild(Suite.java:26)
> > at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
> > at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
> > at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
> > at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
> > at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
> > at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
> > at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(
> JUnit4TestReference.java:86)
> > at org.eclipse.jdt.internal.junit.runner.TestExecution.
> run(TestExecution.java:38)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:459)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> runTests(RemoteTestRunner.java:678)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> run(RemoteTestRunner.java:382)
> > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.
> main(RemoteTestRunner.java:192)
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <#41 (comment)>, or
> mute
> > the thread
> > <https://github.com/notifications/unsubscribe-auth/
> AKE7KTLvr1eWhDRESXm66LZPb7YHThw5ks5r33SxgaJpZM4M27ly>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#41 (comment)>, or
mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
ABBcLBVc5hAOcUXpeiGXIYVupGyjyEeUks5r33bbgaJpZM4M27ly>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#41 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AKE7KV-KqM0DMBwv8U1rv5fg0VVbhrfTks5r33eZgaJpZM4M27ly>
.
|
I reverted to HYPY path and added conditional imports for the interval math in python in case it fails on windows/linux. I don't see the conditional model import in the unit test models yet; could you commit that? |
so, still having the same problems. Not really sure what to try next since the paths seem ok... Any suggestions? |
If I remember correctly, the problem you had was that the hybridization tests seem to freeze. Please correct me if that's not the current problem. You should try to run a single test at a time. For example, in eclipse you can go to the function defining the test such as |
Finally getting back to this. I had some issues in setting everything up from scratch. In
After this, I got an error from Hypy:
This was resolved (on windows) via:
The directories above are the current local clone of this pull request. After both of the above, reloading Eclipse is required or it doesn't get the new path variable updates (checked in commandline first calling After doing this, All that said, all other junit tests passed when disabling hypy integration, and Additionally, separately running Integration test log: C:\Users\taylo\Desktop\hyst-pull\hyst\src\tests\integration>`
BUILD FAILED Total time: 2 minutes`
|
This update includes my development over the last ~6 months. The main addition is model generation capability and several model generators. All include a test in doc/model_generator in addition to unit tests. There is also a printer added for the Hylaa tool.
All tests pass on my system, although I haven't run them on windows.