./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/recursive/Primes.c --full-output --witness-type correctness_witness --validate ../results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/witness-2.1.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version f1d7dc9d Calling Ultimate with: /root/.sdkman/candidates/java/current/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/recursive/Primes.c ../results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/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-f1d7dc9-m [2024-09-20 13:29:24,408 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-20 13:29:24,477 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-20 13:29:24,486 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-20 13:29:24,487 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-20 13:29:24,520 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-20 13:29:24,522 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-20 13:29:24,522 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-20 13:29:24,523 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-20 13:29:24,526 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-20 13:29:24,527 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-20 13:29:24,527 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-20 13:29:24,528 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-20 13:29:24,528 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-20 13:29:24,530 INFO L153 SettingsManager]: * Use SBE=true [2024-09-20 13:29:24,530 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-20 13:29:24,530 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-20 13:29:24,531 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-20 13:29:24,531 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-20 13:29:24,531 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-20 13:29:24,531 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-20 13:29:24,532 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-20 13:29:24,532 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-20 13:29:24,532 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-20 13:29:24,532 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-20 13:29:24,533 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-20 13:29:24,533 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-20 13:29:24,533 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-20 13:29:24,533 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-20 13:29:24,534 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-20 13:29:24,534 INFO L153 SettingsManager]: * Future-live optimization=false [2024-09-20 13:29:24,534 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-20 13:29:24,534 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-20 13:29:24,534 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-20 13:29:24,535 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-20 13:29:24,535 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-20 13:29:24,535 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-20 13:29:24,536 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-20 13:29:24,536 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-20 13:29:24,536 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-20 13:29:24,537 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-20 13:29:24,537 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-20 13:29:24,537 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-20 13:29:24,537 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-20 13:29:24,782 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-20 13:29:24,807 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-20 13:29:24,810 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-20 13:29:24,811 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-20 13:29:24,812 INFO L274 PluginConnector]: CDTParser initialized [2024-09-20 13:29:24,813 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/recursive/Primes.c [2024-09-20 13:29:26,290 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-20 13:29:26,478 INFO L384 CDTParser]: Found 1 translation units. [2024-09-20 13:29:26,478 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/recursive/Primes.c [2024-09-20 13:29:26,486 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/75206139f/a007abad9e47442f9cd973acffcb970f/FLAG59094b98e [2024-09-20 13:29:26,500 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/75206139f/a007abad9e47442f9cd973acffcb970f [2024-09-20 13:29:26,502 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-20 13:29:26,505 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-20 13:29:26,505 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/Primes.yml/witness-2.1.yml [2024-09-20 13:29:26,559 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-20 13:29:26,560 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-20 13:29:26,561 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-20 13:29:26,562 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-20 13:29:26,568 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-20 13:29:26,569 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.09 01:29:26" (1/2) ... [2024-09-20 13:29:26,570 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1ffbe489 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 01:29:26, skipping insertion in model container [2024-09-20 13:29:26,570 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.09 01:29:26" (1/2) ... [2024-09-20 13:29:26,571 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@1a1ca133 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 01:29:26, skipping insertion in model container [2024-09-20 13:29:26,572 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 01:29:26" (2/2) ... [2024-09-20 13:29:26,572 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1ffbe489 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.09 01:29:26, skipping insertion in model container [2024-09-20 13:29:26,572 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 01:29:26" (2/2) ... [2024-09-20 13:29:26,595 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-20 13:29:26,596 INFO L1541 ArrayList]: Function contract at [L52]: requires null, ensures ((\old(n) < 3) || (\result == 0)) [2024-09-20 13:29:26,596 INFO L1541 ArrayList]: Function contract at [L17]: requires null, ensures ((((2 < \result) || (\result == 0)) || (\old(m) < 2)) || (\old(n) < 2)) [2024-09-20 13:29:26,596 INFO L1541 ArrayList]: Function contract at [L31]: requires null, ensures (((((((long long) \old(m) * 2) < ((long long) \old(n) + 1)) || (\old(n) == \old(m))) || (\old(n) == 0)) || (((long long) \old(n) + \old(m)) < 1)) || (\old(m) < 1)) [2024-09-20 13:29:26,619 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-20 13:29:26,798 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/recursive/Primes.c[2190,2203] [2024-09-20 13:29:26,808 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-20 13:29:26,819 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global Start Parsing Global Start Parsing Global [2024-09-20 13:29:26,873 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/recursive/Primes.c[2190,2203] [2024-09-20 13:29:26,873 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-20 13:29:26,889 INFO L204 MainTranslator]: Completed translation [2024-09-20 13:29:26,889 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.09 01:29:26 WrapperNode [2024-09-20 13:29:26,890 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-20 13:29:26,890 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-20 13:29:26,891 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-20 13:29:26,891 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-20 13:29:26,907 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,908 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,914 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,931 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure mult is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-20 13:29:26,934 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,934 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,944 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,947 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,952 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,954 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,955 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-20 13:29:26,960 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-20 13:29:26,960 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-20 13:29:26,960 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-20 13:29:26,961 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 20.09 01:29:26" (1/1) ... [2024-09-20 13:29:26,968 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-20 13:29:26,977 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-20 13:29:26,996 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-20 13:29:26,999 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-20 13:29:27,048 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-20 13:29:27,048 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-20 13:29:27,049 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-20 13:29:27,050 INFO L138 BoogieDeclarations]: Found implementation of procedure mult [2024-09-20 13:29:27,050 INFO L138 BoogieDeclarations]: Found implementation of procedure multiple_of [2024-09-20 13:29:27,051 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime [2024-09-20 13:29:27,051 INFO L138 BoogieDeclarations]: Found implementation of procedure is_prime_ [2024-09-20 13:29:27,051 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-20 13:29:27,051 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure mult [2024-09-20 13:29:27,052 INFO L130 BoogieDeclarations]: Found specification of procedure multiple_of [2024-09-20 13:29:27,053 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime_ [2024-09-20 13:29:27,053 INFO L130 BoogieDeclarations]: Found specification of procedure is_prime [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-09-20 13:29:27,054 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-09-20 13:29:27,055 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-20 13:29:27,120 INFO L242 CfgBuilder]: Building ICFG [2024-09-20 13:29:27,122 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-20 13:29:27,377 INFO L291 CfgBuilder]: Performing block encoding [2024-09-20 13:29:27,408 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-20 13:29:27,408 INFO L318 CfgBuilder]: Removed 0 assume(true) statements. [2024-09-20 13:29:27,409 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.09 01:29:27 BoogieIcfgContainer [2024-09-20 13:29:27,409 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-20 13:29:27,410 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-20 13:29:27,410 INFO L270 PluginConnector]: Initializing Referee... [2024-09-20 13:29:27,411 INFO L274 PluginConnector]: Referee initialized [2024-09-20 13:29:27,411 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 20.09 01:29:26" (1/4) ... [2024-09-20 13:29:27,412 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2a318643 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 20.09 01:29:27, skipping insertion in model container [2024-09-20 13:29:27,412 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 01:29:26" (2/4) ... [2024-09-20 13:29:27,412 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2a318643 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 20.09 01:29:27, skipping insertion in model container [2024-09-20 13:29:27,413 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 20.09 01:29:26" (3/4) ... [2024-09-20 13:29:27,413 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2a318643 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 20.09 01:29:27, skipping insertion in model container [2024-09-20 13:29:27,413 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.09 01:29:27" (4/4) ... [2024-09-20 13:29:27,414 INFO L79 RefereeObserver]: Analyzing ICFG Primes.c [2024-09-20 13:29:27,419 INFO L113 InvariantChecker]: Found 0 loops. [2024-09-20 13:29:27,420 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC mainErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 12 edges. [2024-09-20 13:29:27,420 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC multiple_ofErr0ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 16 edges. [2024-09-20 13:29:27,421 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC multErr0ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 12 edges. [2024-09-20 13:29:27,421 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC is_primeErr0ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 4 edges. [2024-09-20 13:29:27,421 INFO L131 InvariantChecker]: Will check 4 loop-free subgraphs from procedure entry to error location [2024-09-20 13:29:27,483 INFO L314 BlockEncoder]: Initial Icfg 12 locations, 12 edges [2024-09-20 13:29:27,488 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 13:29:27,489 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 13:29:27,490 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 13:29:27,492 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 13:29:27,495 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,539 INFO L101 BaseMinimizeStates]: Removed 23 edges and 10 locations by large block encoding [2024-09-20 13:29:27,540 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,540 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 13:29:27,541 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 13:29:27,541 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 13:29:27,549 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 13:29:27,570 INFO L520 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location mainErr0ASSERT_VIOLATIONERROR_FUNCTION is inductive. [2024-09-20 13:29:27,597 INFO L314 BlockEncoder]: Initial Icfg 13 locations, 16 edges [2024-09-20 13:29:27,597 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 13:29:27,598 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 13:29:27,598 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 13:29:27,598 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 13:29:27,598 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,633 INFO L101 BaseMinimizeStates]: Removed 30 edges and 11 locations by large block encoding [2024-09-20 13:29:27,634 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,634 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 13:29:27,634 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 13:29:27,635 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 13:29:27,645 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 13:29:27,650 INFO L520 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location multiple_ofErr0ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-20 13:29:27,671 INFO L314 BlockEncoder]: Initial Icfg 10 locations, 12 edges [2024-09-20 13:29:27,675 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 13:29:27,675 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 13:29:27,675 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 13:29:27,676 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 13:29:27,676 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,695 INFO L101 BaseMinimizeStates]: Removed 22 edges and 8 locations by large block encoding [2024-09-20 13:29:27,696 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,696 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 13:29:27,696 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 13:29:27,697 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 13:29:27,700 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 13:29:27,741 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 4 edges [2024-09-20 13:29:27,743 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 13:29:27,743 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 13:29:27,744 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 13:29:27,744 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 13:29:27,744 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,747 INFO L101 BaseMinimizeStates]: Removed 6 edges and 3 locations by large block encoding [2024-09-20 13:29:27,748 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 13:29:27,748 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 13:29:27,748 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 13:29:27,748 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 13:29:27,749 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 13:29:27,765 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-20 13:29:27,765 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2a318643 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 20.09 01:29:27, skipping insertion in model container [2024-09-20 13:29:27,765 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-20 13:29:27,767 INFO L158 Benchmark]: Toolchain (without parser) took 1205.99ms. Allocated memory was 125.8MB in the beginning and 186.6MB in the end (delta: 60.8MB). Free memory was 55.3MB in the beginning and 154.5MB in the end (delta: -99.2MB). Peak memory consumption was 27.7MB. Max. memory is 16.1GB. [2024-09-20 13:29:27,768 INFO L158 Benchmark]: CDTParser took 0.22ms. Allocated memory is still 125.8MB. Free memory is still 77.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-20 13:29:27,768 INFO L158 Benchmark]: Witness Parser took 0.12ms. Allocated memory is still 125.8MB. Free memory is still 57.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-20 13:29:27,770 INFO L158 Benchmark]: CACSL2BoogieTranslator took 328.54ms. Allocated memory was 125.8MB in the beginning and 186.6MB in the end (delta: 60.8MB). Free memory was 55.1MB in the beginning and 147.9MB in the end (delta: -92.8MB). Peak memory consumption was 8.3MB. Max. memory is 16.1GB. [2024-09-20 13:29:27,771 INFO L158 Benchmark]: Boogie Preprocessor took 68.55ms. Allocated memory is still 186.6MB. Free memory was 147.9MB in the beginning and 145.9MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-20 13:29:27,772 INFO L158 Benchmark]: RCFGBuilder took 449.32ms. Allocated memory is still 186.6MB. Free memory was 145.9MB in the beginning and 128.4MB in the end (delta: 17.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-09-20 13:29:27,772 INFO L158 Benchmark]: Referee took 355.37ms. Allocated memory is still 186.6MB. Free memory was 128.4MB in the beginning and 154.5MB in the end (delta: -26.1MB). Peak memory consumption was 38.3MB. Max. memory is 16.1GB. [2024-09-20 13:29:27,775 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 mult to exit of procedure mult. One counterexample starts in \old(m)=2, \old(n)=3 and ends in \old(m)=2, \old(n)=3, \result=2, m=2, n=3. Annotation is not valid for all loop-free paths from entry of procedure is_prime to exit of procedure is_prime. One counterexample starts in \old(n)=3 and ends in \old(n)=3, \result=-1, n=3. Annotation is valid for all loop-free paths from entry of procedure main to check that a call to reach_error is unreachable at line 98. Annotation is valid for all loop-free paths from entry of procedure multiple_of to exit of procedure multiple_of. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.22ms. Allocated memory is still 125.8MB. Free memory is still 77.7MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.12ms. Allocated memory is still 125.8MB. Free memory is still 57.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 328.54ms. Allocated memory was 125.8MB in the beginning and 186.6MB in the end (delta: 60.8MB). Free memory was 55.1MB in the beginning and 147.9MB in the end (delta: -92.8MB). Peak memory consumption was 8.3MB. Max. memory is 16.1GB. * Boogie Preprocessor took 68.55ms. Allocated memory is still 186.6MB. Free memory was 147.9MB in the beginning and 145.9MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 449.32ms. Allocated memory is still 186.6MB. Free memory was 145.9MB in the beginning and 128.4MB in the end (delta: 17.5MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Referee took 355.37ms. Allocated memory is still 186.6MB. Free memory was 128.4MB in the beginning and 154.5MB in the end (delta: -26.1MB). Peak memory consumption was 38.3MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-09-20 13:29:27,815 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