./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/loop-industry-pattern/mod3.c --full-output --witness-type correctness_witness --validate ../results/cpachecker-verification-files/SV-COMP24_unreach-call/mod3.yml/output/witness-2.1.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 27b49876 Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/certificate-witnesses-artifact/referee/data/config -Xmx15G -Xms4m -jar /storage/repos/certificate-witnesses-artifact/referee/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/certificate-witnesses-artifact/referee/data -tc /storage/repos/certificate-witnesses-artifact/referee/config/RefereeReachWitnessValidation.xml -i ../sv-benchmarks/c/loop-industry-pattern/mod3.c ../results/cpachecker-verification-files/SV-COMP24_unreach-call/mod3.yml/output/witness-2.1.yml -s /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.positions.where.we.compute.the.hoare.annotation None --- Real Ultimate output --- This is Ultimate 0.2.4-tmp.dk.referee-eval-27b4987-m [2024-09-21 19:07:28,456 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-21 19:07:28,514 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-21 19:07:28,520 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-21 19:07:28,522 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-21 19:07:28,541 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-21 19:07:28,542 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-21 19:07:28,542 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-21 19:07:28,542 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-21 19:07:28,544 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-21 19:07:28,544 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-21 19:07:28,544 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-21 19:07:28,546 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-21 19:07:28,546 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-21 19:07:28,546 INFO L153 SettingsManager]: * Use SBE=true [2024-09-21 19:07:28,546 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-21 19:07:28,546 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-21 19:07:28,547 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-21 19:07:28,547 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-21 19:07:28,547 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-21 19:07:28,547 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-21 19:07:28,549 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-21 19:07:28,549 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-21 19:07:28,549 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-21 19:07:28,550 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-21 19:07:28,550 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-21 19:07:28,550 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-21 19:07:28,550 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-21 19:07:28,550 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-21 19:07:28,550 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * Future-live optimization=false [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-21 19:07:28,551 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-21 19:07:28,551 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-21 19:07:28,552 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/certificate-witnesses-artifact/referee/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Positions where we compute the Hoare Annotation -> None [2024-09-21 19:07:28,750 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-21 19:07:28,773 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-21 19:07:28,776 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-21 19:07:28,776 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-21 19:07:28,777 INFO L274 PluginConnector]: CDTParser initialized [2024-09-21 19:07:28,778 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/loop-industry-pattern/mod3.c [2024-09-21 19:07:29,985 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-21 19:07:30,133 INFO L384 CDTParser]: Found 1 translation units. [2024-09-21 19:07:30,134 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loop-industry-pattern/mod3.c [2024-09-21 19:07:30,140 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/9a6aacb1a/9d6fe13dcf0c42a681b8fdaaac5b0d93/FLAG9de6a37c9 [2024-09-21 19:07:30,154 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/9a6aacb1a/9d6fe13dcf0c42a681b8fdaaac5b0d93 [2024-09-21 19:07:30,157 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-21 19:07:30,157 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-21 19:07:30,158 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/cpachecker-verification-files/SV-COMP24_unreach-call/mod3.yml/output/witness-2.1.yml [2024-09-21 19:07:30,200 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-21 19:07:30,201 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-21 19:07:30,203 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-21 19:07:30,203 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-21 19:07:30,207 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-21 19:07:30,207 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.09 07:07:30" (1/2) ... [2024-09-21 19:07:30,209 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@524ae6da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,210 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.09 07:07:30" (1/2) ... [2024-09-21 19:07:30,211 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5a8698ae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,211 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 21.09 07:07:30" (2/2) ... [2024-09-21 19:07:30,212 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@524ae6da and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,212 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 21.09 07:07:30" (2/2) ... [2024-09-21 19:07:30,218 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-21 19:07:30,218 INFO L1541 ArrayList]: Loop invariant at [L18-L31] ( ( ( ! ( y == 0 ) ) || ( ( ( x % 3 ) < 3 ) && ( ( x % 3 ) == 0 ) ) ) && ( ( y == 0 ) || ( ( x % 3 ) < 3 ) ) ) || ( ! ( y == 0 ) ) [2024-09-21 19:07:30,218 INFO L1541 ArrayList]: Function contract at [L8]: requires 1, ensures (!(1) || (1)) [2024-09-21 19:07:30,219 INFO L1541 ArrayList]: Function contract at [L14]: requires 1, ensures (!(1) || (1)) [2024-09-21 19:07:30,232 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-21 19:07:30,357 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loop-industry-pattern/mod3.c[394,407] [2024-09-21 19:07:30,375 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-21 19:07:30,384 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global Start Parsing Global [2024-09-21 19:07:30,412 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loop-industry-pattern/mod3.c[394,407] Start Parsing Global Start Parsing Global Start Parsing Local [2024-09-21 19:07:30,420 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-21 19:07:30,431 INFO L204 MainTranslator]: Completed translation [2024-09-21 19:07:30,432 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30 WrapperNode [2024-09-21 19:07:30,433 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-21 19:07:30,433 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-21 19:07:30,433 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-21 19:07:30,434 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-21 19:07:30,443 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,443 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,448 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,454 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure __VERIFIER_assert is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-21 19:07:30,455 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,455 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,461 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,466 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,466 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,467 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,469 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-21 19:07:30,470 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-21 19:07:30,470 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-21 19:07:30,470 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-21 19:07:30,471 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (1/1) ... [2024-09-21 19:07:30,475 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-21 19:07:30,481 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-21 19:07:30,495 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-09-21 19:07:30,499 INFO L327 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-09-21 19:07:30,531 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-21 19:07:30,531 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-21 19:07:30,531 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-21 19:07:30,531 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-09-21 19:07:30,531 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-21 19:07:30,531 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-21 19:07:30,531 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-09-21 19:07:30,532 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-21 19:07:30,533 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-09-21 19:07:30,533 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-09-21 19:07:30,533 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-21 19:07:30,583 INFO L242 CfgBuilder]: Building ICFG [2024-09-21 19:07:30,585 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-21 19:07:30,604 WARN L783 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2024-09-21 19:07:30,677 WARN L783 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2024-09-21 19:07:30,684 INFO L291 CfgBuilder]: Performing block encoding [2024-09-21 19:07:30,707 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-21 19:07:30,707 INFO L318 CfgBuilder]: Removed 2 assume(true) statements. [2024-09-21 19:07:30,707 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.09 07:07:30 BoogieIcfgContainer [2024-09-21 19:07:30,707 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-21 19:07:30,708 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-21 19:07:30,708 INFO L270 PluginConnector]: Initializing Referee... [2024-09-21 19:07:30,709 INFO L274 PluginConnector]: Referee initialized [2024-09-21 19:07:30,709 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 21.09 07:07:30" (1/4) ... [2024-09-21 19:07:30,710 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@600b3541 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,710 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 21.09 07:07:30" (2/4) ... [2024-09-21 19:07:30,711 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@600b3541 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,711 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 21.09 07:07:30" (3/4) ... [2024-09-21 19:07:30,711 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@600b3541 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 21.09 07:07:30, skipping insertion in model container [2024-09-21 19:07:30,711 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.09 07:07:30" (4/4) ... [2024-09-21 19:07:30,712 INFO L79 RefereeObserver]: Analyzing ICFG mod3.c [2024-09-21 19:07:30,715 INFO L113 InvariantChecker]: Found 1 loops. [2024-09-21 19:07:30,715 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L25-2 to ERROR_LOC mainErr1REQUIRES_VIOLATIONPRE_CONDITION. Corresponding subgraph has 6 edges. [2024-09-21 19:07:30,716 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L25-2 to ERROR_LOC mainErr2ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 9 edges. [2024-09-21 19:07:30,719 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC ULTIMATE.startErr0REQUIRES_VIOLATIONPRE_CONDITION. Corresponding subgraph has 2 edges. [2024-09-21 19:07:30,719 INFO L373 InvariantChecker]: Will check inductivity from ENTRY mainENTRY to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 2 edges. [2024-09-21 19:07:30,719 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L25-2 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 10 edges. [2024-09-21 19:07:30,720 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 5 edges. [2024-09-21 19:07:30,720 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 3 edges. [2024-09-21 19:07:30,720 INFO L131 InvariantChecker]: Will check 1 loop-free subgraphs from loop head to loop head, 2 loop-free subgraphs from loop head to error location, 1 loop-free subgraphs from procedure entry to loop head, 3 loop-free subgraphs from procedure entry to error location [2024-09-21 19:07:30,769 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 6 edges [2024-09-21 19:07:30,770 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:30,770 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:30,771 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:30,771 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:30,772 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,788 INFO L101 BaseMinimizeStates]: Removed 11 edges and 4 locations by large block encoding [2024-09-21 19:07:30,789 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,789 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:30,790 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:30,790 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:30,792 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:30,805 INFO L520 InvariantChecker]: The annotation(s) from loop head L25-2 to error location mainErr1REQUIRES_VIOLATIONPRE_CONDITION is inductive. [2024-09-21 19:07:30,819 INFO L314 BlockEncoder]: Initial Icfg 8 locations, 9 edges [2024-09-21 19:07:30,821 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:30,822 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:30,822 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:30,822 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:30,822 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,846 INFO L101 BaseMinimizeStates]: Removed 23 edges and 6 locations by large block encoding [2024-09-21 19:07:30,848 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,848 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:30,848 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:30,849 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:30,849 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:30,861 INFO L520 InvariantChecker]: The annotation(s) from loop head L25-2 to error location mainErr2ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-21 19:07:30,872 INFO L314 BlockEncoder]: Initial Icfg 3 locations, 2 edges [2024-09-21 19:07:30,873 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:30,873 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:30,873 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:30,873 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:30,873 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,874 INFO L101 BaseMinimizeStates]: Removed 2 edges and 1 locations by large block encoding [2024-09-21 19:07:30,874 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,874 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:30,874 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:30,874 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:30,874 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:30,878 INFO L520 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location ULTIMATE.startErr0REQUIRES_VIOLATIONPRE_CONDITION is inductive. [2024-09-21 19:07:30,889 INFO L314 BlockEncoder]: Initial Icfg 3 locations, 2 edges [2024-09-21 19:07:30,889 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:30,889 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:30,890 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:30,891 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:30,891 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,892 INFO L101 BaseMinimizeStates]: Removed 2 edges and 1 locations by large block encoding [2024-09-21 19:07:30,892 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,892 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:30,893 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:30,893 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:30,893 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:30,900 INFO L520 InvariantChecker]: The annotation(s) from entry mainENTRY to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-21 19:07:30,906 INFO L314 BlockEncoder]: Initial Icfg 8 locations, 10 edges [2024-09-21 19:07:30,910 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:30,910 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:30,910 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:30,910 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:30,910 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,929 INFO L101 BaseMinimizeStates]: Removed 18 edges and 6 locations by large block encoding [2024-09-21 19:07:30,929 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:30,929 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:30,929 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:30,930 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:30,937 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:34,941 INFO L516 InvariantChecker]: unknown inductivity: todo good error message [2024-09-21 19:07:34,952 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-21 19:07:34,952 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:34,952 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:34,952 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:34,952 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:34,953 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:34,955 INFO L101 BaseMinimizeStates]: Removed 8 edges and 3 locations by large block encoding [2024-09-21 19:07:34,955 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:34,955 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:34,955 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:34,955 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:34,956 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:34,959 INFO L520 InvariantChecker]: The annotation(s) from entry __VERIFIER_assertENTRY to error location __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-21 19:07:34,964 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-21 19:07:34,965 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-21 19:07:34,965 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-21 19:07:34,965 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-21 19:07:34,965 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-21 19:07:34,965 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:34,966 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-21 19:07:34,966 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-21 19:07:34,966 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-21 19:07:34,966 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-21 19:07:34,967 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-21 19:07:34,967 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-21 19:07:34,982 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-21 19:07:34,983 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@600b3541 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 21.09 07:07:34, skipping insertion in model container [2024-09-21 19:07:34,984 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-21 19:07:34,986 INFO L158 Benchmark]: Toolchain (without parser) took 4783.16ms. Allocated memory is still 167.8MB. Free memory was 98.0MB in the beginning and 115.7MB in the end (delta: -17.7MB). Peak memory consumption was 38.1MB. Max. memory is 16.1GB. [2024-09-21 19:07:34,987 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 113.2MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-21 19:07:34,987 INFO L158 Benchmark]: Witness Parser took 1.26ms. Allocated memory is still 167.8MB. Free memory is still 99.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-21 19:07:34,988 INFO L158 Benchmark]: CACSL2BoogieTranslator took 229.94ms. Allocated memory is still 167.8MB. Free memory was 97.7MB in the beginning and 84.3MB in the end (delta: 13.5MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-21 19:07:34,988 INFO L158 Benchmark]: Boogie Preprocessor took 36.03ms. Allocated memory is still 167.8MB. Free memory was 84.3MB in the beginning and 82.4MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-21 19:07:34,988 INFO L158 Benchmark]: RCFGBuilder took 237.37ms. Allocated memory is still 167.8MB. Free memory was 82.2MB in the beginning and 69.5MB in the end (delta: 12.7MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-21 19:07:34,989 INFO L158 Benchmark]: Referee took 4276.06ms. Allocated memory is still 167.8MB. Free memory was 69.5MB in the beginning and 115.7MB in the end (delta: -46.2MB). Peak memory consumption was 10.8MB. Max. memory is 16.1GB. [2024-09-21 19:07:34,991 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.referee: - AnnotationCheckResult: Annotation is not a valid proof of correctness. Annotation is not a valid proof of correctness. Annotation is not valid for all loop-free paths from entry of procedure __VERIFIER_assert to check that a call to reach_error is unreachable at line 10. One counterexample starts in \old(cond)=0 and ends in \old(cond)=0, cond=0. Insufficient resources for checking whether annotation is valid for all loop-free paths from loop head at line 18 to loop head at line 18. Annotation is valid for all loop-free paths from entry of procedure __VERIFIER_assert to exit of procedure __VERIFIER_assert. Annotation is valid for all loop-free paths from loop head at line 18 to check that procedure precondition always holds at line 33. Annotation is valid for all loop-free paths from loop head at line 18 to exit of procedure main. Annotation is valid for all loop-free paths from entry of procedure main to loop head at line 18. Annotation is valid for all loop-free paths from entry of procedure ULTIMATE.start to check that procedure precondition always holds at line -1. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14ms. Allocated memory is still 113.2MB. Free memory is still 74.8MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 1.26ms. Allocated memory is still 167.8MB. Free memory is still 99.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 229.94ms. Allocated memory is still 167.8MB. Free memory was 97.7MB in the beginning and 84.3MB in the end (delta: 13.5MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 36.03ms. Allocated memory is still 167.8MB. Free memory was 84.3MB in the beginning and 82.4MB in the end (delta: 1.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 237.37ms. Allocated memory is still 167.8MB. Free memory was 82.2MB in the beginning and 69.5MB in the end (delta: 12.7MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Referee took 4276.06ms. Allocated memory is still 167.8MB. Free memory was 69.5MB in the beginning and 115.7MB in the end (delta: -46.2MB). Peak memory consumption was 10.8MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-09-21 19:07:35,024 INFO L540 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE