Skip to content

Commit

Permalink
Experiments for baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
amandasystems committed Mar 1, 2024
1 parent b64b4f4 commit ed87718
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
18 changes: 18 additions & 0 deletions 120s-baseline.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
set -x

LOGFILE="baseline-120s.log"
JARFILE=$(ls -1t target/scala-2.13/uuverifiers/*.jar | head -1)

echo "" > "$LOGFILE"

for instance in 120s-experiments.d/*
do
timeout --signal 9 --preserve-status 300s \
java -Xmx20G -jar $JARFILE \
solve-satisfy --backend baseline \
--timeout 120000 $instance $instance
done | tee -a "$LOGFILE"


echo "Done with all experiments!" >> "$LOGFILE"
2 changes: 1 addition & 1 deletion 120s-experiments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set -x
RESTART_AFTER=10
export CATRA_TIMEOUT=120000
export CATRA_CONFIGS="baseline,lazy"
export CATRA_CONFIGS="nuxmv,lazy"
export CATRA_THREADS=1
LOGFILE="${CATRA_CONFIGS}-catra-${RESTART_AFTER}.${CATRA_TIMEOUT}.log"
JARFILE=$(ls -1t benchmark/target/scala-2.13/*.jar | head -1)
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,15 @@ EXPERIMENT_DIR = parikh-plus
.PHONY: all
all: experiments

catra-experiments.zip: build.sbt
.PHONY: catra-experiments.zip
catra-experiments.zip:
sbt assembly
sbt benchmark/assembly
zip catra-experiments.zip \
-r 120s-experiments.* \
$(shell ls -1t benchmark/target/scala-2.13/*.jar | head -1)
$(shell ls -1t target/scala-2.13/uuverifers/*.jar | head -1)
120s-baseline.sh

catra-${current_version}.zip:
sbt assembly
Expand Down

0 comments on commit ed87718

Please sign in to comment.