./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 ca4ee3dd 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-tmp.dk.referee-eval-ca4ee3d-m [2024-09-20 20:08:25,277 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-20 20:08:25,330 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-20 20:08:25,333 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-20 20:08:25,334 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-20 20:08:25,357 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-20 20:08:25,358 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-20 20:08:25,358 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-20 20:08:25,359 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-20 20:08:25,362 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-20 20:08:25,362 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-20 20:08:25,362 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-20 20:08:25,363 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-20 20:08:25,363 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-20 20:08:25,363 INFO L153 SettingsManager]: * Use SBE=true [2024-09-20 20:08:25,363 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-20 20:08:25,364 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-20 20:08:25,364 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-20 20:08:25,364 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-20 20:08:25,365 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-20 20:08:25,365 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-20 20:08:25,366 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-20 20:08:25,366 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-20 20:08:25,366 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-20 20:08:25,366 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-20 20:08:25,367 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-20 20:08:25,367 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-20 20:08:25,367 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-20 20:08:25,367 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-20 20:08:25,367 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-20 20:08:25,368 INFO L153 SettingsManager]: * Future-live optimization=false [2024-09-20 20:08:25,368 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-20 20:08:25,368 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-20 20:08:25,368 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-20 20:08:25,369 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-20 20:08:25,369 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-20 20:08:25,369 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-20 20:08:25,370 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-20 20:08:25,370 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-20 20:08:25,370 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-20 20:08:25,370 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-20 20:08:25,371 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-20 20:08:25,371 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-20 20:08:25,371 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/certificate-witnesses-artifact/referee/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Positions where we compute the Hoare Annotation -> None [2024-09-20 20:08:25,578 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-20 20:08:25,601 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-20 20:08:25,607 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-20 20:08:25,608 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-20 20:08:25,609 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-20 20:08:25,610 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-20 20:08:25,689 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-20 20:08:25,689 INFO L274 PluginConnector]: CDTParser initialized [2024-09-20 20:08:25,691 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-20 20:08:26,910 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-20 20:08:27,065 INFO L384 CDTParser]: Found 1 translation units. [2024-09-20 20:08:27,065 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loops/invert_string-3.c [2024-09-20 20:08:27,071 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/c5b2cdb30/1eb304f2c86f4bbf85b087e77e0d6f6e/FLAG76d14fbc1 [2024-09-20 20:08:27,487 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/c5b2cdb30/1eb304f2c86f4bbf85b087e77e0d6f6e [2024-09-20 20:08:27,487 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-20 20:08:27,488 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-20 20:08:27,489 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-20 20:08:27,491 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-20 20:08:27,495 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-20 20:08:27,495 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 08:08:25" (1/2) ... [2024-09-20 20:08:27,500 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3045f182 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.09 08:08:27, skipping insertion in model container [2024-09-20 20:08:27,500 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 08:08:25" (1/2) ... [2024-09-20 20:08:27,501 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@66a4ba57 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 20.09 08:08:27, skipping insertion in model container [2024-09-20 20:08:27,502 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.09 08:08:27" (2/2) ... [2024-09-20 20:08:27,502 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3045f182 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27, skipping insertion in model container [2024-09-20 20:08:27,502 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.09 08:08:27" (2/2) ... [2024-09-20 20:08:27,508 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-20 20:08:27,509 INFO L1541 ArrayList]: Loop invariant at [L26-L29] ((((((((j == 0) && (5 == max)) && (i == 4)) || (((j == 3) && (i == 1)) && (5 == max))) || ((5 == max) && (((long long) i + 1) == 0))) || (((i == 3) && (j == 1)) && (5 == max))) || (((j == 4) && (5 == max)) && (i == 0))) || (((j == 2) && (i == 2)) && (5 == max))) [2024-09-20 20:08:27,512 INFO L1541 ArrayList]: Loop invariant at [L32-L35] ((((((((j == 0) && (5 == max)) && (i == 4)) || (((j == 4) && (5 == max)) && (i == 0))) || (((j == 3) && (i == 1)) && (5 == max))) || (((i == 3) && (j == 1)) && (5 == max))) || ((5 == max) && (5 == i))) || (((j == 2) && (i == 2)) && (5 == max))) [2024-09-20 20:08:27,512 INFO L1541 ArrayList]: Loop invariant at [L18-L20] (((((((i == 2) && (5 == max)) || ((i == 1) && (5 == max))) || ((i == 3) && (5 == max))) || ((5 == max) && (i == 0))) || ((5 == max) && (5 == i))) || ((5 == max) && (i == 4))) [2024-09-20 20:08:27,512 INFO L1541 ArrayList]: Function contract at [L5]: requires (1 <= \old(cond)), ensures (1 <= \old(cond)) [2024-09-20 20:08:27,526 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-20 20:08:27,692 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loops/invert_string-3.c[327,340] [2024-09-20 20:08:27,744 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-20 20:08:27,751 INFO L200 MainTranslator]: Completed pre-run Start Parsing Global Start Parsing Global [2024-09-20 20:08:27,780 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loops/invert_string-3.c[327,340] Start Parsing Local Start Parsing Local Start Parsing Local [2024-09-20 20:08:27,795 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-20 20:08:27,807 INFO L204 MainTranslator]: Completed translation [2024-09-20 20:08:27,808 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27 WrapperNode [2024-09-20 20:08:27,808 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-20 20:08:27,809 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-20 20:08:27,809 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-20 20:08:27,809 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-20 20:08:27,819 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,819 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,827 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,835 WARN L109 MemorySlicer]: Omit memory slicing because it failed with the following exception: Unsupported: Procedure __VERIFIER_assert is not part of the Ultimate memory model but has specification other that is not a ModifiesSpecification [2024-09-20 20:08:27,836 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,836 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,841 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,843 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,844 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,845 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,847 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-20 20:08:27,848 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-20 20:08:27,848 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-20 20:08:27,848 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-20 20:08:27,849 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (1/1) ... [2024-09-20 20:08:27,853 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-20 20:08:27,860 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-20 20:08:27,873 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-09-20 20:08:27,878 INFO L327 MonitoredProcess]: [MP /storage/repos/certificate-witnesses-artifact/referee/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-09-20 20:08:27,911 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-20 20:08:27,911 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-20 20:08:27,911 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-20 20:08:27,911 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-09-20 20:08:27,911 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-20 20:08:27,911 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_char [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-20 20:08:27,912 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-09-20 20:08:27,913 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-20 20:08:27,965 INFO L242 CfgBuilder]: Building ICFG [2024-09-20 20:08:27,967 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-20 20:08:28,119 WARN L783 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2024-09-20 20:08:28,133 INFO L291 CfgBuilder]: Performing block encoding [2024-09-20 20:08:28,166 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-20 20:08:28,167 INFO L318 CfgBuilder]: Removed 3 assume(true) statements. [2024-09-20 20:08:28,167 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.09 08:08:28 BoogieIcfgContainer [2024-09-20 20:08:28,167 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-20 20:08:28,168 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-20 20:08:28,168 INFO L270 PluginConnector]: Initializing Referee... [2024-09-20 20:08:28,168 INFO L274 PluginConnector]: Referee initialized [2024-09-20 20:08:28,168 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "witness-2.1.yml de.uni_freiburg.informatik.ultimate.witnessparser CORRECTNESS_WITNESS 20.09 08:08:25" (1/4) ... [2024-09-20 20:08:28,169 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2f5b8551 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 20.09 08:08:28, skipping insertion in model container [2024-09-20 20:08:28,169 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 20.09 08:08:27" (2/4) ... [2024-09-20 20:08:28,169 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2f5b8551 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 20.09 08:08:28, skipping insertion in model container [2024-09-20 20:08:28,169 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.09 08:08:27" (3/4) ... [2024-09-20 20:08:28,170 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2f5b8551 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 20.09 08:08:28, skipping insertion in model container [2024-09-20 20:08:28,170 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.09 08:08:28" (4/4) ... [2024-09-20 20:08:28,171 INFO L79 RefereeObserver]: Analyzing ICFG invert_string-3.c [2024-09-20 20:08:28,173 INFO L113 InvariantChecker]: Found 3 loops. [2024-09-20 20:08:28,174 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L18-4 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-20 20:08:28,174 INFO L373 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 2 edges. [2024-09-20 20:08:28,174 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L18-4 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-20 20:08:28,175 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L26-4 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-20 20:08:28,175 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L26-4 to LOOP_INVARIANT_ERROR_LOC mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-20 20:08:28,175 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L32-4 to LOOP_INVARIANT_ERROR_LOC mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-20 20:08:28,175 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION. Corresponding subgraph has 5 edges. [2024-09-20 20:08:28,176 INFO L373 InvariantChecker]: Will check inductivity from ENTRY __VERIFIER_assertENTRY to ERROR_LOC __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION. Corresponding subgraph has 3 edges. [2024-09-20 20:08:28,176 INFO L373 InvariantChecker]: Will check inductivity from LOOP_HEAD L32-4 to ERROR_LOC mainErr3REQUIRES_VIOLATIONPRE_CONDITION. Corresponding subgraph has 3 edges. [2024-09-20 20:08:28,176 INFO L131 InvariantChecker]: Will check 5 loop-free subgraphs from loop head to loop head, 1 loop-free subgraphs from procedure entry to loop head, 2 loop-free subgraphs from procedure entry to error location, 1 loop-free subgraphs from loop head to error location [2024-09-20 20:08:28,230 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-20 20:08:28,231 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,232 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,232 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,234 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,236 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,254 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-20 20:08:28,255 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,255 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,256 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,256 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,256 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,280 INFO L520 InvariantChecker]: The annotation(s) from loop head L18-4 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,298 INFO L314 BlockEncoder]: Initial Icfg 3 locations, 2 edges [2024-09-20 20:08:28,299 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,299 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,299 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,300 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,300 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,302 INFO L101 BaseMinimizeStates]: Removed 2 edges and 1 locations by large block encoding [2024-09-20 20:08:28,303 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,303 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,303 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,304 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,304 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,315 INFO L520 InvariantChecker]: The annotation(s) from entry $Ultimate##0 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,332 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-20 20:08:28,333 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,333 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,333 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,333 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,333 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,345 INFO L101 BaseMinimizeStates]: Removed 9 edges and 3 locations by large block encoding [2024-09-20 20:08:28,346 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,346 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,346 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,346 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,353 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,358 INFO L520 InvariantChecker]: The annotation(s) from loop head L18-4 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,370 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-20 20:08:28,371 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,371 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,371 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,371 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,371 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,377 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-20 20:08:28,377 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,377 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,377 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,377 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,377 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,380 INFO L520 InvariantChecker]: The annotation(s) from loop head L26-4 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,388 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-20 20:08:28,388 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,389 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,389 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,389 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,389 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,396 INFO L101 BaseMinimizeStates]: Removed 9 edges and 3 locations by large block encoding [2024-09-20 20:08:28,396 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,397 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,397 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,398 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,400 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,404 INFO L520 InvariantChecker]: The annotation(s) from loop head L26-4 to loop head mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,414 INFO L314 BlockEncoder]: Initial Icfg 6 locations, 5 edges [2024-09-20 20:08:28,414 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,415 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,415 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,415 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,415 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,428 INFO L101 BaseMinimizeStates]: Removed 8 edges and 4 locations by large block encoding [2024-09-20 20:08:28,428 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,428 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,428 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,428 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,428 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,431 INFO L520 InvariantChecker]: The annotation(s) from loop head L32-4 to loop head mainErr2ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-20 20:08:28,439 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-20 20:08:28,440 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,440 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,440 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,440 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,440 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,442 INFO L101 BaseMinimizeStates]: Removed 8 edges and 3 locations by large block encoding [2024-09-20 20:08:28,442 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,443 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,443 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,443 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,444 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,448 INFO L520 InvariantChecker]: The annotation(s) from entry __VERIFIER_assertENTRY to error location __VERIFIER_assertErr1ENSURES_VIOLATIONPOST_CONDITION is inductive. [2024-09-20 20:08:28,459 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-20 20:08:28,459 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,460 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,460 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,460 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,460 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,461 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-20 20:08:28,461 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,461 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,461 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,461 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,462 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,463 INFO L520 InvariantChecker]: The annotation(s) from entry __VERIFIER_assertENTRY to error location __VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION is inductive. [2024-09-20 20:08:28,470 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-20 20:08:28,470 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-20 20:08:28,470 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-20 20:08:28,470 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-20 20:08:28,470 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-20 20:08:28,471 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,474 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-20 20:08:28,474 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-20 20:08:28,474 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-20 20:08:28,474 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-20 20:08:28,474 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-20 20:08:28,474 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-20 20:08:28,494 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-20 20:08:28,494 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@2f5b8551 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 20.09 08:08:28, skipping insertion in model container [2024-09-20 20:08:28,494 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-20 20:08:28,496 INFO L158 Benchmark]: Toolchain (without parser) took 1006.99ms. Allocated memory was 151.0MB in the beginning and 232.8MB in the end (delta: 81.8MB). Free memory was 75.8MB in the beginning and 141.3MB in the end (delta: -65.5MB). Peak memory consumption was 17.5MB. Max. memory is 16.1GB. [2024-09-20 20:08:28,496 INFO L158 Benchmark]: Witness Parser took 0.16ms. Allocated memory is still 151.0MB. Free memory is still 102.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-20 20:08:28,496 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 151.0MB. Free memory is still 121.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-20 20:08:28,497 INFO L158 Benchmark]: CACSL2BoogieTranslator took 319.44ms. Allocated memory was 151.0MB in the beginning and 232.8MB in the end (delta: 81.8MB). Free memory was 75.5MB in the beginning and 201.0MB in the end (delta: -125.5MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. [2024-09-20 20:08:28,497 INFO L158 Benchmark]: Boogie Preprocessor took 38.28ms. Allocated memory is still 232.8MB. Free memory was 201.0MB in the beginning and 198.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-20 20:08:28,498 INFO L158 Benchmark]: RCFGBuilder took 319.42ms. Allocated memory is still 232.8MB. Free memory was 198.9MB in the beginning and 182.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-09-20 20:08:28,498 INFO L158 Benchmark]: Referee took 326.89ms. Allocated memory is still 232.8MB. Free memory was 182.2MB in the beginning and 141.3MB in the end (delta: 40.9MB). Peak memory consumption was 39.8MB. Max. memory is 16.1GB. [2024-09-20 20:08:28,500 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 loop head at line 32 to check that procedure precondition always holds at line 33. One counterexample starts in i=0, j=4, max=5, str1={6:0}, str2={8:0} and ends in i=0, j=4, max=5, str1={6:0}, str2={8:0}. 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 entry of procedure main to loop head at line 18. Annotation is 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. Annotation is valid for all loop-free paths from loop head at line 18 to loop head at line 18. Annotation is valid for all loop-free paths from loop head at line 26 to loop head at line 26. 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 18 to loop head at line 26. Annotation is valid for all loop-free paths from entry of procedure __VERIFIER_assert to exit of procedure __VERIFIER_assert. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.16ms. Allocated memory is still 151.0MB. Free memory is still 102.0MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.14ms. Allocated memory is still 151.0MB. Free memory is still 121.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 319.44ms. Allocated memory was 151.0MB in the beginning and 232.8MB in the end (delta: 81.8MB). Free memory was 75.5MB in the beginning and 201.0MB in the end (delta: -125.5MB). Peak memory consumption was 14.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 38.28ms. Allocated memory is still 232.8MB. Free memory was 201.0MB in the beginning and 198.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 319.42ms. Allocated memory is still 232.8MB. Free memory was 198.9MB in the beginning and 182.2MB in the end (delta: 16.8MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Referee took 326.89ms. Allocated memory is still 232.8MB. Free memory was 182.2MB in the beginning and 141.3MB in the end (delta: 40.9MB). Peak memory consumption was 39.8MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-09-20 20:08:28,559 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