./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/loops/invert_string-3.c --full-output --witness-type correctness_witness --validate ../results/automizer-verification-files/SV-COMP24_unreach-call/invert_string-3.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/loops/invert_string-3.c ../results/automizer-verification-files/SV-COMP24_unreach-call/invert_string-3.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:46:14,220 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-11 20:46:14,303 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-11 20:46:14,307 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-11 20:46:14,311 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-11 20:46:14,330 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-11 20:46:14,331 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-11 20:46:14,331 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-11 20:46:14,332 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-11 20:46:14,333 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-11 20:46:14,333 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-11 20:46:14,334 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-11 20:46:14,334 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-11 20:46:14,337 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-11 20:46:14,337 INFO L153 SettingsManager]: * Use SBE=true [2024-09-11 20:46:14,337 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-11 20:46:14,337 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-11 20:46:14,338 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-11 20:46:14,338 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-11 20:46:14,338 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-11 20:46:14,338 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-11 20:46:14,338 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-11 20:46:14,339 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-11 20:46:14,340 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-11 20:46:14,340 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-11 20:46:14,340 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-11 20:46:14,340 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-11 20:46:14,340 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:46:14,340 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-11 20:46:14,340 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-11 20:46:14,341 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-11 20:46:14,342 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-11 20:46:14,342 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:46:14,551 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-11 20:46:14,572 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-11 20:46:14,576 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-11 20:46:14,577 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-11 20:46:14,577 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-11 20:46:14,578 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/invert_string-3.yml/witness-2.1.yml [2024-09-11 20:46:14,631 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-11 20:46:14,635 INFO L274 PluginConnector]: CDTParser initialized [2024-09-11 20:46:14,636 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/loops/invert_string-3.c [2024-09-11 20:46:16,020 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-11 20:46:16,248 INFO L384 CDTParser]: Found 1 translation units. [2024-09-11 20:46:16,248 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loops/invert_string-3.c [2024-09-11 20:46:16,258 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/6cc40fc21/dd6aaf015b9b46dfb03b5c38d7a321df/FLAGf6140978c [2024-09-11 20:46:16,604 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/6cc40fc21/dd6aaf015b9b46dfb03b5c38d7a321df [2024-09-11 20:46:16,605 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-11 20:46:16,606 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-11 20:46:16,608 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-11 20:46:16,608 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-11 20:46:16,612 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-11 20:46:16,613 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:46:14" (1/2) ... [2024-09-11 20:46:16,614 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@18206dbd and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:46:16, skipping insertion in model container [2024-09-11 20:46:16,615 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:46:14" (1/2) ... [2024-09-11 20:46:16,616 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@7405af86 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:46:16, skipping insertion in model container [2024-09-11 20:46:16,620 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:46:16" (2/2) ... [2024-09-11 20:46:16,620 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@18206dbd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16, skipping insertion in model container [2024-09-11 20:46:16,620 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:46:16" (2/2) ... [2024-09-11 20:46:16,634 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-11 20:46:16,636 INFO L1541 ArrayList]: Loop invariant at [L18-L20] (((((((3 == i) && (5 == max)) || ((5 == max) && (i == 1))) || ((i == 4) && (5 == max))) || ((5 == i) && (5 == max))) || ((5 == max) && (2 == i))) || ((i == 0) && (5 == max))) [2024-09-11 20:46:16,639 INFO L1541 ArrayList]: Loop invariant at [L32-L35] ((((((((5 == max) && (i == 1)) && (3 == j)) || (((2 == j) && (5 == max)) && (2 == i))) || (((j == 4) && (i == 0)) && (5 == max))) || ((5 == i) && (5 == max))) || (((i == 4) && (5 == max)) && (j == 0))) || (((3 == i) && (5 == max)) && (j == 1))) [2024-09-11 20:46:16,639 INFO L1541 ArrayList]: Loop invariant at [L26-L29] ((((((((j == 4) && (i == 0)) && (5 == max)) || ((((long long) i + 1) == 0) && (5 == max))) || (((3 == i) && (5 == max)) && (j == 1))) || (((i == 4) && (5 == max)) && (j == 0))) || (((5 == max) && (i == 1)) && (3 == j))) || (((2 == j) && (5 == max)) && (2 == i))) [2024-09-11 20:46:16,670 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-11 20:46:16,854 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/loops/invert_string-3.c[327,340] [2024-09-11 20:46:16,878 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:46:16,884 INFO L200 MainTranslator]: Completed pre-run [2024-09-11 20:46:16,892 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/loops/invert_string-3.c[327,340] Start Parsing Local Start Parsing Local Start Parsing Local [2024-09-11 20:46:16,947 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:46:16,963 INFO L204 MainTranslator]: Completed translation [2024-09-11 20:46:16,963 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16 WrapperNode [2024-09-11 20:46:16,964 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-11 20:46:16,964 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-11 20:46:16,964 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-11 20:46:16,965 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-11 20:46:16,975 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:16,975 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:16,980 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:16,991 INFO L175 MemorySlicer]: Split 8 memory accesses to 3 slices as follows [2, 2, 4]. 50 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 3 writes are split as follows [0, 1, 2]. [2024-09-11 20:46:16,991 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:16,991 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:16,997 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:17,000 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:17,001 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:17,002 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:17,003 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-11 20:46:17,004 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-11 20:46:17,004 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-11 20:46:17,004 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-11 20:46:17,005 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (1/1) ... [2024-09-11 20:46:17,010 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:46:17,017 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-11 20:46:17,034 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:46:17,078 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:46:17,114 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-11 20:46:17,114 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-11 20:46:17,114 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-11 20:46:17,114 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-09-11 20:46:17,115 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-11 20:46:17,115 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-11 20:46:17,116 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-11 20:46:17,116 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_char [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-09-11 20:46:17,117 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-09-11 20:46:17,118 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-11 20:46:17,197 INFO L242 CfgBuilder]: Building ICFG [2024-09-11 20:46:17,199 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-11 20:46:17,361 INFO L? ?]: Removed 15 outVars from TransFormulas that were not future-live. [2024-09-11 20:46:17,362 INFO L291 CfgBuilder]: Performing block encoding [2024-09-11 20:46:17,387 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-11 20:46:17,387 INFO L318 CfgBuilder]: Removed 3 assume(true) statements. [2024-09-11 20:46:17,388 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:46:17 BoogieIcfgContainer [2024-09-11 20:46:17,388 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-11 20:46:17,388 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-11 20:46:17,388 INFO L270 PluginConnector]: Initializing Referee... [2024-09-11 20:46:17,389 INFO L274 PluginConnector]: Referee initialized [2024-09-11 20:46:17,389 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:46:14" (1/4) ... [2024-09-11 20:46:17,391 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@7fb5c023 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 11.09 08:46:17, skipping insertion in model container [2024-09-11 20:46:17,391 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 11.09 08:46:16" (2/4) ... [2024-09-11 20:46:17,391 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@7fb5c023 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:46:17, skipping insertion in model container [2024-09-11 20:46:17,392 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:46:16" (3/4) ... [2024-09-11 20:46:17,392 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@7fb5c023 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:46:17, skipping insertion in model container [2024-09-11 20:46:17,392 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:46:17" (4/4) ... [2024-09-11 20:46:17,393 INFO L79 RefereeObserver]: Analyzing ICFG invert_string-3.c [2024-09-11 20:46:17,396 INFO L112 InvariantChecker]: Found 3 loops. [2024-09-11 20:46:17,397 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L18-4 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-11 20:46:17,397 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 2 edges. [2024-09-11 20:46:17,397 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L18-4 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-11 20:46:17,397 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L26-4 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-11 20:46:17,397 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L26-4 to LOOP_INVARIANT_ERROR_LOC mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-11 20:46:17,398 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L32-4 to LOOP_INVARIANT_ERROR_LOC mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-11 20:46:17,398 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to ERROR_LOC __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 3 edges. [2024-09-11 20:46:17,398 INFO L130 InvariantChecker]: Will check 1 loop-free subgraphs from procedure entry to error location, 1 loop-free subgraphs from procedure entry to loop head, 5 loop-free subgraphs from loop head to loop head [2024-09-11 20:46:17,430 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:46:17,431 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,432 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,432 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,433 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,435 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,446 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:46:17,447 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,447 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,447 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,448 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,448 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,467 INFO L514 InvariantChecker]: The annotation(s) from loop head L18-4 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,478 INFO L314 BlockEncoder]: Initial Icfg 3 locations, 2 edges [2024-09-11 20:46:17,478 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,479 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,479 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,479 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,479 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,482 INFO L101 BaseMinimizeStates]: Removed 2 edges and 1 locations by large block encoding [2024-09-11 20:46:17,482 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,483 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,483 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,483 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,483 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,487 INFO L514 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,497 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-11 20:46:17,497 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,497 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,497 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,498 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,498 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,506 INFO L101 BaseMinimizeStates]: Removed 9 edges and 3 locations by large block encoding [2024-09-11 20:46:17,506 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,506 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,507 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,507 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,511 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,516 INFO L514 InvariantChecker]: The annotation(s) from loop head L18-4 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,530 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:46:17,533 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,533 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,533 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,533 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,534 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,544 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:46:17,548 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,548 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,549 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,549 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,549 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,551 INFO L514 InvariantChecker]: The annotation(s) from loop head L26-4 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,596 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-11 20:46:17,597 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,597 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,597 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,597 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,597 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,611 INFO L101 BaseMinimizeStates]: Removed 9 edges and 3 locations by large block encoding [2024-09-11 20:46:17,614 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,615 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,615 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,615 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,616 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,621 INFO L514 InvariantChecker]: The annotation(s) from loop head L26-4 to loop head mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,631 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 5 edges [2024-09-11 20:46:17,632 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,632 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,632 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,633 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,633 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,643 INFO L101 BaseMinimizeStates]: Removed 8 edges and 4 locations by large block encoding [2024-09-11 20:46:17,643 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,644 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,644 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,644 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,644 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,647 INFO L514 InvariantChecker]: The annotation(s) from loop head L32-4 to loop head mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:46:17,656 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:46:17,656 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:46:17,657 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:46:17,657 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:46:17,658 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:46:17,658 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,659 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:46:17,659 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:46:17,659 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:46:17,659 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:46:17,659 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:46:17,660 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:46:17,671 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-11 20:46:17,672 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@7fb5c023 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 11.09 08:46:17, skipping insertion in model container [2024-09-11 20:46:17,672 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-11 20:46:17,674 INFO L158 Benchmark]: Toolchain (without parser) took 1066.96ms. Allocated memory is still 222.3MB. Free memory was 149.9MB in the beginning and 178.9MB in the end (delta: -29.0MB). Peak memory consumption was 63.9MB. Max. memory is 16.1GB. [2024-09-11 20:46:17,675 INFO L158 Benchmark]: Witness Parser took 0.14ms. Allocated memory is still 119.5MB. Free memory is still 83.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:46:17,675 INFO L158 Benchmark]: CDTParser took 0.08ms. Allocated memory is still 222.3MB. Free memory is still 196.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:46:17,676 INFO L158 Benchmark]: CACSL2BoogieTranslator took 356.29ms. Allocated memory is still 222.3MB. Free memory was 149.9MB in the beginning and 136.2MB in the end (delta: 13.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-09-11 20:46:17,677 INFO L158 Benchmark]: Boogie Preprocessor took 39.13ms. Allocated memory is still 222.3MB. Free memory was 136.2MB in the beginning and 133.4MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-11 20:46:17,678 INFO L158 Benchmark]: RCFGBuilder took 383.67ms. Allocated memory is still 222.3MB. Free memory was 133.4MB in the beginning and 115.3MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-09-11 20:46:17,678 INFO L158 Benchmark]: Referee took 283.95ms. Allocated memory is still 222.3MB. Free memory was 115.3MB in the beginning and 178.9MB in the end (delta: -63.7MB). Peak memory consumption was 28.3MB. Max. memory is 16.1GB. [2024-09-11 20:46:17,682 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.referee: - AnnotationCheckResult: Annotation is not a valid proof of correctness. Annotation is not a valid proof of correctness. Annotation is not valid for all loop-free paths from entry of procedure __VERIFIER_assert to check that a call to reach_error is unreachable at line 7. One counterexample starts in \old(cond)=0 and ends in \old(cond)=0, cond=0. Annotation is valid for all loop-free paths from loop head at line 18 to loop head at line 26. Annotation is valid for all loop-free paths from entry of procedure main to loop head at line 18. Annotation is valid for all loop-free paths from loop head at line 26 to loop head at line 32. Annotation is valid for all loop-free paths from loop head at line 26 to loop head at line 26. Annotation is valid for all loop-free paths from loop head at line 32 to loop head at line 32. Annotation is valid for all loop-free paths from loop head at line 18 to loop head at line 18. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.14ms. Allocated memory is still 119.5MB. Free memory is still 83.1MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.08ms. Allocated memory is still 222.3MB. Free memory is still 196.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 356.29ms. Allocated memory is still 222.3MB. Free memory was 149.9MB in the beginning and 136.2MB in the end (delta: 13.7MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.13ms. Allocated memory is still 222.3MB. Free memory was 136.2MB in the beginning and 133.4MB in the end (delta: 2.8MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 383.67ms. Allocated memory is still 222.3MB. Free memory was 133.4MB in the beginning and 115.3MB in the end (delta: 18.2MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * Referee took 283.95ms. Allocated memory is still 222.3MB. Free memory was 115.3MB in the beginning and 178.9MB in the end (delta: -63.7MB). Peak memory consumption was 28.3MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-09-11 20:46:17,713 INFO L552 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with 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