./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/recursive-simple/sum_20x0-2.c --full-output --witness-type correctness_witness --validate ../results/automizer-verification-files/SV-COMP24_unreach-call/sum_20x0-2.yml/witness-2.1.yml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version a9b967e5 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-simple/sum_20x0-2.c ../results/automizer-verification-files/SV-COMP24_unreach-call/sum_20x0-2.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-dev-a9b967e-m [2024-09-11 20:54:37,168 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-11 20:54:37,263 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-11 20:54:37,267 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-11 20:54:37,268 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-11 20:54:37,295 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-11 20:54:37,295 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-11 20:54:37,296 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-11 20:54:37,296 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-11 20:54:37,296 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-11 20:54:37,297 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-11 20:54:37,298 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-11 20:54:37,299 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-11 20:54:37,303 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-11 20:54:37,303 INFO L153 SettingsManager]: * Use SBE=true [2024-09-11 20:54:37,303 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-11 20:54:37,304 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-11 20:54:37,304 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-11 20:54:37,304 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-11 20:54:37,304 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-11 20:54:37,305 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-11 20:54:37,305 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-11 20:54:37,306 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-11 20:54:37,307 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-11 20:54:37,307 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-11 20:54:37,307 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-11 20:54:37,307 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-11 20:54:37,308 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-11 20:54:37,308 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-11 20:54:37,308 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-11 20:54:37,309 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-11 20:54:37,309 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-11 20:54:37,309 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:54:37,310 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-11 20:54:37,310 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-11 20:54:37,311 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-11 20:54:37,311 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-11 20:54:37,311 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-11 20:54:37,312 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-11 20:54:37,312 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-11 20:54:37,312 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-11 20:54:37,312 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-11 20:54:37,313 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-11 20:54:37,564 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-11 20:54:37,589 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-11 20:54:37,593 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-11 20:54:37,594 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-11 20:54:37,595 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-11 20:54:37,596 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/sum_20x0-2.yml/witness-2.1.yml [2024-09-11 20:54:37,650 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-11 20:54:37,651 INFO L274 PluginConnector]: CDTParser initialized [2024-09-11 20:54:37,651 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/recursive-simple/sum_20x0-2.c [2024-09-11 20:54:39,119 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-11 20:54:39,297 INFO L384 CDTParser]: Found 1 translation units. [2024-09-11 20:54:39,298 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/recursive-simple/sum_20x0-2.c [2024-09-11 20:54:39,305 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/d581f7013/4f1496c09d744b43a901de5f81ca92a5/FLAG401aa53b2 [2024-09-11 20:54:39,317 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/d581f7013/4f1496c09d744b43a901de5f81ca92a5 [2024-09-11 20:54:39,317 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-11 20:54:39,318 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-11 20:54:39,321 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-11 20:54:39,321 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-11 20:54:39,326 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-11 20:54:39,327 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:37" (1/2) ... [2024-09-11 20:54:39,328 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@195d4980 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:54:39, skipping insertion in model container [2024-09-11 20:54:39,330 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:37" (1/2) ... [2024-09-11 20:54:39,331 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4b30de97 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:54:39, skipping insertion in model container [2024-09-11 20:54:39,332 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:54:39" (2/2) ... [2024-09-11 20:54:39,332 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@195d4980 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39, skipping insertion in model container [2024-09-11 20:54:39,332 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:54:39" (2/2) ... [2024-09-11 20:54:39,341 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-11 20:54:39,341 INFO L1541 ArrayList]: Function contract at [L5]: requires null, ensures (((((((((((((((((((((((\old(n) <= 10) && (\result <= (\old(n) + \old(m)))) && (\result == ((long long) \old(m) + 10))) || (((\old(n) <= 9) && (\result == (9 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\result == (16 + \old(m))) && (\old(n) <= 16)) && (\result <= (\old(n) + \old(m))))) || (((\result == (2 + \old(m))) && (\old(n) <= 2)) && (\result <= (\old(n) + \old(m))))) || (((\result == (5 + \old(m))) && (\old(n) <= 5)) && (\result <= (\old(n) + \old(m))))) || (((\result == (3 + \old(m))) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 3))) || (((\old(n) <= 4) && (\result <= (\old(n) + \old(m)))) && (\result == ((long long) \old(m) + 4)))) || (((\result == ((long long) \old(m) + 13)) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 13))) || (((\old(n) <= 19) && (\result <= (\old(n) + \old(m)))) && ((19 + \old(m)) == \result))) || (((\result == (15 + \old(m))) && (\old(n) <= 15)) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 11) && (\result == ((long long) \old(m) + 11))) && (\result <= (\old(n) + \old(m))))) || ((\result <= \old(m)) && ((\old(n) + \old(m)) <= \result))) || ((\result <= (\old(n) + \old(m))) && ((20 + \old(m)) <= \result))) || (((\old(n) <= 8) && (\result <= (\old(n) + \old(m)))) && (\result == (8 + \old(m))))) || (((\old(n) <= 18) && (\result == (18 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || ((\result == ((long long) \old(m) + 1)) && (\old(n) == 1))) || (((\result == ((long long) \old(m) + 17)) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 17))) || (((\old(n) <= 7) && (\result == (7 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 6) && (\result == (6 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 12) && (\result == (12 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 14) && (\result <= (\old(n) + \old(m)))) && (\result == (14 + \old(m))))) [2024-09-11 20:54:39,358 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-11 20:54:39,520 WARN L247 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-simple/sum_20x0-2.c[481,494] [2024-09-11 20:54:39,525 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:54:39,538 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global [2024-09-11 20:54:39,590 WARN L247 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-simple/sum_20x0-2.c[481,494] [2024-09-11 20:54:39,590 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:54:39,605 INFO L204 MainTranslator]: Completed translation [2024-09-11 20:54:39,607 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39 WrapperNode [2024-09-11 20:54:39,608 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-11 20:54:39,609 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-11 20:54:39,609 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-11 20:54:39,609 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-11 20:54:39,622 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,622 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,628 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,636 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure sum is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-11 20:54:39,637 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,637 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,642 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,643 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,644 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,645 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,647 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-11 20:54:39,648 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-11 20:54:39,648 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-11 20:54:39,648 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-11 20:54:39,649 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (1/1) ... [2024-09-11 20:54:39,654 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:54:39,664 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-11 20:54:39,678 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-11 20:54:39,681 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-11 20:54:39,725 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-11 20:54:39,725 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-11 20:54:39,725 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-11 20:54:39,725 INFO L138 BoogieDeclarations]: Found implementation of procedure sum [2024-09-11 20:54:39,725 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-11 20:54:39,725 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure sum [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-11 20:54:39,726 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-09-11 20:54:39,727 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-11 20:54:39,727 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-09-11 20:54:39,727 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-09-11 20:54:39,727 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-11 20:54:39,782 INFO L242 CfgBuilder]: Building ICFG [2024-09-11 20:54:39,784 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-11 20:54:40,002 INFO L? ?]: Removed 12 outVars from TransFormulas that were not future-live. [2024-09-11 20:54:40,002 INFO L291 CfgBuilder]: Performing block encoding [2024-09-11 20:54:40,028 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-11 20:54:40,029 INFO L318 CfgBuilder]: Removed 0 assume(true) statements. [2024-09-11 20:54:40,029 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:54:40 BoogieIcfgContainer [2024-09-11 20:54:40,029 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-11 20:54:40,030 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-11 20:54:40,030 INFO L270 PluginConnector]: Initializing Referee... [2024-09-11 20:54:40,031 INFO L274 PluginConnector]: Referee initialized [2024-09-11 20:54:40,031 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:37" (1/4) ... [2024-09-11 20:54:40,032 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@141bc8b6 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 11.09 08:54:40, skipping insertion in model container [2024-09-11 20:54:40,032 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 11.09 08:54:39" (2/4) ... [2024-09-11 20:54:40,032 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@141bc8b6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:54:40, skipping insertion in model container [2024-09-11 20:54:40,033 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:39" (3/4) ... [2024-09-11 20:54:40,033 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@141bc8b6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:54:40, skipping insertion in model container [2024-09-11 20:54:40,033 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:54:40" (4/4) ... [2024-09-11 20:54:40,034 INFO L79 RefereeObserver]: Analyzing ICFG sum_20x0-2.c [2024-09-11 20:54:40,037 INFO L112 InvariantChecker]: Found 0 loops. [2024-09-11 20:54:40,038 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC mainErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 5 edges. [2024-09-11 20:54:40,038 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC sumErr0ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 6 edges. [2024-09-11 20:54:40,038 INFO L130 InvariantChecker]: Will check 2 loop-free subgraphs from procedure entry to error location [2024-09-11 20:54:40,078 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 5 edges [2024-09-11 20:54:40,079 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:54:40,080 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:54:40,080 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:54:40,082 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:54:40,087 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:40,123 INFO L101 BaseMinimizeStates]: Removed 8 edges and 4 locations by large block encoding [2024-09-11 20:54:40,124 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:40,124 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:54:40,125 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:54:40,125 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:54:40,125 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:54:40,143 INFO L514 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location mainErr0ASSERT_VIOLATIONERROR_FUNCTION is inductive. [2024-09-11 20:54:40,165 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 6 edges [2024-09-11 20:54:40,165 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:54:40,166 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:54:40,166 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:54:40,166 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:54:40,166 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:40,237 INFO L101 BaseMinimizeStates]: Removed 10 edges and 4 locations by large block encoding [2024-09-11 20:54:40,238 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:40,238 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:54:40,239 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:54:40,239 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:54:40,259 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:54:40,270 INFO L514 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location sumErr0ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-11 20:54:40,274 INFO L58 RefereeStarter]: Annotation is a valid proof of correctness [2024-09-11 20:54:40,274 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@141bc8b6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 11.09 08:54:40, skipping insertion in model container [2024-09-11 20:54:40,274 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-11 20:54:40,277 INFO L158 Benchmark]: Toolchain (without parser) took 957.05ms. Allocated memory was 159.4MB in the beginning and 205.5MB in the end (delta: 46.1MB). Free memory was 101.4MB in the beginning and 169.8MB in the end (delta: -68.4MB). Peak memory consumption was 66.4MB. Max. memory is 16.1GB. [2024-09-11 20:54:40,278 INFO L158 Benchmark]: Witness Parser took 0.38ms. Allocated memory is still 159.4MB. Free memory is still 121.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:54:40,278 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 159.4MB. Free memory was 119.7MB in the beginning and 119.5MB in the end (delta: 139.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:54:40,279 INFO L158 Benchmark]: CACSL2BoogieTranslator took 286.96ms. Allocated memory is still 159.4MB. Free memory was 101.4MB in the beginning and 87.3MB in the end (delta: 14.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-11 20:54:40,280 INFO L158 Benchmark]: Boogie Preprocessor took 38.61ms. Allocated memory is still 159.4MB. Free memory was 87.3MB in the beginning and 85.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-11 20:54:40,282 INFO L158 Benchmark]: RCFGBuilder took 381.51ms. Allocated memory is still 159.4MB. Free memory was 85.2MB in the beginning and 66.3MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-09-11 20:54:40,282 INFO L158 Benchmark]: Referee took 244.53ms. Allocated memory was 159.4MB in the beginning and 205.5MB in the end (delta: 46.1MB). Free memory was 66.3MB in the beginning and 170.8MB in the end (delta: -104.5MB). Peak memory consumption was 32.8MB. Max. memory is 16.1GB. [2024-09-11 20:54:40,285 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.referee: - AnnotationCheckResult: Annotation is a valid proof of correctness Annotation is a valid proof of correctness 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 18. Annotation is valid for all loop-free paths from entry of procedure sum to exit of procedure sum. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.38ms. Allocated memory is still 159.4MB. Free memory is still 121.6MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.18ms. Allocated memory is still 159.4MB. Free memory was 119.7MB in the beginning and 119.5MB in the end (delta: 139.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 286.96ms. Allocated memory is still 159.4MB. Free memory was 101.4MB in the beginning and 87.3MB in the end (delta: 14.1MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.61ms. Allocated memory is still 159.4MB. Free memory was 87.3MB in the beginning and 85.2MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 381.51ms. Allocated memory is still 159.4MB. Free memory was 85.2MB in the beginning and 66.3MB in the end (delta: 18.9MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Referee took 244.53ms. Allocated memory was 159.4MB in the beginning and 205.5MB in the end (delta: 46.1MB). Free memory was 66.3MB in the beginning and 170.8MB in the end (delta: -104.5MB). Peak memory consumption was 32.8MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-09-11 20:54:40,317 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 Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### 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-simple/sum_20x0-2.c ../results/automizer-verification-files/SV-COMP24_unreach-call/sum_20x0-2.yml/witness-2.1.yml -s /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Bitvector.epf --cacsl2boogietranslator.entry.function main --traceabstraction.positions.where.we.compute.the.hoare.annotation None --- Real Ultimate output --- This is Ultimate 0.2.4-dev-a9b967e-m [2024-09-11 20:54:42,488 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-11 20:54:42,554 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Bitvector.epf [2024-09-11 20:54:42,558 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-11 20:54:42,559 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-11 20:54:42,593 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-11 20:54:42,595 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-11 20:54:42,596 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-11 20:54:42,596 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-11 20:54:42,597 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-11 20:54:42,597 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-11 20:54:42,598 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-11 20:54:42,598 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-11 20:54:42,602 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-11 20:54:42,602 INFO L153 SettingsManager]: * Use SBE=true [2024-09-11 20:54:42,603 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-11 20:54:42,603 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-11 20:54:42,603 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-11 20:54:42,603 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-11 20:54:42,604 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-11 20:54:42,604 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-11 20:54:42,605 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-11 20:54:42,606 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-11 20:54:42,607 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-09-11 20:54:42,608 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-09-11 20:54:42,608 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-11 20:54:42,608 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-09-11 20:54:42,609 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-11 20:54:42,609 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-11 20:54:42,609 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-11 20:54:42,610 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-11 20:54:42,610 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-11 20:54:42,610 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-11 20:54:42,611 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-11 20:54:42,611 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:54:42,611 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-11 20:54:42,612 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-11 20:54:42,617 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-11 20:54:42,618 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-09-11 20:54:42,618 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-09-11 20:54:42,618 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-11 20:54:42,620 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-11 20:54:42,620 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-11 20:54:42,620 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-11 20:54:42,620 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-09-11 20:54:42,621 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-11 20:54:42,905 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-11 20:54:42,922 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-11 20:54:42,925 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-11 20:54:42,926 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-11 20:54:42,928 INFO L274 PluginConnector]: CDTParser initialized [2024-09-11 20:54:42,929 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/recursive-simple/sum_20x0-2.c [2024-09-11 20:54:44,471 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-11 20:54:44,661 INFO L384 CDTParser]: Found 1 translation units. [2024-09-11 20:54:44,662 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/recursive-simple/sum_20x0-2.c [2024-09-11 20:54:44,670 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/1588b65cd/cc6cd41ab6284ca3ab3bc1e2e478f89f/FLAG70b007341 [2024-09-11 20:54:44,683 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/1588b65cd/cc6cd41ab6284ca3ab3bc1e2e478f89f [2024-09-11 20:54:44,685 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-11 20:54:44,686 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-11 20:54:44,688 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/sum_20x0-2.yml/witness-2.1.yml [2024-09-11 20:54:44,740 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-11 20:54:44,741 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-11 20:54:44,742 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-11 20:54:44,742 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-11 20:54:44,747 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-11 20:54:44,747 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:54:44" (1/2) ... [2024-09-11 20:54:44,750 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@14a604f4 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:44, skipping insertion in model container [2024-09-11 20:54:44,752 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:54:44" (1/2) ... [2024-09-11 20:54:44,754 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5156e2eb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:54:44, skipping insertion in model container [2024-09-11 20:54:44,754 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:44" (2/2) ... [2024-09-11 20:54:44,754 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@14a604f4 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:54:44, skipping insertion in model container [2024-09-11 20:54:44,754 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:44" (2/2) ... [2024-09-11 20:54:44,759 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-11 20:54:44,761 INFO L1541 ArrayList]: Function contract at [L5]: requires null, ensures (((((((((((((((((((((((\old(n) <= 10) && (\result <= (\old(n) + \old(m)))) && (\result == ((long long) \old(m) + 10))) || (((\old(n) <= 9) && (\result == (9 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\result == (16 + \old(m))) && (\old(n) <= 16)) && (\result <= (\old(n) + \old(m))))) || (((\result == (2 + \old(m))) && (\old(n) <= 2)) && (\result <= (\old(n) + \old(m))))) || (((\result == (5 + \old(m))) && (\old(n) <= 5)) && (\result <= (\old(n) + \old(m))))) || (((\result == (3 + \old(m))) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 3))) || (((\old(n) <= 4) && (\result <= (\old(n) + \old(m)))) && (\result == ((long long) \old(m) + 4)))) || (((\result == ((long long) \old(m) + 13)) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 13))) || (((\old(n) <= 19) && (\result <= (\old(n) + \old(m)))) && ((19 + \old(m)) == \result))) || (((\result == (15 + \old(m))) && (\old(n) <= 15)) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 11) && (\result == ((long long) \old(m) + 11))) && (\result <= (\old(n) + \old(m))))) || ((\result <= \old(m)) && ((\old(n) + \old(m)) <= \result))) || ((\result <= (\old(n) + \old(m))) && ((20 + \old(m)) <= \result))) || (((\old(n) <= 8) && (\result <= (\old(n) + \old(m)))) && (\result == (8 + \old(m))))) || (((\old(n) <= 18) && (\result == (18 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || ((\result == ((long long) \old(m) + 1)) && (\old(n) == 1))) || (((\result == ((long long) \old(m) + 17)) && (\result <= (\old(n) + \old(m)))) && (\old(n) <= 17))) || (((\old(n) <= 7) && (\result == (7 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 6) && (\result == (6 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 12) && (\result == (12 + \old(m)))) && (\result <= (\old(n) + \old(m))))) || (((\old(n) <= 14) && (\result <= (\old(n) + \old(m)))) && (\result == (14 + \old(m))))) [2024-09-11 20:54:44,776 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-11 20:54:44,944 WARN L247 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-simple/sum_20x0-2.c[481,494] [2024-09-11 20:54:44,950 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:54:44,972 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global [2024-09-11 20:54:45,045 WARN L247 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-simple/sum_20x0-2.c[481,494] [2024-09-11 20:54:45,046 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:54:45,062 INFO L204 MainTranslator]: Completed translation [2024-09-11 20:54:45,063 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:54:45 WrapperNode [2024-09-11 20:54:45,063 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-11 20:54:45,064 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-11 20:54:45,064 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-11 20:54:45,065 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-11 20:54:45,076 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,076 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,089 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,102 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure sum is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-11 20:54:45,103 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,103 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,115 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,119 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,121 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,123 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,125 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-11 20:54:45,127 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-11 20:54:45,127 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-11 20:54:45,128 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-11 20:54:45,128 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 11.09 08:54:45" (1/1) ... [2024-09-11 20:54:45,134 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:54:45,141 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-11 20:54:45,189 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-11 20:54:45,192 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-11 20:54:45,238 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-11 20:54:45,239 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-11 20:54:45,239 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-11 20:54:45,240 INFO L138 BoogieDeclarations]: Found implementation of procedure sum [2024-09-11 20:54:45,240 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-11 20:54:45,240 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure sum [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-11 20:54:45,241 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-09-11 20:54:45,242 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-11 20:54:45,242 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE1 [2024-09-11 20:54:45,242 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE1 [2024-09-11 20:54:45,242 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-11 20:54:45,316 INFO L242 CfgBuilder]: Building ICFG [2024-09-11 20:54:45,318 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-11 20:54:45,666 INFO L? ?]: Removed 12 outVars from TransFormulas that were not future-live. [2024-09-11 20:54:45,670 INFO L291 CfgBuilder]: Performing block encoding [2024-09-11 20:54:45,692 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-11 20:54:45,692 INFO L318 CfgBuilder]: Removed 0 assume(true) statements. [2024-09-11 20:54:45,693 INFO L201 PluginConnector]: Adding new model witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:54:45 BoogieIcfgContainer [2024-09-11 20:54:45,693 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-11 20:54:45,695 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-11 20:54:45,695 INFO L270 PluginConnector]: Initializing Referee... [2024-09-11 20:54:45,696 INFO L274 PluginConnector]: Referee initialized [2024-09-11 20:54:45,696 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 11.09 08:54:44" (1/4) ... [2024-09-11 20:54:45,697 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@6f73f3dc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:54:45, skipping insertion in model container [2024-09-11 20:54:45,697 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 11.09 08:54:44" (2/4) ... [2024-09-11 20:54:45,698 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@6f73f3dc and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 11.09 08:54:45, skipping insertion in model container [2024-09-11 20:54:45,698 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 11.09 08:54:45" (3/4) ... [2024-09-11 20:54:45,699 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@6f73f3dc and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 11.09 08:54:45, skipping insertion in model container [2024-09-11 20:54:45,699 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:54:45" (4/4) ... [2024-09-11 20:54:45,700 INFO L79 RefereeObserver]: Analyzing ICFG sum_20x0-2.c [2024-09-11 20:54:45,704 INFO L112 InvariantChecker]: Found 0 loops. [2024-09-11 20:54:45,704 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC mainErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 5 edges. [2024-09-11 20:54:45,705 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC sumErr0ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 6 edges. [2024-09-11 20:54:45,705 INFO L130 InvariantChecker]: Will check 2 loop-free subgraphs from procedure entry to error location [2024-09-11 20:54:45,771 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 5 edges [2024-09-11 20:54:45,772 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:54:45,773 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:54:45,774 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:54:45,775 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:54:45,777 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:45,825 INFO L101 BaseMinimizeStates]: Removed 8 edges and 4 locations by large block encoding [2024-09-11 20:54:45,826 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:45,826 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:54:45,826 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:54:45,830 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:54:45,830 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:54:45,847 INFO L514 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to error location mainErr0ASSERT_VIOLATIONERROR_FUNCTION is inductive. [2024-09-11 20:54:45,871 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 6 edges [2024-09-11 20:54:45,872 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:54:45,872 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:54:45,872 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:54:45,872 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:54:45,872 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:45,918 INFO L101 BaseMinimizeStates]: Removed 10 edges and 4 locations by large block encoding [2024-09-11 20:54:45,918 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:54:45,919 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:54:45,919 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:54:45,919 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:54:45,931 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:54:46,221 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-11 20:54:46,222 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@6f73f3dc and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 11.09 08:54:46, skipping insertion in model container [2024-09-11 20:54:46,222 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-11 20:54:46,224 INFO L158 Benchmark]: Toolchain (without parser) took 1481.96ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 32.7MB in the beginning and 54.1MB in the end (delta: -21.5MB). Peak memory consumption was 21.9MB. Max. memory is 16.1GB. [2024-09-11 20:54:46,224 INFO L158 Benchmark]: CDTParser took 0.12ms. Allocated memory is still 48.2MB. Free memory was 23.6MB in the beginning and 23.6MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:54:46,224 INFO L158 Benchmark]: Witness Parser took 0.20ms. Allocated memory is still 62.9MB. Free memory is still 34.6MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:54:46,225 INFO L158 Benchmark]: CACSL2BoogieTranslator took 321.48ms. Allocated memory is still 62.9MB. Free memory was 32.4MB in the beginning and 34.8MB in the end (delta: -2.4MB). Peak memory consumption was 6.7MB. Max. memory is 16.1GB. [2024-09-11 20:54:46,225 INFO L158 Benchmark]: Boogie Preprocessor took 62.42ms. Allocated memory is still 62.9MB. Free memory was 34.8MB in the beginning and 32.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-11 20:54:46,226 INFO L158 Benchmark]: RCFGBuilder took 566.61ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 32.7MB in the beginning and 48.9MB in the end (delta: -16.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-09-11 20:54:46,227 INFO L158 Benchmark]: Referee took 527.31ms. Allocated memory is still 83.9MB. Free memory was 48.9MB in the beginning and 54.1MB in the end (delta: -5.3MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. [2024-09-11 20:54:46,229 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 sum to exit of procedure sum. One counterexample starts in \old(m)=2147483627, \old(n)=18 and ends in \old(m)=2147483627, \old(n)=18, \result=0, m=0, n=0. 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 18. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.12ms. Allocated memory is still 48.2MB. Free memory was 23.6MB in the beginning and 23.6MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.20ms. Allocated memory is still 62.9MB. Free memory is still 34.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 321.48ms. Allocated memory is still 62.9MB. Free memory was 32.4MB in the beginning and 34.8MB in the end (delta: -2.4MB). Peak memory consumption was 6.7MB. Max. memory is 16.1GB. * Boogie Preprocessor took 62.42ms. Allocated memory is still 62.9MB. Free memory was 34.8MB in the beginning and 32.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 566.61ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 32.7MB in the beginning and 48.9MB in the end (delta: -16.2MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Referee took 527.31ms. Allocated memory is still 83.9MB. Free memory was 48.9MB in the beginning and 54.1MB in the end (delta: -5.3MB). Peak memory consumption was 17.4MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-09-11 20:54:46,260 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