./verifast-validate-witness.sh sv-benchmarks/c/loop-invariants/odd.c ./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml -------------------------------------------------------------------------------- + PROGRAM=sv-benchmarks/c/loop-invariants/odd.c + WITNESS=./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml + '[' -z x ']' + echo 'Using prover supplied by environment variable PROVER: Z3v4.5' Using prover supplied by environment variable PROVER: Z3v4.5 ++ basename sv-benchmarks/c/loop-invariants/odd.c + FILE=odd.c ++ echo odd ++ sed 's/[-\.]/_/g' - + SANITIZED=odd + MODULE=odd__verifast_instrumented_modified + INSTRUMENTED_PROGRAM=odd__verifast_instrumented.c ++ basename ./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml + TRANSLATED_WITNESS=verifast_translated.witness-2.1.yml + FINAL_PROGRAM=odd__verifast_instrumented_modified.c + change_format_cli.py -w ./results/automizer-verification-files/SV-COMP24_unreach-call/odd.yml/witness-2.1.yml -p sv-benchmarks/c/loop-invariants/odd.c -o verifast_translated.witness-2.1.yml --from acsl_expression --to verifast_expression -n odd__verifast_instrumented_modified + instrument_program_cli.py -w verifast_translated.witness-2.1.yml -p sv-benchmarks/c/loop-invariants/odd.c -o odd__verifast_instrumented.c + program_modifications_cli.py -p odd__verifast_instrumented.c -o odd__verifast_instrumented_modified.c + verifast -stats -verbose 4 -allow_dead_code -prover Z3v4.5 -read_options_from_source_file -c odd__verifast_instrumented_modified.c odd__verifast_instrumented_modified.c 0.044573s: odd__verifast_instrumented_modified.c(27,5-9): Function 'main': Function type implementation check 0.044630s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,18-24): Producing assertion 0.044653s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,49-51): Producing assertion 0.044670s: Z3 assume (<= 0 argc): 0.000579 seconds 0.045327s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,61-62): Producing assertion 0.045353s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1084,64-68): Producing assertion 0.045371s: odd__verifast_instrumented_modified.c(27,29-35): Consuming assertion 0.045413s: Consuming chunk module(odd__verifast_instrumented_modified, true) 0.045441s: odd__verifast_instrumented_modified.c(28,13-17): Producing assertion 0.045460s: /storage/repos/SV-Transformer-Library/verifast-24.08.30-2-gb1220004/bin/prelude.h(1085,17-21): Consuming assertion 0.045469s: odd__verifast_instrumented_modified.c(27,5-9): Cleaning up dummy fraction chunks 0.045478s: odd__verifast_instrumented_modified.c(27,5-9): Leak check. 0.045594s: odd__verifast_instrumented_modified.c(13,6-17): Verifying function 'reach_error' 0.045607s: odd__verifast_instrumented_modified.c(13,33-38): Producing assertion 0.045616s: Z3 assume false: 0.000006 seconds 0.045678s: odd__verifast_instrumented_modified.c(19,6-23): Verifying function '__VERIFIER_assert' 0.045697s: odd__verifast_instrumented_modified.c(19,53-55): Producing assertion 0.045709s: Z3 assume (not (= cond 0)): 0.000438 seconds 0.046194s: odd__verifast_instrumented_modified.c(19,6-23): Executing statement 0.046224s: odd__verifast_instrumented_modified.c(22,3-5): Executing statement 0.046256s: Z3 assume (not (not (= cond 0))): 0.000009 seconds 0.046310s: Z3 assume (not (not (not (= cond 0)))): 0.000401 seconds 0.046771s: odd__verifast_instrumented_modified.c(25,3-9): Executing return statement 0.046793s: odd__verifast_instrumented_modified.c(20,19-21): Consuming assertion 0.046804s: Z3 query (not (= cond 0)) returns true: 0.000010 seconds 0.046841s: odd__verifast_instrumented_modified.c(26,1-2): Cleaning up dummy fraction chunks 0.046851s: odd__verifast_instrumented_modified.c(26,1-2): Leak check. 0.046878s: odd__verifast_instrumented_modified.c(27,5-9): Verifying function 'main' 0.046894s: odd__verifast_instrumented_modified.c(27,29-35): Producing assertion 0.046910s: odd__verifast_instrumented_modified.c(27,5-9): Executing statement 0.046923s: odd__verifast_instrumented_modified.c(31,1-2): Executing statement 0.046933s: odd__verifast_instrumented_modified.c(33,1-34,1): Executing statement 0.046966s: Consuming chunk [_]module(odd__verifast_instrumented_modified, true) 0.046978s: odd__verifast_instrumented_modified.c(35,18-19): Executing statement 0.046991s: odd__verifast_instrumented_modified.c(36,3-8): Executing statement 0.047013s: odd__verifast_instrumented_modified.c(36,75-76): Consuming assertion 0.047026s: Z3 query (< (mod (+ 1 1) 2) 1) returns false: 0.000434 seconds 0.047506s: odd__verifast_instrumented_modified.c(36,75-76): Consuming expression 0.047521s: Z3 query (< (mod (+ 1 1) 2) 1) returns false: 0.000423 seconds odd__verifast_instrumented_modified.c(36,75-76): Cannot prove condition. (Cannot prove (< (mod (+ 1 1) 2) 1).)