Skip to content

matlab unit tests fail #32

@stanleybak

Description

@stanleybak

I finally got a computer with matlab on it so I could run the unit tests. It's R2016a, not sure if that matters.

When I run the unit tests, several instances of matlab open (four). Also, there are errors. Here's the console output:

    [junit] Running com.verivital.hyst.junit.PassTests
    [junit] Testsuite: com.verivital.hyst.junit.PassTests
    [junit] tests/unit/models/order_reduction/
    [junit] Method did not return properly because of an internal MATLAB exception
    [junit] matlabcontrol.MatlabInvocationException: Method did not return properly because of an internal MATLAB exception
    [junit]     at matlabcontrol.MatlabInvocationException$Reason.asException(MatlabInvocationException.java:62)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:459)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
    [junit]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
    [junit]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    [junit]     at matlabcontrol.$Proxy10.eval(Unknown Source)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:257)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:253)
    [junit]     at matlabcontrol.RemoteMatlabProxy.invoke(RemoteMatlabProxy.java:182)
    [junit]     at matlabcontrol.RemoteMatlabProxy.eval(RemoteMatlabProxy.java:252)
    [junit]     at com.verivital.hyst.passes.complex.OrderReductionPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runVanillaPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runTransformationPass(Unknown Source)
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:127)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:26)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit] Caused by: com.mathworks.jmi.MatlabException: Undefined function 'syms' for input arguments of type 'char'.
    [junit]     at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
    [junit]     at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
    [junit]     at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
    [junit]     at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1778)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:420)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit] tests/unit/models/order_reduction/
    [junit] matlabcontrol.MatlabInvocationException: Method did not return properly because of an internal MATLAB exception
    [junit]     at matlabcontrol.MatlabInvocationException$Reason.asException(MatlabInvocationException.java:62)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:459)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
    [junit]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
    [junit]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    [junit]     at matlabcontrol.$Proxy10.eval(Unknown Source)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:257)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:253)
    [junit]     at matlabcontrol.RemoteMatlabProxy.invoke(RemoteMatlabProxy.java:182)
    [junit]     at matlabcontrol.RemoteMatlabProxy.eval(RemoteMatlabProxy.java:252)
    [junit]     at com.verivital.hyst.passes.complex.OrderReductionPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runVanillaPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runTransformationPass(Unknown Source)
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:127)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:26)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit] Caused by: com.mathworks.jmi.MatlabException: Undefined function 'syms' for input arguments of type 'char'.
    [junit]     at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
    [junit]     at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
    [junit]     at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
    [junit]     at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1778)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:420)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit] Method did not return properly because of an internal MATLAB exception
    [junit] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 31.468 sec
    [junit] Tests run: 6, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 31.468 sec
    [junit] ------------- Standard Output ---------------
    [junit] tests/unit/models/order_reduction/
    [junit] Method did not return properly because of an internal MATLAB exception
    [junit] tests/unit/models/order_reduction/
    [junit] Method did not return properly because of an internal MATLAB exception
    [junit] ------------- ---------------- ---------------
    [junit] ------------- Standard Error -----------------
    [junit] matlabcontrol.MatlabInvocationException: Method did not return properly because of an internal MATLAB exception
    [junit]     at matlabcontrol.MatlabInvocationException$Reason.asException(MatlabInvocationException.java:62)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:459)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
    [junit]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
    [junit]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    [junit]     at matlabcontrol.$Proxy10.eval(Unknown Source)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:257)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:253)
    [junit]     at matlabcontrol.RemoteMatlabProxy.invoke(RemoteMatlabProxy.java:182)
    [junit]     at matlabcontrol.RemoteMatlabProxy.eval(RemoteMatlabProxy.java:252)
    [junit]     at com.verivital.hyst.passes.complex.OrderReductionPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runVanillaPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runTransformationPass(Unknown Source)
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:127)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:26)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit] Caused by: com.mathworks.jmi.MatlabException: Undefined function 'syms' for input arguments of type 'char'.
    [junit]     at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
    [junit]     at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
    [junit]     at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
    [junit]     at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1778)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:420)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit] matlabcontrol.MatlabInvocationException: Method did not return properly because of an internal MATLAB exception
    [junit]     at matlabcontrol.MatlabInvocationException$Reason.asException(MatlabInvocationException.java:62)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:459)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit]     at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:275)
    [junit]     at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:252)
    [junit]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:161)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(RemoteObjectInvocationHandler.java:227)
    [junit]     at java.rmi.server.RemoteObjectInvocationHandler.invoke(RemoteObjectInvocationHandler.java:179)
    [junit]     at matlabcontrol.$Proxy10.eval(Unknown Source)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:257)
    [junit]     at matlabcontrol.RemoteMatlabProxy$4.invoke(RemoteMatlabProxy.java:253)
    [junit]     at matlabcontrol.RemoteMatlabProxy.invoke(RemoteMatlabProxy.java:182)
    [junit]     at matlabcontrol.RemoteMatlabProxy.eval(RemoteMatlabProxy.java:252)
    [junit]     at com.verivital.hyst.passes.complex.OrderReductionPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runVanillaPass(Unknown Source)
    [junit]     at com.verivital.hyst.passes.TransformationPass.runTransformationPass(Unknown Source)
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    [junit]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    [junit]     at java.lang.reflect.Method.invoke(Method.java:606)
    [junit]     at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
    [junit]     at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    [junit]     at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    [junit]     at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    [junit]     at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
    [junit]     at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    [junit]     at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:127)
    [junit]     at org.junit.runners.Suite.runChild(Suite.java:26)
    [junit]     at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    [junit]     at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    [junit]     at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    [junit]     at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    [junit]     at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    [junit]     at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    [junit]     at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:38)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:532)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1165)
    [junit]     at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1016)
    [junit] Caused by: com.mathworks.jmi.MatlabException: Undefined function 'syms' for input arguments of type 'char'.
    [junit]     at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
    [junit]     at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:266)
    [junit]     at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
    [junit]     at com.mathworks.jmi.Matlab.mtFevalConsoleOutput(Matlab.java:1778)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.returningFeval(JMIWrapper.java:420)
    [junit]     at matlabcontrol.JMIWrapper$MatlabThreadOperations.eval(JMIWrapper.java:394)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:154)
    [junit]     at matlabcontrol.JMIWrapper$4.call(JMIWrapper.java:150)
    [junit]     at matlabcontrol.JMIWrapper$9.run(JMIWrapper.java:307)
    [junit]     at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:475)
    [junit] ------------- ---------------- ---------------
    [junit] 
    [junit] Testcase: testSubConstantsPll[0] took 0.428 sec
    [junit] Testcase: testOrderReductionpass[0] took 20.251 sec
    [junit]     FAILED
    [junit] expected:<[x1, x2, x3, [y1, time]]> but was:<[x1, x2, x3, [x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29, x30, x31, x32, x33, x34, x35, x36, x37, x38, x39, x40, x41, x42, x43, x44, x45, x46, x47, x48, t, y]]>
    [junit] junit.framework.AssertionFailedError: expected:<[x1, x2, x3, [y1, time]]> but was:<[x1, x2, x3, [x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29, x30, x31, x32, x33, x34, x35, x36, x37, x38, x39, x40, x41, x42, x43, x44, x45, x46, x47, x48, t, y]]>
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit] 
    [junit] Testcase: testSimplifyExpressions[0] took 0.002 sec
    [junit] Testcase: testSubConstantsPll[1] took 0.067 sec
    [junit] Testcase: testOrderReductionpass[1] took 10.7 sec
    [junit]     FAILED
    [junit] expected:<[x1, x2, x3, [y1, time]]> but was:<[x1, x2, x3, [x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29, x30, x31, x32, x33, x34, x35, x36, x37, x38, x39, x40, x41, x42, x43, x44, x45, x46, x47, x48, t, y]]>
    [junit] junit.framework.AssertionFailedError: expected:<[x1, x2, x3, [y1, time]]> but was:<[x1, x2, x3, [x4, x5, x6, x7, x8, x9, x10, x11, x12, x13, x14, x15, x16, x17, x18, x19, x20, x21, x22, x23, x24, x25, x26, x27, x28, x29, x30, x31, x32, x33, x34, x35, x36, x37, x38, x39, x40, x41, x42, x43, x44, x45, x46, x47, x48, t, y]]>
    [junit]     at com.verivital.hyst.junit.PassTests.testOrderReductionpass(Unknown Source)
    [junit] 
    [junit] Testcase: testSimplifyExpressions[1] took 0.001 sec

BUILD FAILED
/home/stan/repositories/hyst/src/build.xml:174: Test com.verivital.hyst.junit.PassTests failed

In addition, in one of the matlab windows:

path_parent =

/home/stan/repositories/hyst


path_current =

src


path_parent =

/home/stan/repositories/hyst


path_current =

src

Error using evalin
Undefined function 'syms' for input arguments of type 'char'.

>> 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions