./Ultimate.py --spec ../sv-benchmarks/c/properties/unreach-call.prp --file ../sv-benchmarks/c/loops-crafted-1/sum_by_3_abstracted.c --full-output --witness-type correctness_witness --validate ../results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3_abstracted.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-crafted-1/sum_by_3_abstracted.c ../results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3_abstracted.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:47:33,383 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-09-11 20:47:33,469 INFO L114 SettingsManager]: Loading settings from /storage/repos/certificate-witnesses-artifact/referee/config/svcomp-Reach-32bit-Referee_Default.epf [2024-09-11 20:47:33,474 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-09-11 20:47:33,474 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-09-11 20:47:33,503 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-09-11 20:47:33,504 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-09-11 20:47:33,504 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-09-11 20:47:33,505 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-09-11 20:47:33,505 INFO L153 SettingsManager]: * Use memory slicer=true [2024-09-11 20:47:33,506 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-09-11 20:47:33,506 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-09-11 20:47:33,506 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-09-11 20:47:33,507 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-09-11 20:47:33,507 INFO L153 SettingsManager]: * Use SBE=true [2024-09-11 20:47:33,508 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-09-11 20:47:33,508 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-09-11 20:47:33,508 INFO L153 SettingsManager]: * sizeof long=4 [2024-09-11 20:47:33,508 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-09-11 20:47:33,509 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-09-11 20:47:33,509 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-09-11 20:47:33,510 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-09-11 20:47:33,510 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-09-11 20:47:33,510 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-09-11 20:47:33,510 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-09-11 20:47:33,511 INFO L153 SettingsManager]: * sizeof long double=12 [2024-09-11 20:47:33,511 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-09-11 20:47:33,511 INFO L153 SettingsManager]: * Use constant arrays=true [2024-09-11 20:47:33,511 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-09-11 20:47:33,512 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-09-11 20:47:33,512 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-09-11 20:47:33,512 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-09-11 20:47:33,512 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:47:33,513 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-09-11 20:47:33,513 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-09-11 20:47:33,513 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-09-11 20:47:33,514 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-09-11 20:47:33,514 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-09-11 20:47:33,514 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-09-11 20:47:33,514 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-09-11 20:47:33,515 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-09-11 20:47:33,515 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-09-11 20:47:33,516 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:47:33,744 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-09-11 20:47:33,770 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-09-11 20:47:33,774 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-09-11 20:47:33,775 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-09-11 20:47:33,775 INFO L274 PluginConnector]: Witness Parser initialized [2024-09-11 20:47:33,777 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../results/automizer-verification-files/SV-COMP24_unreach-call/sum_by_3_abstracted.yml/witness-2.1.yml [2024-09-11 20:47:33,845 INFO L270 PluginConnector]: Initializing CDTParser... [2024-09-11 20:47:33,846 INFO L274 PluginConnector]: CDTParser initialized [2024-09-11 20:47:33,846 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/certificate-witnesses-artifact/referee/../sv-benchmarks/c/loops-crafted-1/sum_by_3_abstracted.c [2024-09-11 20:47:35,328 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-09-11 20:47:35,505 INFO L384 CDTParser]: Found 1 translation units. [2024-09-11 20:47:35,506 INFO L180 CDTParser]: Scanning /storage/repos/certificate-witnesses-artifact/sv-benchmarks/c/loops-crafted-1/sum_by_3_abstracted.c [2024-09-11 20:47:35,514 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/certificate-witnesses-artifact/referee/data/a17e87d82/cbf1c665cace49c2b4e9c5a3202d36b8/FLAGb499508a2 [2024-09-11 20:47:35,906 INFO L435 CDTParser]: Successfully deleted /storage/repos/certificate-witnesses-artifact/referee/data/a17e87d82/cbf1c665cace49c2b4e9c5a3202d36b8 [2024-09-11 20:47:35,907 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-09-11 20:47:35,908 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-09-11 20:47:35,910 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-09-11 20:47:35,910 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-09-11 20:47:35,915 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-09-11 20:47:35,916 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:47:33" (1/2) ... [2024-09-11 20:47:35,917 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4dba60e6 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:47:35, skipping insertion in model container [2024-09-11 20:47:35,917 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:47:33" (1/2) ... [2024-09-11 20:47:35,918 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3776bb37 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator CORRECTNESS_WITNESS 11.09 08:47:35, skipping insertion in model container [2024-09-11 20:47:35,919 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:47:35" (2/2) ... [2024-09-11 20:47:35,919 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4dba60e6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:35, skipping insertion in model container [2024-09-11 20:47:35,919 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 11.09 08:47:35" (2/2) ... [2024-09-11 20:47:35,932 INFO L93 nessWitnessExtractor]: Found the following entries in the witness: [2024-09-11 20:47:35,933 INFO L1541 ArrayList]: Loop invariant at [L42-L44] (((((n <= ((n / 4294967296) * 4294967296)) && (i == 0)) && (SIZE == 20000001)) && (j == 0)) || (((((i == (j + ((i / 4294967296) * 4294967296))) && ((n % 4294967296) <= j)) && (SIZE == 20000001)) && (i <= (20000001 + ((i / 4294967296) * 4294967296)))) && (3 <= ((((((long long) -3 * i) + 60000003) / 4294967296) * 4294967296) + ((long long) 3 * i))))) [2024-09-11 20:47:35,934 INFO L1541 ArrayList]: Location invariant before [L18-L23] (SIZE == 20000001) [2024-09-11 20:47:35,934 INFO L1541 ArrayList]: Location invariant before [L26-L51] (SIZE == 20000001) [2024-09-11 20:47:35,935 INFO L1541 ArrayList]: Loop invariant at [L46-L48] (((((((i == (j + ((i / 4294967296) * 4294967296))) && ((n % 4294967296) <= j)) && (i == (k + ((i / 4294967296) * 4294967296)))) && (SIZE == 20000001)) && (i <= (20000001 + ((i / 4294967296) * 4294967296)))) && (3 <= ((((((long long) -3 * i) + 60000003) / 4294967296) * 4294967296) + ((long long) 3 * i)))) || (((((n <= ((n / 4294967296) * 4294967296)) && (i == 0)) && (k == 0)) && (SIZE == 20000001)) && (j == 0))) [2024-09-11 20:47:35,953 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-09-11 20:47:36,090 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-crafted-1/sum_by_3_abstracted.c[824,837] [2024-09-11 20:47:36,111 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:47:36,120 INFO L200 MainTranslator]: Completed pre-run [2024-09-11 20:47:36,136 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-crafted-1/sum_by_3_abstracted.c[824,837] [2024-09-11 20:47:36,137 WARN L423 MainDispatcher]: Unable to annotate void __VERIFIER_assert(int cond) { if (!(cond)) { ERROR: {reach_error();abort();} } return; } with a witness entry Start Parsing Local Start Parsing Local [2024-09-11 20:47:36,185 WARN L423 MainDispatcher]: Unable to annotate int main() { unsigned int n,i,k; n = __VERIFIER_nondet_uint(); if (!(n <= SIZE)) return 0; i = 0; // START NAIVELOOPABSTRACTION if (i < n) { i = __VERIFIER_nondet_uint(); if (!(i < n)) abort(); if( i < n ) { i = i + 1; } if (i < n) abort(); } // END NAIVELOOPABSTRACTION int j = i; while( j < n ) { j = j+1; } k = j; while( k < n ) { k = k+1; } __VERIFIER_assert((i+j+k)/3 <= SIZE); return 0; } with a witness entry [2024-09-11 20:47:36,186 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-09-11 20:47:36,209 INFO L204 MainTranslator]: Completed translation [2024-09-11 20:47:36,209 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36 WrapperNode [2024-09-11 20:47:36,210 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-09-11 20:47:36,211 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-09-11 20:47:36,211 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-09-11 20:47:36,211 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-09-11 20:47:36,225 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,225 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,236 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,251 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-09-11 20:47:36,251 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,254 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,263 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,269 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,275 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,277 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,280 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-09-11 20:47:36,282 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-09-11 20:47:36,282 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-09-11 20:47:36,282 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-09-11 20:47:36,283 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (1/1) ... [2024-09-11 20:47:36,292 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-09-11 20:47:36,302 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/certificate-witnesses-artifact/referee/z3 [2024-09-11 20:47:36,317 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:47:36,319 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:47:36,358 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-09-11 20:47:36,359 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-09-11 20:47:36,359 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-09-11 20:47:36,359 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2024-09-11 20:47:36,359 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2024-09-11 20:47:36,359 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_bool [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_char [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_double [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_float [2024-09-11 20:47:36,360 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_ulong [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_ulonglong [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_uint [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2024-09-11 20:47:36,361 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-09-11 20:47:36,362 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-09-11 20:47:36,429 INFO L242 CfgBuilder]: Building ICFG [2024-09-11 20:47:36,432 INFO L268 CfgBuilder]: Building CFG for each procedure with an implementation [2024-09-11 20:47:36,717 INFO L? ?]: Removed 13 outVars from TransFormulas that were not future-live. [2024-09-11 20:47:36,717 INFO L291 CfgBuilder]: Performing block encoding [2024-09-11 20:47:36,749 INFO L313 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-09-11 20:47:36,749 INFO L318 CfgBuilder]: Removed 2 assume(true) statements. [2024-09-11 20:47:36,750 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:47:36 BoogieIcfgContainer [2024-09-11 20:47:36,751 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-09-11 20:47:36,751 INFO L112 PluginConnector]: ------------------------Referee---------------------------- [2024-09-11 20:47:36,752 INFO L270 PluginConnector]: Initializing Referee... [2024-09-11 20:47:36,752 INFO L274 PluginConnector]: Referee initialized [2024-09-11 20:47:36,752 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:47:33" (1/4) ... [2024-09-11 20:47:36,753 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@21968c63 and model type witness-2.1.yml de.uni_freiburg.informatik.ultimate.plugins.generator.referee CORRECTNESS_WITNESS 11.09 08:47:36, skipping insertion in model container [2024-09-11 20:47:36,753 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "CDTParser AST 11.09 08:47:35" (2/4) ... [2024-09-11 20:47:36,753 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@21968c63 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:47:36, skipping insertion in model container [2024-09-11 20:47:36,753 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 11.09 08:47:36" (3/4) ... [2024-09-11 20:47:36,754 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@21968c63 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee AST 11.09 08:47:36, skipping insertion in model container [2024-09-11 20:47:36,754 INFO L184 PluginConnector]: Executing the observer RefereeObserver from plugin Referee for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 11.09 08:47:36" (4/4) ... [2024-09-11 20:47:36,755 INFO L79 RefereeObserver]: Analyzing ICFG sum_by_3_abstracted.c [2024-09-11 20:47:36,762 INFO L112 InvariantChecker]: Found 2 loops. [2024-09-11 20:47:36,763 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L46-3 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-11 20:47:36,763 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L42-3 to LOOP_INVARIANT_ERROR_LOC mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 5 edges. [2024-09-11 20:47:36,764 INFO L367 InvariantChecker]: Will check inductivity from ENTRY $Ultimate##0 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 12 edges. [2024-09-11 20:47:36,764 INFO L367 InvariantChecker]: Will check inductivity from LOOP_HEAD L42-3 to LOOP_INVARIANT_ERROR_LOC mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT. Corresponding subgraph has 3 edges. [2024-09-11 20:47:36,764 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:47:36,764 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, 3 loop-free subgraphs from loop head to loop head [2024-09-11 20:47:36,824 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:47:36,826 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:47:36,826 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:47:36,827 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:47:36,828 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:47:36,830 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:36,866 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:47:36,867 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:36,867 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:47:36,868 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:47:36,868 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:47:36,869 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:47:36,894 INFO L514 InvariantChecker]: The annotation(s) from loop head L46-3 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:47:36,932 INFO L314 BlockEncoder]: Initial Icfg 5 locations, 5 edges [2024-09-11 20:47:36,933 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:47:36,933 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:47:36,933 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:47:36,933 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:47:36,934 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:36,965 INFO L101 BaseMinimizeStates]: Removed 9 edges and 3 locations by large block encoding [2024-09-11 20:47:36,966 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:36,966 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:47:36,966 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:47:36,966 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:47:36,977 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:47:37,007 INFO L514 InvariantChecker]: The annotation(s) from loop head L42-3 to loop head mainErr1ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:47:37,038 INFO L314 BlockEncoder]: Initial Icfg 9 locations, 12 edges [2024-09-11 20:47:37,038 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:47:37,038 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:47:37,038 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:47:37,038 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:47:37,038 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,093 INFO L101 BaseMinimizeStates]: Removed 28 edges and 7 locations by large block encoding [2024-09-11 20:47:37,094 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,094 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:47:37,095 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:47:37,095 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:47:37,105 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:47:37,143 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:47:37,143 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:47:37,143 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:47:37,143 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:47:37,143 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:47:37,143 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,153 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:47:37,153 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,153 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:47:37,154 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:47:37,154 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:47:37,154 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:47:37,165 INFO L514 InvariantChecker]: The annotation(s) from loop head L42-3 to loop head mainErr0ASSERT_VIOLATIONWITNESS_INVARIANT is inductive. [2024-09-11 20:47:37,180 INFO L314 BlockEncoder]: Initial Icfg 4 locations, 3 edges [2024-09-11 20:47:37,181 INFO L264 BlockEncoder]: Using Maximize final states [2024-09-11 20:47:37,181 INFO L271 BlockEncoder]: Using Minimize states even if more edges are added than removed.=true [2024-09-11 20:47:37,181 INFO L277 BlockEncoder]: Using Minimize states using LBE with the strategy=MULTI [2024-09-11 20:47:37,181 INFO L172 BlockEncoder]: Using Apply optimizations until nothing changes=true [2024-09-11 20:47:37,181 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,182 INFO L101 BaseMinimizeStates]: Removed 4 edges and 2 locations by large block encoding [2024-09-11 20:47:37,183 INFO L71 MaximizeFinalStates]: 0 new accepting states [2024-09-11 20:47:37,184 INFO L101 BaseMinimizeStates]: Removed 0 edges and 0 locations by large block encoding [2024-09-11 20:47:37,184 INFO L238 BlockEncoder]: Using Create parallel compositions if possible [2024-09-11 20:47:37,184 INFO L68 ParallelComposer]: Creating parallel compositions [2024-09-11 20:47:37,185 INFO L314 BlockEncoder]: Encoded RCFG 2 locations, 1 edges [2024-09-11 20:47:37,197 INFO L58 RefereeStarter]: Annotation is not a valid proof of correctness. [2024-09-11 20:47:37,199 INFO L204 PluginConnector]: Invalid model from Referee for observer de.uni_freiburg.informatik.ultimate.plugins.generator.referee.RefereeObserver@21968c63 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.referee CFG 11.09 08:47:37, skipping insertion in model container [2024-09-11 20:47:37,199 INFO L131 PluginConnector]: ------------------------ END Referee---------------------------- [2024-09-11 20:47:37,200 INFO L158 Benchmark]: Toolchain (without parser) took 1291.37ms. Allocated memory is still 192.9MB. Free memory was 119.9MB in the beginning and 137.5MB in the end (delta: -17.6MB). Peak memory consumption was 63.6MB. Max. memory is 16.1GB. [2024-09-11 20:47:37,201 INFO L158 Benchmark]: Witness Parser took 0.20ms. Allocated memory is still 134.2MB. Free memory is still 96.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:47:37,201 INFO L158 Benchmark]: CDTParser took 0.88ms. Allocated memory is still 192.9MB. Free memory is still 167.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-09-11 20:47:37,202 INFO L158 Benchmark]: CACSL2BoogieTranslator took 300.67ms. Allocated memory is still 192.9MB. Free memory was 119.9MB in the beginning and 105.7MB in the end (delta: 14.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-09-11 20:47:37,202 INFO L158 Benchmark]: Boogie Preprocessor took 69.97ms. Allocated memory is still 192.9MB. Free memory was 105.7MB in the beginning and 103.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-09-11 20:47:37,205 INFO L158 Benchmark]: RCFGBuilder took 469.20ms. Allocated memory is still 192.9MB. Free memory was 103.1MB in the beginning and 81.6MB in the end (delta: 21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-09-11 20:47:37,205 INFO L158 Benchmark]: Referee took 447.36ms. Allocated memory is still 192.9MB. Free memory was 81.6MB in the beginning and 137.5MB in the end (delta: -55.9MB). Peak memory consumption was 25.9MB. Max. memory is 16.1GB. [2024-09-11 20:47:37,210 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 20. One counterexample starts in \old(cond)=0 and ends in \old(cond)=0, cond=0. Annotation is not valid for all loop-free paths from entry of procedure main to loop head at line 42. One counterexample starts in SIZE=4294967296 and ends in i=0, j=0, k=0, n=0, SIZE=4294967296. Annotation is valid for all loop-free paths from loop head at line 46 to loop head at line 46. Annotation is valid for all loop-free paths from loop head at line 42 to loop head at line 42. Annotation is valid for all loop-free paths from loop head at line 42 to loop head at line 46. * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.20ms. Allocated memory is still 134.2MB. Free memory is still 96.8MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.88ms. Allocated memory is still 192.9MB. Free memory is still 167.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 300.67ms. Allocated memory is still 192.9MB. Free memory was 119.9MB in the beginning and 105.7MB in the end (delta: 14.2MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Boogie Preprocessor took 69.97ms. Allocated memory is still 192.9MB. Free memory was 105.7MB in the beginning and 103.6MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 469.20ms. Allocated memory is still 192.9MB. Free memory was 103.1MB in the beginning and 81.6MB in the end (delta: 21.5MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Referee took 447.36ms. Allocated memory is still 192.9MB. Free memory was 81.6MB in the beginning and 137.5MB in the end (delta: -55.9MB). Peak memory consumption was 25.9MB. Max. memory is 16.1GB. RESULT: Ultimate could not prove your program: Toolchain returned no result. [2024-09-11 20:47:37,243 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