/home/travis/build/icyphy/ptII/bin/ant: Running /home/travis/build/icyphy/ptII/ant/bin/ant build test.core6.xml Buildfile: /home/travis/build/icyphy/ptII/build.xml build-message: [echo] Use ant -p to see other targets. JAVA_HOME=/usr/local/lib/jvm/openjdk11 [echo] tools.jar is necessary for compilation of doc/doclets/. [echo] If compilation fails, try setting JAVA_HOME to the location of the JDK. [echo] For example: [echo] [bldmastr@sisyphus ptII]$ which java [echo] /usr/bin/java [echo] [bldmastr@sisyphus ptII]$ ls -l /usr/bin/java [echo] lrwxrwxrwx 1 root root 26 Jul 31 10:12 /usr/bin/java -> /usr/java/default/bin/java [echo] [bldmastr@sisyphus ptII]$ export JAVA_HOME=/usr/java/default [echo] -build-subprojects-empty: build-subprojects: -check-node: -check-node-works: [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node --version [exec] v7.10.1 -check-npm: -check-npm-works: [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm --version [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm --version [exec] 4.2.0 -check-if-npmjs-org-is-up: [echo] Check to see if https://www.npmjs.org is up. -jsdoc-no-network-message: -check-jsdoc: jsdoc-install: [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm install @terraswarm/jsdoc [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm install @terraswarm/jsdoc [exec] npm WARN lifecycle The node binary used for scripts is /home/travis/build/icyphy/ptII/bin/node but npm is using /home/travis/.nvm/versions/node/v7.10.1/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. [exec] /home/travis/build/icyphy/ptII [exec] └─┬ @terraswarm/jsdoc@3.5.1-dev [exec] ├── bluebird@3.4.7 [exec] ├─┬ catharsis@0.8.11 [exec] │ └── lodash@4.17.21 [exec] ├── escape-string-regexp@1.0.5 [exec] ├─┬ espree@3.1.7 [exec] │ ├── acorn@3.3.0 [exec] │ └── acorn-jsx@3.0.1 [exec] ├── js2xmlparser@1.0.0 [exec] ├─┬ klaw@1.3.1 [exec] │ └── graceful-fs@4.2.10 [exec] ├── marked@0.3.19 [exec] ├─┬ mkdirp@0.5.6 [exec] │ └── minimist@1.2.6 [exec] ├── requizzle@0.2.3 [exec] ├── strip-json-comments@2.0.1 [exec] ├── taffydb@2.6.2 [exec] └── underscore@1.8.3 [exec] [exec] npm WARN enoent ENOENT: no such file or directory, open '/home/travis/build/icyphy/ptII/package.json' [exec] npm WARN ptII No description [exec] npm WARN ptII No repository field. [exec] npm WARN ptII No README data [exec] npm WARN ptII No license field. jsdoc-update: [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm update @terraswarm/jsdoc [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm update @terraswarm/jsdoc -ptdoc-no-node: -ptdoc-no-npm: ptdoc: [echo] [echo] If the ptdoc target fails, then try running: [echo] ant build-project build-bin [echo] -check-node: -check-node-works: [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node --version [exec] v7.10.1 -check-npm: -check-npm-works: [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm --version [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm --version [exec] 4.2.0 -check-if-npmjs-org-is-up: [echo] Check to see if https://www.npmjs.org is up or $TRAVIS is set. -jsdoc-no-network-message: -check-jsdoc: [echo] To stop CapeCode from invoking jsdoc and svn, set the PT_NO_NET environment variable. [echo] Under BASH: [echo] export PT_NO_NET=true [echo] If ptdoc fails, and you are building from $PTII, try: [echo] ant build-project build-bin [echo] jsdoc-install: [echo] npm.executable: npm [mkdir] Created dir: /home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/node_modules [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm install @terraswarm/jsdoc [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm install @terraswarm/jsdoc [exec] npm WARN lifecycle The node binary used for scripts is /home/travis/build/icyphy/ptII/bin/node but npm is using /home/travis/.nvm/versions/node/v7.10.1/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with. [exec] /home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors [exec] └─┬ @terraswarm/jsdoc@3.5.1-dev [exec] ├── bluebird@3.4.7 [exec] ├─┬ catharsis@0.8.11 [exec] │ └── lodash@4.17.21 [exec] ├── escape-string-regexp@1.0.5 [exec] ├─┬ espree@3.1.7 [exec] │ ├── acorn@3.3.0 [exec] │ └── acorn-jsx@3.0.1 [exec] ├── js2xmlparser@1.0.0 [exec] ├─┬ klaw@1.3.1 [exec] │ └── graceful-fs@4.2.10 [exec] ├── marked@0.3.19 [exec] ├─┬ mkdirp@0.5.6 [exec] │ └── minimist@1.2.6 [exec] ├── requizzle@0.2.3 [exec] ├── strip-json-comments@2.0.1 [exec] ├── taffydb@2.6.2 [exec] └── underscore@1.8.3 [exec] [exec] npm WARN enoent ENOENT: no such file or directory, open '/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/package.json' [exec] npm WARN accessors No description [exec] npm WARN accessors No repository field. [exec] npm WARN accessors No README data [exec] npm WARN accessors No license field. jsdoc-update: [exec] /home/travis/build/icyphy/ptII/bin/npm: Running /home/travis/.nvm/versions/node/v7.10.1/bin/npm update @terraswarm/jsdoc [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/.nvm/versions/node/v7.10.1/bin/npm update @terraswarm/jsdoc -ptdoc-no-node-message: -ptdoc-no-npm-message: -check-jsdoc-again: -jsdoc-command-message: ptdoc: [echo] Invoke /home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/../node_modules/@terraswarm/jsdoc/jsdoc.js to read *.js files and generate *PtDoc.xml files suitable for Ptolemy. [echo] See https://chess.eecs.berkeley.edu/ptexternal/wiki/Main/JSDocSystems [echo] See jsdoc/jsdoc.json [echo] See jsdoc/plugins/accessorJSDocTags.js [echo] See jsdoc/templates/ptdoc/publish.js [echo] [echo] If the ptdoc target fails, the there is likely a problem with node or npm. It is possible [echo] to use CapeCode even if the ptdoc target fails. [echo] [echo] If you are building from $PTII, try: [echo] ant build-project build-bin [echo] [echo] [exec] /home/travis/build/icyphy/ptII/bin/node: Running /home/travis/.nvm/versions/node/v7.10.1/bin/node /home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/../node_modules/@terraswarm/jsdoc/jsdoc.js --configure jsdoc/jsdoc.json --recurse --template jsdoc/templates/ptdoc --verbose . [exec] Generating output files... [exec] Finished running in 13.13 seconds. build-project: [echo] ptII: /home/travis/build/icyphy/ptII/build.xml [javac] Compiling 4252 source files to /home/travis/build/icyphy/ptII [javac] /home/travis/build/icyphy/ptII/ptolemy/util/StringUtilities.java:48: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] import sun.misc.Unsafe; [javac] ^ [javac] /home/travis/build/icyphy/ptII/ptolemy/util/StringUtilities.java:118: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] Field theUnsafe = Unsafe.class.getDeclaredField("theUnsafe"); [javac] ^ [javac] /home/travis/build/icyphy/ptII/ptolemy/util/StringUtilities.java:120: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] Unsafe unsafe = (Unsafe) theUnsafe.get(null); [javac] ^ [javac] /home/travis/build/icyphy/ptII/ptolemy/util/StringUtilities.java:120: warning: Unsafe is internal proprietary API and may be removed in a future release [javac] Unsafe unsafe = (Unsafe) theUnsafe.get(null); [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings -check-ptII-mk-file: -check-bin-vergil: -check-make-bin-vergil: build-bin-not: build-not-bin-vergil: [echo] [echo] $PTII/bin/vergil does not exist, perhaps (cd $PTII/bin; make) has not been run? [echo] This can happen if the make binary cannot be found in the path or if $PTII/mk/ptII.mk [echo] is not present. [echo] Skipping running make in $PTII/bin, which creates scripts like $PTII/bin/vergil. [echo] This is only an issue if you want to invoke "$PTII/bin/vergil" instead of "ant vergil". [echo] However, $PTII/bin does include other scripts that may be of use. [echo] build-bin: [exec] for file in .momllib-util .nc2moml-util .ncapp2moml-util capecode convertToLazy copernicus decompile emachine giottoc histogram homer jode mescal moml obfuscate ptcg ptcodegen ptexecute ptjacl ptjaclapp ptplot ptstartjini ptolemy ptweb pxgraph soot tinicomm tinic tiniconverter startjini.gui vergil; do \ [exec] echo "$file"; \ [exec] rm -f "$file"; \ [exec] ln -s ptinvoke "$file"; \ [exec] chmod a+x "$file"; \ [exec] done [exec] .momllib-util [exec] .nc2moml-util [exec] .ncapp2moml-util [exec] capecode [exec] convertToLazy [exec] copernicus [exec] decompile [exec] emachine [exec] giottoc [exec] histogram [exec] homer [exec] jode [exec] mescal [exec] moml [exec] obfuscate [exec] ptcg [exec] ptcodegen [exec] ptexecute [exec] ptjacl [exec] ptjaclapp [exec] ptplot [exec] ptstartjini [exec] ptolemy [exec] ptweb [exec] pxgraph [exec] soot [exec] tinicomm [exec] tinic [exec] tiniconverter [exec] startjini.gui [exec] vergil [exec] rm -f makebat [exec] ln -s ptinvoke makebat [exec] rm -f ".momllib-util.bat" [exec] ./makebat -q "`basename .momllib-util.bat .bat`" [exec] rm -f ".nc2moml-util.bat" [exec] ./makebat -q "`basename .nc2moml-util.bat .bat`" [exec] rm -f ".ncapp2moml-util.bat" [exec] ./makebat -q "`basename .ncapp2moml-util.bat .bat`" [exec] rm -f "capecode.bat" [exec] ./makebat -q "`basename capecode.bat .bat`" [exec] rm -f "convertToLazy.bat" [exec] ./makebat -q "`basename convertToLazy.bat .bat`" [exec] rm -f "copernicus.bat" [exec] ./makebat -q "`basename copernicus.bat .bat`" [exec] rm -f "decompile.bat" [exec] ./makebat -q "`basename decompile.bat .bat`" [exec] rm -f "emachine.bat" [exec] ./makebat -q "`basename emachine.bat .bat`" [exec] rm -f "giottoc.bat" [exec] ./makebat -q "`basename giottoc.bat .bat`" [exec] rm -f "histogram.bat" [exec] ./makebat -q "`basename histogram.bat .bat`" [exec] rm -f "homer.bat" [exec] ./makebat -q "`basename homer.bat .bat`" [exec] rm -f "jode.bat" [exec] ./makebat -q "`basename jode.bat .bat`" [exec] rm -f "mescal.bat" [exec] ./makebat -q "`basename mescal.bat .bat`" [exec] LD_LIBRARY_PATH = /home/travis/build/icyphy/ptII/mescal/lib:/home/travis/build/icyphy/ptII/mescal/bin:/usr/local/lib:/home/travis/pthla/certi-tools/lib:/home/travis/pthla/certi-tools/lib:/usr/lib/jni:/usr/local/share/OpenCV/java/:/usr/share/OpenCV/java: [exec] rm -f "moml.bat" [exec] ./makebat -q "`basename moml.bat .bat`" [exec] rm -f "obfuscate.bat" [exec] ./makebat -q "`basename obfuscate.bat .bat`" [exec] rm -f "ptcg.bat" [exec] ./makebat -q "`basename ptcg.bat .bat`" [exec] rm -f "ptcodegen.bat" [exec] ./makebat -q "`basename ptcodegen.bat .bat`" [exec] rm -f "ptexecute.bat" [exec] ./makebat -q "`basename ptexecute.bat .bat`" [exec] rm -f "ptjacl.bat" [exec] ./makebat -q "`basename ptjacl.bat .bat`" [exec] rm -f "ptjaclapp.bat" [exec] ./makebat -q "`basename ptjaclapp.bat .bat`" [exec] rm -f "ptplot.bat" [exec] ./makebat -q "`basename ptplot.bat .bat`" [exec] rm -f "ptstartjini.bat" [exec] ./makebat -q "`basename ptstartjini.bat .bat`" [exec] rm -f "ptolemy.bat" [exec] ./makebat -q "`basename ptolemy.bat .bat`" [exec] rm -f "ptweb.bat" [exec] ./makebat -q "`basename ptweb.bat .bat`" [exec] rm -f "pxgraph.bat" [exec] ./makebat -q "`basename pxgraph.bat .bat`" [exec] rm -f "soot.bat" [exec] ./makebat -q "`basename soot.bat .bat`" [exec] rm -f "tinicomm.bat" [exec] ./makebat -q "`basename tinicomm.bat .bat`" [exec] rm -f "tinic.bat" [exec] ./makebat -q "`basename tinic.bat .bat`" [exec] rm -f "tiniconverter.bat" [exec] ./makebat -q "`basename tiniconverter.bat .bat`" [exec] rm -f "startjini.gui.bat" [exec] ./makebat -q "`basename startjini.gui.bat .bat`" [exec] rm -f "vergil.bat" [exec] ./makebat -q "`basename vergil.bat .bat`" [exec] rm -f makeapp [exec] ln -s ptinvoke makeapp [exec] chmod a+x ptinvoke makeapp [exec] ./makeapp CapeCode.app CAPECODE -capecode [exec] ./makeapp: /home/travis/build/icyphy/ptII/vendors/universalJavaApplicationStub/src/universalJavaApplicationStub does not exist, creating it from GitHub. [exec] Cloning into 'universalJavaApplicationStub'... [exec] Updating universalJavaApplicationStub from /home/travis/build/icyphy/ptII/vendors/universalJavaApplicationStub/src/universalJavaApplicationStub [exec] Unrecognized option: -d32 [exec] Error: Could not create the Java Virtual Machine. [exec] Error: A fatal exception has occurred. Program will exit. [exec] configure: WARNING: Running java -d32 -version failed, [exec] and ./bin/java does not exist. [exec] Perhaps you need to install a separate 32-bit JVM [exec] or rerun configure with --with-java32? [exec] The 32-bit JVM is only needed for certain 32-bit FMI tests. [exec] In general, under a 64-bit JVM, FMI will work fine without a 32-bit JVM. [exec] configure: WARNING: Cannot find '/usr/local/lib/jvm/openjdk11/bin/javaws'. [exec] or '/Commands/javaws', looking in the path. [exec] This is only a problem when testing the Java Webstart (JNLP) files. [exec] configure: WARNING: The javaws command "" is not executable or not found. [exec] This is only a problem when testing the Java Webstart (JNLP) files. [exec] configure: WARNING: Failed to find /usr/local/include/boost/numeric/odeint.hpp [exec] This is only a problem if you want to rebuild the Functional [exec] Mock-up Interface ++ C files in actor/lib/fmi/fmipp. [exec] Most users can use the shared libraries in /home/travis/build/icyphy/ptII/lib or /home/travis/build/icyphy/ptII/bin. [exec] configure: WARNING: Failed to find Checkstyle in /home/travis/build/icyphy/ptII/vendors/checkstyle-6.2 [exec] Checkstyle is only necessary for code cleaning. [exec] Checkstyle is LGPL'd, so while it could be in the ptII repo, we don't add it. [exec] Checkstyle may be downloaded from http://checkstyle.sourceforge.net/ [exec] configure: WARNING: Did not find /home/travis/build/icyphy/ptII/vendors/misc/colt/colt.jar, [exec] using /home/travis/build/icyphy/ptII/lib/ptcolt.jar [exec] CORBATest.java:28: error: package org.omg.CORBA does not exist [exec] import org.omg.CORBA.Object; [exec] ^ [exec] CORBATest.java:46: error: package org.omg.CORBA does not exist [exec] public static org.omg.CORBA.Object corbaObject = null; [exec] ^ [exec] 2 errors [exec] configure: WARNING: '"/usr/local/lib/jvm/openjdk11/bin/javac" CORBATest.java' failed. [exec] perhaps you are running an JDK 1.9? [exec] You will not be able to run the ptolemy.actor.corba actors, [exec] which is probably not a problem. [exec] configure: WARNING: Failed to find Cobertura in /home/travis/build/icyphy/ptII/vendors/corbertura-2.0.3 [exec] Cobertura is only necessary to for code coverage. [exec] Cobertura is GPL'd, so we don't check it in to the ptII repository. [exec] Cobertura may be downloaded from http://cobertura.github.io/cobertura/ [exec] configure: WARNING: Failed to find CUnit in /usr/local or [exec] /home/travis/build/icyphy/ptII/vendors/CUnit. [exec] CUnit is only necessary to test the C templates of the code generation facility [exec] configure: WARNING: Could not find tools.jar, checking for classes.jar [exec] configure: WARNING: Could not find tools.jar or classes.jar in [exec] PTJAVA_HOME = /usr/local/lib/jvm/openjdk11 [exec] Usually, tools.jar is in PTJAVA_HOME/../lib/tools.jar [exec] or classes.jar is in PTJAVA_HOME/../Classes/classes.jar [exec] Since tools.jar and classes.jar cannot be found, [exec] we will not use doclets from ptII/doc/doclets, which [exec] means that the actor documentation index system will not work. [exec] configure: WARNING: Failed to find /home/travis/build/icyphy/ptII/vendors/mbed/gcc-arm/bin/arm-none-eabi-gcc [exec] so the Mbed CG facility will not be run. [exec] JAITest.java:32: error: package com.sun.image.codec.jpeg does not exist [exec] import com.sun.image.codec.jpeg.JPEGCodec; [exec] ^ [exec] JAITest.java:28: error: package javax.media.jai does not exist [exec] import javax.media.jai.*; [exec] ^ [exec] 2 errors [exec] configure: WARNING: JAI not found in the default classpath [exec] JAITest.java:32: error: package com.sun.image.codec.jpeg does not exist [exec] import com.sun.image.codec.jpeg.JPEGCodec; [exec] ^ [exec] 1 error [exec] configure: WARNING: JAI not found in /home/travis/build/icyphy/ptII/vendors/jai-1_1_3 [exec] configure: WARNING: '"/usr/local/lib/jvm/openjdk11/bin/javac" JAITest.java' failed and JAI jars were not found [exec] in /home/travis/build/icyphy/ptII/vendors [exec] perhaps the Java Advanced Imaging API is not installed? [exec] [exec] Note that JAI does not work in Java 9 and later because Java 9 removed [exec] internal classes used by JAI. [exec] See https://wiki.eecs.berkeley.edu/ptexternal/Main/JAI [exec] [exec] You need not download Jai unless you plan on using the video [exec] actors in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jai [exec] The JAI API can be downloaded from [exec] http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-java-client-419417.html [exec] configure: WARNING: Failed to find /usr/local/jmodelica/include/jmi.h [exec] which is part of JModelica. [exec] Ptolemy optionally includes one or more FMUs that use JModelica. [exec] To install JModelica, see https://svn.jmodelica.org/trunk/INSTALL [exec] JavaFXTest.java:28: error: package javafx.embed.swing does not exist [exec] import javafx.embed.swing.JFXPanel; [exec] ^ [exec] JavaFXTest.java:29: error: package javafx.scene.media does not exist [exec] import javafx.scene.media.Media; [exec] ^ [exec] JavaFXTest.java:49: error: cannot find symbol [exec] public static JFXPanel fxPanel = null; [exec] ^ [exec] symbol: class JFXPanel [exec] location: class JavaFXTest [exec] 3 errors [exec] configure: WARNING: JavaFX not yet found [exec] JMFTest.java:28: error: package javax.media does not exist [exec] import javax.media.CaptureDeviceInfo; [exec] ^ [exec] 1 error [exec] configure: WARNING: JMF not found in the default classpath, will check elsewhere next. [exec] Exception in thread "main" java.lang.RuntimeException: Could not load opencv_java320. [exec] java.library.path = /home/travis/build/icyphy/ptII/lib:/home/travis/pthla/certi-tools/lib:/home/travis/pthla/certi-tools/lib:/usr/lib/jni:/usr/local/share/OpenCV/java/:/usr/share/OpenCV/java::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib [exec] at OpenCVTest.main(OpenCVTest.java:79) [exec] Caused by: java.lang.UnsatisfiedLinkError: no opencv_java320 in java.library.path: [/home/travis/build/icyphy/ptII/lib, /home/travis/pthla/certi-tools/lib, /home/travis/pthla/certi-tools/lib, /usr/lib/jni, /usr/local/share/OpenCV/java/, /usr/share/OpenCV/java, ., /usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib] [exec] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2660) [exec] at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829) [exec] at java.base/java.lang.System.loadLibrary(System.java:1867) [exec] at OpenCVTest.main(OpenCVTest.java:52) [exec] configure: WARNING: Failed to run OpenCV test program in /home/travis/build/icyphy/ptII/config with [exec] /usr/local/lib/jvm/openjdk11/bin/java -classpath /home/travis/build/icyphy/ptII/lib/opencv-320.jar:. OpenCVTest [exec] so we will try other jars. [exec] Exception in thread "main" java.lang.RuntimeException: Could not load opencv_java341. [exec] java.library.path = /home/travis/build/icyphy/ptII/lib:/home/travis/pthla/certi-tools/lib:/home/travis/pthla/certi-tools/lib:/usr/lib/jni:/usr/local/share/OpenCV/java/:/usr/share/OpenCV/java::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib [exec] at OpenCVTest.main(OpenCVTest.java:79) [exec] Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jni/libopencv_java341.so: libavcodec.so.57: cannot open shared object file: No such file or directory [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) [exec] at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) [exec] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649) [exec] at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829) [exec] at java.base/java.lang.System.loadLibrary(System.java:1867) [exec] at OpenCVTest.main(OpenCVTest.java:52) [exec] Exception in thread "main" java.lang.RuntimeException: Could not load opencv_java341. [exec] java.library.path = /home/travis/build/icyphy/ptII/lib:/home/travis/pthla/certi-tools/lib:/home/travis/pthla/certi-tools/lib:/usr/lib/jni:/usr/local/share/OpenCV/java/:/usr/share/OpenCV/java::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib [exec] at OpenCVTest.main(OpenCVTest.java:79) [exec] Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jni/libopencv_java341.so: libavcodec.so.57: cannot open shared object file: No such file or directory [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) [exec] at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) [exec] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649) [exec] at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829) [exec] at java.base/java.lang.System.loadLibrary(System.java:1867) [exec] at OpenCVTest.main(OpenCVTest.java:52) [exec] Exception in thread "main" java.lang.RuntimeException: Could not load opencv_java341. [exec] java.library.path = /home/travis/build/icyphy/ptII/lib:/home/travis/pthla/certi-tools/lib:/home/travis/pthla/certi-tools/lib:/usr/lib/jni:/usr/local/share/OpenCV/java/:/usr/share/OpenCV/java::/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib [exec] at OpenCVTest.main(OpenCVTest.java:79) [exec] Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jni/libopencv_java341.so: libavcodec.so.57: cannot open shared object file: No such file or directory [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2430) [exec] at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2487) [exec] at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2684) [exec] at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2649) [exec] at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:829) [exec] at java.base/java.lang.System.loadLibrary(System.java:1867) [exec] at OpenCVTest.main(OpenCVTest.java:52) [exec] configure: WARNING: Checked /home/travis/build/icyphy/ptII/vendors/opencv/share/OpenCV/java/opencv-341.jar /home/travis/build/icyphy/ptII/lib/opencv-341.jar /usr/share/OpenCV/java/opencv-341.jar, [exec] but the OpenCV test program failed to compile or run. [exec] [exec] Under Linux, try: [exec] [exec] export LD_LIBRARY_PATH=${PTII}/vendors/opencv/lib:${PTII}/vendors/opencv/share/OpenCV/java:${LD_LIBRARY_PATH} [exec] ./configure [exec] [exec] configure: WARNING: Either we could not find [exec] org.opencv.core.Core or else it was already in the JRE. [exec] Searching for OpenCV.jar returned: [exec] [exec] If the class cannot be found, then Eclipse might not be able to find [exec] the OpenCV files. [exec] [exec] This is only a problem if you are using Eclipse. [exec] If the class was in the JRE, then Eclipse should compile the OpenCV files [exec] without problems. [exec] For details, see /home/travis/build/icyphy/ptII/org/ptolemy/opencv/package.html [exec] configure: WARNING: OpenCV was not found, so org/ptolemy/opencv will not be compiled. [exec] Try running /home/travis/build/icyphy/ptII/org/ptolemy/opencv/travis_build_opencv.sh; ./configure [exec] [exec] configure: WARNING: Could not find directory [exec] '/home/travis/build/icyphy/ptII/vendors/sun/javacc-5.0' [exec] so we search for the jjtree command. [exec] configure: WARNING: Failed to find jjtree [exec] configure: WARNING: Failed to find javacc, perhaps JavaCC is not installed? [exec] You need not download JavaCC unless you plan on modifying .jjt files [exec] in ptolemy/data/expr. [exec] JavaCC is available from [exec] https://javacc.org [exec] [exec] Note that the zip file that gets downloaded is actually an installer [exec] that must be run to install the JavaCC.zip file that contains the classes. [exec] [exec] Note that JavaCC-4.1 and 4.2 will not work, there are problems with [exec] ReInit() being static or not static. [exec] [exec] JavaCC-6.0 seems to not include the jjtree and javacc scripts, so [exec] we recommend JavaCC-5.0. [exec] [exec] Try: [exec] cd /home/travis/build/icyphy/ptII/vendors/sun [exec] wget https://javacc.org/downloads/javacc-5.0.tar.gz [exec] tar -zxf javacc-5.0.tar.gz [exec] cd /home/travis/build/icyphy/ptII [exec] ./configure [exec] [exec] Configure looks for JavaCC in /home/travis/build/icyphy/ptII/vendors/sun/javacc-5.0 [exec] so either install JavaCC in that location or use the --with-javacc= flag [exec] and then rerun configure.' [exec] ls: cannot access '/home/travis/build/icyphy/ptII/vendors/jogl/lib/natives/linux-amd64/*.jar': No such file or directory [exec] configure: WARNING: /usr/local/lib/jvm/openjdk11/../include was not found. As a result, compilation of JNI actors will fail. [exec] configure: WARNING: Failed to find matlab executable in the path. [exec] Perhaps Matlab is not installed? [exec] If Matlab is not present, then the Ptolemy II/Matlab interface in [exec] $PTII/ptolemy/matlab will not be usable. [exec] configure: WARNING: Matlab was not found, but compiling the .java files in ptolemy/matlab/ should be ok. [exec] configure: WARNING: Failed to find the scalac binary, [exec] so org/ptolemy/scala will be excluded [exec] SystemJar.main(): java.io.FileNotFoundException: /usr/local/lib/jvm/openjdk11/lib/rt.jar and /usr/local/lib/jvm/openjdk11/lib/core.jar and /usr/local/lib/jvm/openjdk11/../Classes/classes.jar either do not exist or are not readableSystemJar.main(): java.io.FileNotFoundException: /usr/local/lib/jvm/openjdk11/lib/rt.jar and /usr/local/lib/jvm/openjdk11/lib/core.jar and /usr/local/lib/jvm/openjdk11/../Classes/classes.jar either do not exist or are not readableconfigure: WARNING: ojdbc6.jar not found, [exec] but only necessary to use database actors with Oracle. [exec] If the mysql jar file is present, then the Oracle Java Database Connector is not necessary [exec] To install ojdbc5.jar or ojdbc6.jar, [exec] download it from https://www.oracle.com/technetwork/database/features/jdbc/jdbc-drivers-12c-download-1958347.html [exec] copy it to ptolemy/actor/lib/database [exec] and rerun ./configure [exec] configure: WARNING: Failed to find Batik Jar file [exec] You need only have Batik if you are planning on rebuilding diva.jar [exec] for use with Kepler. [exec] Batik can be downloaded from http://xmlgraphics.apache.org/batik/, [exec] batike-1.9/lib/batik-all-1.9.jar copied to /home/travis/build/icyphy/ptII/lib [exec] and ./configure rerun. [exec] configure: WARNING: $TOSROOT is not set. It must be set to use PtinyOS. [exec] configure: WARNING: $TOSROOT is set to '', [exec] but there is no directory by that name, so we will not set up for PtinyOS. [exec] For details, see /home/travis/build/icyphy/ptII/ptolemy/domains/ptinyos/README.txt. [exec] configure: WARNING: Failed to find giotto/gdk.jar [exec] perhaps Giotto is not installed? [exec] You need not download Giotto unless you plan on generating code for [exec] Giotto models. [exec] The Giotto SDK can be [exec] downloaded from https://embedded.eecs.berkeley.edu/giotto/ [exec] Copy gdk.jar to /home/travis/build/icyphy/ptII/vendors/giotto, for example: [exec] mkdir -p /home/travis/build/icyphy/ptII/vendors/giotto [exec] cp C:/Program\ Files/Giotto*/gdk.jar /home/travis/build/icyphy/ptII/vendors/giotto/ [exec] configure: WARNING: Failed to find boost/numeric/odeint.hpp, so FMI ++ [exec] will not be compiled. FMI++ is an extension of the [exec] Functional Mockup Interface, see [exec] http://sourceforge.net/p/fmipp/wiki/Home/ [exec] ./makeapp: Could not find MacJVMTar in /home/travis/build/icyphy/ptII/vendors/installer/MacJVM.tar.gz, downloading it now: Wed Apr 13 02:18:06 UTC 2022 [exec] Untaring /home/travis/build/icyphy/ptII/vendors/installer/MacJVM.tar.gz in /home/travis/build/icyphy/ptII/ now: Wed Apr 13 02:18:12 UTC 2022 [exec] ./makeapp: Installation of /home/travis/build/icyphy/ptII/jdk succeeded. [exec] ./makeapp: copying /home/travis/build/icyphy/ptII/vendors/jogl to /home/travis/build/icyphy/ptII/bin [exec] touch CapeCode.app [exec] ./makeapp Vergil.app FULL -full [exec] Updating universalJavaApplicationStub from /home/travis/build/icyphy/ptII/vendors/universalJavaApplicationStub/src/universalJavaApplicationStub [exec] Untaring /home/travis/build/icyphy/ptII/vendors/installer/MacJVM.tar.gz in /home/travis/build/icyphy/ptII/ now: Wed Apr 13 02:18:15 UTC 2022 [exec] ./makeapp: Installation of /home/travis/build/icyphy/ptII/jdk succeeded. [exec] touch Vergil.app [exec] chmod a+x ant cyphysim hyvisual startjini mkjnlp mkl4j mkosgi mkptdemo mkptlivelinkdemo mkpttest node npm ptjunit ptIITravisBuild.sh reloadAllAccessors updateFmu viptos build: initReports: [mkdir] Created dir: /home/travis/build/icyphy/ptII/reports/doccheck [mkdir] Created dir: /home/travis/build/icyphy/ptII/reports/ojdcheck test.core6.xml: [echo] [echo] ==test.core6.xml == [echo] This target runs the sixth batch of core tests [echo] and generates JUnit xml output. [echo] timeout = 4000000 milliseconds [echo] [junit] javachdir: directory = ptolemy/configs/test/constraints/test [junit] javachdir: pwd: /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test Invoking with -Djava.net.preferIPv4Stack=true [junit] +java --module-path /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib: --add-modules javafx.controls,javafx.swing,javafx.media, -Djava.net.preferIPv4Stack=true -Djavafx.verbose=true -Dprism.verbose=true -Dptolemy.ptII.dir=/home/travis/build/icyphy/ptII -Dptolemy.ptII.batchMode=true -Xmx3200m -classpath /home/travis/build/icyphy/ptII:/home/travis/build/icyphy/ptII/lib/asm-all-5.2.jar:/home/travis/build/icyphy/ptII/lib/nashorn-core-15.3.jar:/home/travis/build/icyphy/ptII/lib/bsh-2.0b4.jar:/home/travis/build/icyphy/ptII/lib/ptCal.jar:/home/travis/build/icyphy/ptII/lib/java_cup.jar:/home/travis/build/icyphy/ptII/lib/saxon8.jar:/home/travis/build/icyphy/ptII/lib/saxon8-dom.jar:/home/travis/build/icyphy/ptII/lib/chic.jar:/home/travis/build/icyphy/ptII/lib/ptcolt.jar:/home/travis/build/icyphy/ptII/vendors/misc/itext/iText.jar:/home/travis/build/icyphy/ptII/lib/g4ltl.jar:/home/travis/build/icyphy/ptII/lib/StructuralCoder.jar:/home/travis/build/icyphy/ptII/lib/jcerti.jar:/home/travis/build/icyphy/ptII/lib/javax.mail.jar:/home/travis/build/icyphy/ptII/vendors/JMF-2.1.1e/lib/jmf.jar:/home/travis/build/icyphy/ptII/lib/jna-4.0.0-variadic.jar:/home/travis/build/icyphy/ptII/vendors/misc/joystick/Joystick.jar:/home/travis/build/icyphy/ptII/lib/ptjacl.jar:/home/travis/build/icyphy/ptII/lib/jsoup-1.14.2.jar:/home/travis/build/icyphy/ptII/lib/junit-4.8.2.jar:/home/travis/build/icyphy/ptII/lib/JUnitParams-0.4.0.jar:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/excel/jxl.jar:/home/travis/build/icyphy/ptII/lib/jython.jar:/home/travis/build/icyphy/ptII/lib/kieler.jar:/home/travis/build/icyphy/ptII/lib/oscP5.jar:/home/travis/build/icyphy/ptII/lib/nrjavaserial-3.11.0.devel.jar:/home/travis/build/icyphy/ptII/vendors/j3d/lib/Linux/j3dcore.jar:/home/travis/build/icyphy/ptII/vendors/j3d/lib/Linux/j3dutils.jar:/home/travis/build/icyphy/ptII/vendors/j3d/lib/Linux/vecmath.jar:/home/travis/build/icyphy/ptII/vendors/jogl/lib/Linux/gluegen-rt-natives-linux-amd64.jar:/home/travis/build/icyphy/ptII/vendors/jogl/lib/Linux/gluegen-rt.jar:/home/travis/build/icyphy/ptII/vendors/jogl/lib/Linux/jogl-all-natives-linux-amd64.jar:/home/travis/build/icyphy/ptII/vendors/jogl/lib/Linux/jogl-all.jar:/home/travis/build/icyphy/ptII/ptolemy/distributed/jini/jar/jini-core.jar:/home/travis/build/icyphy/ptII/ptolemy/distributed/jini/jar/jini-ext.jar:/home/travis/build/icyphy/ptII/ptolemy/distributed/jini/jar/sun-util.jar:/home/travis/build/icyphy/ptII/lib/protobuf-java-2.4.1.jar:/home/travis/build/icyphy/ptII/lib/org.eclipse.paho.client.mqttv3.jar:/home/travis/build/icyphy/ptII/lib/mapss.jar:/home/travis/build/icyphy/ptII/ptolemy/actor/ptalon/antlr/antlr.jar:/home/travis/build/icyphy/ptII/lib/JRI.jar:/home/travis/build/icyphy/ptII/lib/commons-lang-2.6.jar:/home/travis/build/icyphy/ptII/lib/commons-logging-1.1.1.jar:/home/travis/build/icyphy/ptII/lib/sootclasses.jar:/home/travis/build/icyphy/ptII/ptolemy/actor/lib/database/mysql-connector-java-8.0.26.jar:/home/travis/build/icyphy/ptII/vendors/misc/sphinx4/sphinx4-data-5prealpha.jar:/home/travis/build/icyphy/ptII/vendors/misc/sphinx4/sphinx4-core-5prealpha.jar:/home/travis/build/icyphy/ptII/lib/PDFRenderer.jar:/home/travis/build/icyphy/ptII/lib/svgSalamander.jar:/home/travis/build/icyphy/ptII/lib/rsyntaxtextarea-2.6.0-SNAPSHOT.jar:/home/travis/build/icyphy/ptII/lib/hazelcast-3.8.2.jar:/home/travis/build/icyphy/ptII/lib/jackson-annotations-2.9.0.jar:/home/travis/build/icyphy/ptII/lib/jackson-core-2.9.3.jar:/home/travis/build/icyphy/ptII/lib/jackson-databind-2.9.3.jar:/home/travis/build/icyphy/ptII/lib/netty-buffer-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-codec-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-codec-dns-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-codec-http-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-codec-http2-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-common-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-handler-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-resolver-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-resolver-dns-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/netty-transport-4.1.19.Final.jar:/home/travis/build/icyphy/ptII/lib/vertx-codegen-3.5.1.jar:/home/travis/build/icyphy/ptII/lib/vertx-core-3.5.2-SNAPSHOT.jar:/home/travis/build/icyphy/ptII/lib/vertx-hazelcast-3.5.1.jar:/home/travis/build/icyphy/ptII/lib/vertx-lang-js-3.5.1.jar:/home/travis/build/icyphy/ptII/lib/vertx-service-proxy-3.5.1.jar:/home/travis/build/icyphy/ptII/lib/vertx-web-3.5.1.jar:/home/travis/build/icyphy/ptII/lib/slf4j-api-1.7.13.jar:/home/travis/build/icyphy/ptII/lib/slf4j-simple-1.7.13.jar:/home/travis/build/icyphy/ptII/lib/webcam-capture-0.3.12.jar:/home/travis/build/icyphy/ptII/lib/bridj-0.7.0.jar:/home/travis/build/icyphy/ptII/lib/xbjlib-1.1.0.nrjavaserial.jar:/home/travis/build/icyphy/ptII/ptolemy/moml/test:/home/travis/build/icyphy/ptII/ant/lib/ant-launcher.jar:/home/travis/build/icyphy/ptII/ant/lib/ant.jar:/home/travis/build/icyphy/ptII/ant/lib/ant-junit.jar:/home/travis/build/icyphy/ptII/ant/lib/ant-junit4.jar org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner ptolemy.configs.test.constraints.test.junit.JUnitTclTest skipNonTests=false filtertrace=true haltOnError=false haltOnFailure=false formatter=org.apache.tools.ant.taskdefs.optional.junit.OutErrSummaryJUnitResultFormatter showoutput=true outputtoformatters=true logfailedtests=true threadid=0 logtestlistenerevents=false formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,/home/travis/build/icyphy/ptII/reports/junit/TEST-ptolemy.configs.test.constraints.test.junit.JUnitTclTest.xml crashfile=/home/travis/build/icyphy/ptII/junitvmwatcher9329464929254658524.properties propsfile=/home/travis/build/icyphy/ptII/junit980654878048065718.properties [junit] Running ptolemy.configs.test.constraints.test.junit.JUnitTclTest [junit] /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl [junit] testDefs.tcl: setting time out to 9000 seconds at Wed Apr 13 02:18:18 UTC 2022 [junit] FIXME FIXME FIXME FIXME FIXME FIXME [junit] ptolemy/configs/test/checkFullConstraints.tcl: FIXME: Invoking Configuration.check() [junit] results in a memory leak that consumes [junit] more than 4gig of memory and causes problems under Travis. [junit] so, we check the constraints only of the full configuration. [junit] FIXME FIXME FIXME FIXME FIXME FIXME [junit] Force everything to get expanded ptolemy/configs/configurationFile [junit] (Skipping certain optional packages, jxta and viptos) [junit] JSAccessor: PT_NO_NET environment variable is set, so git pull and ptdoc are not being run. [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/adapters/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/audio/index.json [junit] WARNING: An illegal reflective access operation has occurred [junit] WARNING: Illegal reflective access by io.netty.util.internal.ReflectionUtil (file:/home/travis/build/icyphy/ptII/lib/netty-common-4.1.19.Final.jar) to constructor java.nio.DirectByteBuffer(long,int) [junit] WARNING: Please consider reporting this to the maintainers of io.netty.util.internal.ReflectionUtil [junit] WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations [junit] WARNING: All illegal access operations will be denied in a future release [junit] Prism pipeline init order: es2 sw [junit] Using Double Precision Marlin Rasterizer [junit] Using dirty region optimizations [junit] Not using texture mask for primitives [junit] Not forcing power of 2 sizes for textures [junit] Using hardware CLAMP_TO_ZERO mode [junit] Opting in for HiDPI pixel scaling [junit] Prism pipeline name = com.sun.prism.es2.ES2Pipeline [junit] Loading ES2 native library ... prism_es2 [junit] succeeded. [junit] GLFactory using com.sun.prism.es2.X11GLFactory [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_es2.so from relative path [junit] Failed Graphics Hardware Qualifier check. [junit] System GPU doesn't meet the es2 pipe requirement [junit] (X) Got class = class com.sun.prism.es2.ES2Pipeline [junit] GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline [junit] Prism pipeline name = com.sun.prism.sw.SWPipeline [junit] *** Fallback to Prism SW pipeline [junit] (X) Got class = class com.sun.prism.sw.SWPipeline [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_sw.so from relative path [junit] Initialized prism pipeline: com.sun.prism.sw.SWPipeline [junit] JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglass.so from relative path [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglassgtk3.so from relative path [junit] [junit] ** (java:20132): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files [junit] vsync: true vpipe: false [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/cameras/index.json [junit] [main] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used [junit] No physical cameras found, using WebcamDummyDriver. [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/dashboard/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/devices/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/image/index.json [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/net/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/robotics/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/geodesy/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/services/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/signals/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/test/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/utilities/index.json [junit] The Mutable accessor original file has no documentation, so we are not running jsdoc on https://accessors.org/utilities/Mutable.js [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] Loading accessor failed: ComputerVision.js [junit] ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] Failed to populate library. [junit] ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Loading accessor failed: ComputerVision.js [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] [junit] [junit] ==== $PTII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl: configurationFile-3.1 Test to see if configurationFile contains any actors whose type constraints don't clone [junit] ==== Contents of test case: [junit] [junit] set results [[java::cast ptolemy.actor.gui.Configuration $configuration] check] [junit] # FIXME: Need to call this twice to find problems with RecordAssembler. [junit] puts "---- Second call to Configuration.check" [junit] set results2 [[java::cast ptolemy.actor.gui.Configuration $configuration] check] [junit] # Don't call return as the last line of a test proc, since return [junit] # throws an exception. [junit] list $results $results2 [junit] [junit] ==== Test generated error: [junit] while executing [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:307) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] [junit] while executing [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] while executing [junit] "[java::cast ptolemy.actor.gui.Configuration $configuration] check" [junit] invoked from within [junit] "set results [[java::cast ptolemy.actor.gui.Configuration $configuration] check]" [junit] ("uplevel" body line 2) [junit] invoked from within [junit] "uplevel $contents_of_test" [junit] 1649816382852 ms. Memory: 1169408K Free: 171520K (15%) [junit] Setting containers of atomic entities to null [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/adapters/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/audio/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/cameras/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/dashboard/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/devices/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/image/index.json [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/net/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/robotics/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/geodesy/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/services/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/signals/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/test/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/utilities/index.json [junit] The Mutable accessor original file has no documentation, so we are not running jsdoc on https://accessors.org/utilities/Mutable.js [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] Loading accessor failed: ComputerVision.js [junit] ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] Failed to populate library. [junit] ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 62 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 69 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 69 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Loading accessor failed: ComputerVision.js [junit] 04/13/22 02:20:37 [junit] Failed: 1 Total Tests: 1 ((Passed: 0, Newly Passed: 0) Known Failed: 0) /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] java.lang.Exception: Evaluating the Tcl file "/home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl"resulted in a TclException being thrown. [junit] The Tcl errorInfo global variable has the value: [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] while executing [junit] "$configuration allAtomicEntityList" [junit] invoked from within [junit] "set entityList [$configuration allAtomicEntityList]" [junit] (procedure "checkConstraints" line 33) [junit] invoked from within [junit] "checkConstraints full/configuration.xml" [junit] (file "/home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl" line 53) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:253) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] No auto/knownFailedTests/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] No auto/linux-amd64/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] AutoTests.java: About to close Vertx. [junit] AutoTests.java: Vertx closed. [junit] No auto/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] AutoTests.java: About to close Vertx. [junit] AutoTests.java: Vertx closed. [junit] Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 138.987 sec [junit] Output: [junit] /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl [junit] testDefs.tcl: setting time out to 9000 seconds at Wed Apr 13 02:18:18 UTC 2022 [junit] FIXME FIXME FIXME FIXME FIXME FIXME [junit] ptolemy/configs/test/checkFullConstraints.tcl: FIXME: Invoking Configuration.check() [junit] results in a memory leak that consumes [junit] more than 4gig of memory and causes problems under Travis. [junit] so, we check the constraints only of the full configuration. [junit] FIXME FIXME FIXME FIXME FIXME FIXME [junit] Force everything to get expanded ptolemy/configs/configurationFile [junit] (Skipping certain optional packages, jxta and viptos) [junit] JSAccessor: PT_NO_NET environment variable is set, so git pull and ptdoc are not being run. [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/adapters/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/audio/index.json [junit] Prism pipeline init order: es2 sw [junit] Using Double Precision Marlin Rasterizer [junit] Using dirty region optimizations [junit] Not using texture mask for primitives [junit] Not forcing power of 2 sizes for textures [junit] Using hardware CLAMP_TO_ZERO mode [junit] Opting in for HiDPI pixel scaling [junit] Prism pipeline name = com.sun.prism.es2.ES2Pipeline [junit] Loading ES2 native library ... prism_es2 [junit] succeeded. [junit] GLFactory using com.sun.prism.es2.X11GLFactory [junit] (X) Got class = class com.sun.prism.es2.ES2Pipeline [junit] Prism pipeline name = com.sun.prism.sw.SWPipeline [junit] (X) Got class = class com.sun.prism.sw.SWPipeline [junit] Initialized prism pipeline: com.sun.prism.sw.SWPipeline [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/cameras/index.json [junit] No physical cameras found, using WebcamDummyDriver. [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/dashboard/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/devices/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/image/index.json [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/net/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/robotics/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/geodesy/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/services/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/signals/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/test/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/utilities/index.json [junit] The Mutable accessor original file has no documentation, so we are not running jsdoc on https://accessors.org/utilities/Mutable.js [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] Loading accessor failed: ComputerVision.js [junit] [junit] [junit] ==== $PTII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl: configurationFile-3.1 Test to see if configurationFile contains any actors whose type constraints don't clone [junit] ==== Contents of test case: [junit] [junit] set results [[java::cast ptolemy.actor.gui.Configuration $configuration] check] [junit] # FIXME: Need to call this twice to find problems with RecordAssembler. [junit] puts "---- Second call to Configuration.check" [junit] set results2 [[java::cast ptolemy.actor.gui.Configuration $configuration] check] [junit] # Don't call return as the last line of a test proc, since return [junit] # throws an exception. [junit] list $results $results2 [junit] [junit] ==== Test generated error: [junit] while executing [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:307) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] [junit] while executing [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] while executing [junit] "[java::cast ptolemy.actor.gui.Configuration $configuration] check" [junit] invoked from within [junit] "set results [[java::cast ptolemy.actor.gui.Configuration $configuration] check]" [junit] ("uplevel" body line 2) [junit] invoked from within [junit] "uplevel $contents_of_test" [junit] 1649816382852 ms. Memory: 1169408K Free: 171520K (15%) [junit] Setting containers of atomic entities to null [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/adapters/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/audio/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/cameras/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/dashboard/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/devices/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/image/index.json [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] CharacterRecognition: The tesseract module was not present. The CharacterRecognition accessor is not supported on this accessor host. (Thread[main,5,main]) [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/net/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/robotics/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/geodesy/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/services/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/signals/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/test/index.json [junit] Retrieving library from file:/home/travis/build/icyphy/ptII/org/terraswarm/accessor/accessors/web/utilities/index.json [junit] The Mutable accessor original file has no documentation, so we are not running jsdoc on https://accessors.org/utilities/Mutable.js [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] HLA version is 1.3. [junit] Loading accessor failed: ComputerVision.js [junit] 04/13/22 02:20:37 [junit] Failed: 1 Total Tests: 1 ((Passed: 0, Newly Passed: 0) Known Failed: 0) /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] No auto/knownFailedTests/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] No auto/linux-amd64/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] AutoTests.java: About to close Vertx. [junit] AutoTests.java: Vertx closed. [junit] No auto/*.xml tests in /home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test [junit] AutoTests.java: About to close Vertx. [junit] AutoTests.java: Vertx closed. [junit] [junit] Error: [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_es2.so from relative path [junit] Failed Graphics Hardware Qualifier check. [junit] System GPU doesn't meet the es2 pipe requirement [junit] GraphicsPipeline.createPipeline: error initializing pipeline com.sun.prism.es2.ES2Pipeline [junit] *** Fallback to Prism SW pipeline [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libprism_sw.so from relative path [junit] JavaFX: using com.sun.javafx.tk.quantum.QuantumToolkit [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglass.so from relative path [junit] Loaded /home/travis/build/icyphy/ptII/vendors/javafx/javafx-sdk-11.0.2/lib/./libglassgtk3.so from relative path [junit] vsync: true vpipe: false [junit] [main] INFO com.github.sarxos.webcam.Webcam - WebcamDefaultDriver capture driver will be used [junit] Loading accessor failed: ComputerVision.js [junit] ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] Failed to populate library. [junit] ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 84 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 86 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 90 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.entityList(EntityLibrary.java:366) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2769) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity._unlinkLevelCrossingLinksToOutside(CompositeEntity.java:2775) [junit] at ptolemy.kernel.CompositeEntity.setContainer(CompositeEntity.java:1878) [junit] at ptolemy.actor.gui.Configuration.check(Configuration.java:415) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.UplevelCmd.cmdProc(UplevelCmd.java:93) [junit] at tcl.lang.AutoloadStub.cmdProc(Extension.java:144) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.eval(Interp.java:1841) [junit] at tcl.lang.CatchCmd.cmdProc(CatchCmd.java:42) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3401$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3400$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3425$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3419$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$3418$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 92 more [junit] Loading accessor failed: ComputerVision.js [junit] ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] Failed to populate library. [junit] ptolemy.kernel.util.InternalErrorException: Loading accessor failed: ComputerVision.js [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:224) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] ... 62 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 69 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1619) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] ... 69 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1891) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] ... 71 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: ptolemy.kernel.util.IllegalActionException: Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2501) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] ... 75 more [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] Caused by: javax.script.ScriptException: Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:385) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeFunction(NashornScriptEngine.java:186) [junit] at ptolemy.actor.lib.jjs.JavaScript._createEngineAndEvaluateSetup(JavaScript.java:2497) [junit] at ptolemy.actor.lib.jjs.JavaScript.attributeChanged(JavaScript.java:548) [junit] at org.terraswarm.accessor.JSAccessor.attributeChanged(JSAccessor.java:312) [junit] at ptolemy.data.expr.Variable._setTokenAndNotify(Variable.java:2271) [junit] at ptolemy.data.expr.Variable._evaluate(Variable.java:1873) [junit] at ptolemy.data.expr.Variable._propagate(Variable.java:1984) [junit] at ptolemy.data.expr.Variable.validate(Variable.java:1596) [junit] at ptolemy.moml.MoMLParser.endDocument(MoMLParser.java:867) [junit] at com.microstar.xml.XmlParser.doParse(XmlParser.java:162) [junit] at com.microstar.xml.XmlParser.parse(XmlParser.java:132) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1676) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1617) [junit] at ptolemy.moml.MoMLParser.parse(MoMLParser.java:1792) [junit] at org.terraswarm.accessor.AccessorLibrary.populate(AccessorLibrary.java:194) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:349) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.moml.EntityLibrary.deepEntityList(EntityLibrary.java:350) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.deepEntityList(CompositeEntity.java:714) [junit] at ptolemy.kernel.CompositeEntity.allAtomicEntityList(CompositeEntity.java:188) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at tcl.lang.reflect.PkgInvoker.invokeMethod(PkgInvoker.java:129) [junit] at tcl.lang.JavaInvoke.call(JavaInvoke.java:253) [junit] at tcl.lang.JavaInvoke.callMethod(JavaInvoke.java:116) [junit] at tcl.lang.ReflectObject.cmdProc(ReflectObject.java:727) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Parser.evalTokens(Parser.java:930) [junit] at tcl.lang.Parser.eval2(Parser.java:1125) [junit] at tcl.lang.Procedure.cmdProc(Procedure.java:175) [junit] at tcl.lang.Parser.evalObjv(Parser.java:740) [junit] at tcl.lang.Parser.eval2(Parser.java:1138) [junit] at tcl.lang.Interp.eval(Interp.java:1782) [junit] at tcl.lang.Interp.evalFile(Interp.java:1880) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:233) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] Caused by: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454:12 Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) [junit] at org.openjdk.nashorn.internal.objects.NativeError.initException(NativeError.java:135) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:101) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:105) [junit] at org.openjdk.nashorn.internal.objects.NativeError.(NativeError.java:109) [junit] at org.openjdk.nashorn.internal.objects.NativeError.constructor(NativeError.java:128) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16800$16264AAA$require.L:45#_require(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:454) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16799$21065A$require.L:45#_requireClosure#L:466(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16824$1AAAAAAAAAAAAAA$\^function\_.L:1(:62) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16818$17933AAAAAA$require.L:1#Accessor(/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at org.openjdk.nashorn.internal.scripts.Script$Recompilation$16817$2801AAA$\^eval\_.evaluateCode(:96) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:652) [junit] at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513) [junit] at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520) [junit] at org.openjdk.nashorn.api.scripting.ScriptObjectMirror.callMember(ScriptObjectMirror.java:187) [junit] at org.openjdk.nashorn.api.scripting.NashornScriptEngine.invokeImpl(NashornScriptEngine.java:379) [junit] ... 77 more [junit] java.lang.Exception: Evaluating the Tcl file "/home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl"resulted in a TclException being thrown. [junit] The Tcl errorInfo global variable has the value: [junit] ptolemy.kernel.util.InvalidStateException: Failed to populate Library [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Loading accessor failed: ComputerVision.js [junit] in .configuration.actor library.MoreLibraries.Accessors.image [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Error evaluating expression: [junit] // A computer vision accessor. [junit] ... [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision.script [junit] Because: [junit] Failed to evaluate script. [junit] in .configuration.actor library.MoreLibraries.Accessors.image.ComputerVision [junit] Because: [junit] Error: Error executing module @accessors-modules/computer-vision line #89 : Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] In file: /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/modules/computerVision/computerVision.js [junit] Error: Could not find the org.ptolemy.opencv.ComputerVision class, perhaps OpenCV was not installed. The OpenCV API can be downloaded from http://opencv.org. Under Mac OS X, try: :sudo port install opencv +python27 +java".See org/ptolemy/opencv/package.html for installation help. [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:89) [junit] at _require (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:429) [junit] at (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js:467) [junit] at (:62) [junit] at Accessor (/home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js#409:30:545) [junit] at evaluateCode (:96) in /home/travis/build/icyphy/ptII/ptolemy/actor/lib/jjs/external/require.js at line number 454 at column number 12 [junit] while executing [junit] "$configuration allAtomicEntityList" [junit] invoked from within [junit] "set entityList [$configuration allAtomicEntityList]" [junit] (procedure "checkConstraints" line 33) [junit] invoked from within [junit] "checkConstraints full/configuration.xml" [junit] (file "/home/travis/build/icyphy/ptII/ptolemy/configs/test/constraints/test/checkFullConstraints.tcl" line 53) [junit] at ptolemy.util.test.junit.TclTests.RunTclFile(TclTests.java:253) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [junit] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [junit] at java.base/java.lang.reflect.Method.invoke(Method.java:566) [junit] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit] at junitparams.internal.InvokeParameterisedMethod.evaluate(InvokeParameterisedMethod.java:102) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runMethodInvoker(ParameterisedTestMethodRunner.java:47) [junit] at junitparams.internal.ParameterisedTestMethodRunner.runTestMethod(ParameterisedTestMethodRunner.java:41) [junit] at junitparams.internal.ParameterisedTestClassRunner.runParameterisedTest(ParameterisedTestClassRunner.java:143) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:237) [junit] at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:215) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at org.junit.runners.Suite.runChild(Suite.java:128) [junit] at org.junit.runners.Suite.runChild(Suite.java:24) [junit] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit] at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:535) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1182) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:1033) [junit] [junit] QuantumRenderer: shutdown [junit] Test ptolemy.configs.test.constraints.test.junit.JUnitTclTest FAILED BUILD SUCCESSFUL Total time: 3 minutes 56 seconds