./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/array-fpi/res2f.c --full-output --witness-type violation_witness --validate ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/res2f.yml/witness.yml -tc ../../../trunk/examples/toolchains/AutomizerC_IcfgBuilder.xml -s ../../../trunk/examples/settings/svcomp-Reach-32bit-Automizer_IcfgBuilder.epf --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version bf1304be Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReachWitnessValidation.xml -i ../../../trunk/examples/svcomp/array-fpi/res2f.c ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/res2f.yml/witness.yml -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --traceabstraction.compute.hoare.annotation.of.negated.interpolant.automaton,.abstraction.and.cfg false -tc ../../../trunk/examples/toolchains/AutomizerC_IcfgBuilder.xml -s ../../../trunk/examples/settings/svcomp-Reach-32bit-Automizer_IcfgBuilder.epf --- Real Ultimate output --- This is Ultimate 0.2.4-wip.fs.yaml-violation-witnesses-bf1304b-m [2024-08-06 17:13:56,438 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-06 17:13:56,495 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-08-06 17:13:56,498 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-06 17:13:56,500 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-06 17:13:56,517 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-06 17:13:56,518 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-06 17:13:56,518 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-06 17:13:56,519 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-08-06 17:13:56,519 INFO L153 SettingsManager]: * Use memory slicer=true [2024-08-06 17:13:56,519 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-06 17:13:56,520 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-06 17:13:56,520 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-06 17:13:56,520 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-06 17:13:56,521 INFO L153 SettingsManager]: * Use SBE=true [2024-08-06 17:13:56,521 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-06 17:13:56,521 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-06 17:13:56,521 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-06 17:13:56,522 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-06 17:13:56,522 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-06 17:13:56,522 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-06 17:13:56,523 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-06 17:13:56,523 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-06 17:13:56,523 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-06 17:13:56,523 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-06 17:13:56,524 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-06 17:13:56,524 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-06 17:13:56,524 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-06 17:13:56,524 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-06 17:13:56,525 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-06 17:13:56,525 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-06 17:13:56,525 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-06 17:13:56,525 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:13:56,526 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-06 17:13:56,526 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-06 17:13:56,526 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-06 17:13:56,526 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-06 17:13:56,526 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-06 17:13:56,527 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-06 17:13:56,527 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-08-06 17:13:56,527 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-06 17:13:56,529 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-08-06 17:13:56,530 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-06 17:13:56,530 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/ultimate/releaseScripts/default/UAutomizer-linux/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: Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG -> false [2024-08-06 17:13:56,748 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-06 17:13:56,772 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-06 17:13:56,775 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-06 17:13:56,776 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-06 17:13:56,777 INFO L274 PluginConnector]: CDTParser initialized [2024-08-06 17:13:56,778 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-fpi/res2f.c [2024-08-06 17:13:58,077 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-06 17:13:58,233 INFO L384 CDTParser]: Found 1 translation units. [2024-08-06 17:13:58,234 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/array-fpi/res2f.c [2024-08-06 17:13:58,246 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/460638ae4/7d052d818ec34866b813300fce878af7/FLAG735010a3f [2024-08-06 17:13:58,264 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/460638ae4/7d052d818ec34866b813300fce878af7 [2024-08-06 17:13:58,268 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-06 17:13:58,268 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-06 17:13:58,269 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/res2f.yml/witness.yml [2024-08-06 17:13:58,346 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-06 17:13:58,348 INFO L133 ToolchainWalker]: Walking toolchain with 5 elements. [2024-08-06 17:13:58,349 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-06 17:13:58,350 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-06 17:13:58,354 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-06 17:13:58,355 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:13:58" (1/2) ... [2024-08-06 17:13:58,355 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@31d0c8b6 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:13:58, skipping insertion in model container [2024-08-06 17:13:58,356 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.08 05:13:58" (1/2) ... [2024-08-06 17:13:58,357 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@3aded1f3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.08 05:13:58, skipping insertion in model container [2024-08-06 17:13:58,357 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:13:58" (2/2) ... [2024-08-06 17:13:58,358 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@31d0c8b6 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58, skipping insertion in model container [2024-08-06 17:13:58,358 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:13:58" (2/2) ... [2024-08-06 17:13:58,376 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-08-06 17:13:58,508 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/array-fpi/res2f.c[588,601] [2024-08-06 17:13:58,538 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:13:58,549 INFO L200 MainTranslator]: Completed pre-run [2024-08-06 17:13:58,561 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/array-fpi/res2f.c[588,601] [2024-08-06 17:13:58,574 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-06 17:13:58,591 INFO L204 MainTranslator]: Completed translation [2024-08-06 17:13:58,591 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58 WrapperNode [2024-08-06 17:13:58,592 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-06 17:13:58,593 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-08-06 17:13:58,594 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-08-06 17:13:58,594 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-08-06 17:13:58,599 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,607 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,624 INFO L138 Inliner]: procedures = 17, calls = 37, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 121 [2024-08-06 17:13:58,624 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-08-06 17:13:58,625 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-08-06 17:13:58,625 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-08-06 17:13:58,625 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-08-06 17:13:58,634 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,634 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,641 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,657 INFO L175 MemorySlicer]: Split 24 memory accesses to 6 slices as follows [2, 2, 8, 2, 2, 8]. 33 percent of accesses are in the largest equivalence class. The 10 initializations are split as follows [2, 0, 8, 0, 0, 0]. The 7 writes are split as follows [0, 1, 0, 1, 1, 4]. [2024-08-06 17:13:58,658 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,658 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,664 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,667 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,668 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,669 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,671 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-08-06 17:13:58,672 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-08-06 17:13:58,672 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-08-06 17:13:58,672 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-08-06 17:13:58,673 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (1/1) ... [2024-08-06 17:13:58,679 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-06 17:13:58,689 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-08-06 17:13:58,703 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-08-06 17:13:58,705 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-08-06 17:13:58,741 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2024-08-06 17:13:58,742 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2024-08-06 17:13:58,743 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-08-06 17:13:58,744 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-08-06 17:13:58,744 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-08-06 17:13:58,745 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2024-08-06 17:13:58,745 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2024-08-06 17:13:58,745 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-08-06 17:13:58,817 INFO L244 CfgBuilder]: Building ICFG [2024-08-06 17:13:58,819 INFO L270 CfgBuilder]: Building CFG for each procedure with an implementation [2024-08-06 17:13:58,995 INFO L? ?]: Removed 15 outVars from TransFormulas that were not future-live. [2024-08-06 17:13:58,995 INFO L293 CfgBuilder]: Performing block encoding [2024-08-06 17:13:59,030 INFO L315 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-08-06 17:13:59,030 INFO L320 CfgBuilder]: Removed 6 assume(true) statements. [2024-08-06 17:13:59,031 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:13:59 BoogieIcfgContainer [2024-08-06 17:13:59,031 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-08-06 17:13:59,034 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-08-06 17:13:59,034 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-08-06 17:13:59,037 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-08-06 17:13:59,037 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.08 05:13:58" (1/4) ... [2024-08-06 17:13:59,038 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6ae8b55e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.08 05:13:59, skipping insertion in model container [2024-08-06 17:13:59,038 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 06.08 05:13:58" (2/4) ... [2024-08-06 17:13:59,039 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6ae8b55e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 06.08 05:13:59, skipping insertion in model container [2024-08-06 17:13:59,039 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 06.08 05:13:58" (3/4) ... [2024-08-06 17:13:59,039 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6ae8b55e and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 06.08 05:13:59, skipping insertion in model container [2024-08-06 17:13:59,042 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.08 05:13:59" (4/4) ... [2024-08-06 17:13:59,043 INFO L119 eAbstractionObserver]: Analyzing ICFG res2f.c [2024-08-06 17:13:59,043 WARN L130 eAbstractionObserver]: Found a witness in the YAML format. I will only consider traces that are accepted by the witness [2024-08-06 17:13:59,059 INFO L221 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-08-06 17:13:59,060 INFO L180 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-08-06 17:13:59,096 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,099 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,099 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,100 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,101 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,102 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,102 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,103 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,104 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,106 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,106 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,107 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,107 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,107 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,108 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,110 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,110 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,111 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,111 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,114 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,114 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,114 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,121 INFO L90 WitnessUtils]: FiniteAutomaton nwa = ( alphabet = {"assume main_~i~0#1 < ~N~0;call write~int#3(1, main_~c~0#1.base, main_~c~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post16#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post16#1;havoc main_#t~post16#1;" "assume main_~i~0#1 < ~N~0;call main_#t~mem9#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem10#1 := read~int#1(main_~a~0#1.base, main_~a~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem9#1 + main_#t~mem10#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem9#1;havoc main_#t~mem10#1;main_#t~post11#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post11#1;havoc main_#t~post11#1;" "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(8, 2);call write~init~int#2(114, 2, 0, 1);call write~init~int#2(101, 2, 1, 1);call write~init~int#2(115, 2, 2, 1);call write~init~int#2(50, 2, 3, 1);call write~init~int#2(102, 2, 4, 1);call write~init~int#2(46, 2, 5, 1);call write~init~int#2(99, 2, 6, 1);call write~init~int#2(0, 2, 7, 1);call #Ultimate.allocInit(12, 3);~N~0 := 0;assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet4#1, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~malloc6#1.base, main_#t~malloc6#1.offset, main_#t~malloc7#1.base, main_#t~malloc7#1.offset, main_#t~post8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~post11#1, main_#t~post12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~post15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~post19#1, main_#t~mem20#1, main_~i~0#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;havoc main_#t~nondet4#1;assume -2147483648 <= main_#t~nondet4#1 && main_#t~nondet4#1 <= 2147483647;~N~0 := main_#t~nondet4#1;havoc main_#t~nondet4#1;" "assume ~N~0 <= 0;main_#res#1 := 1;" "assume main_~i~0#1 < ~N~0;call main_#t~mem13#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem14#1 := read~int#4(main_~b~0#1.base, main_~b~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem13#1 + main_#t~mem14#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem13#1;havoc main_#t~mem14#1;main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1;" "assume !(main_~i~0#1 < ~N~0);" "assume !(~N~0 <= 0);assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ~N~0 % 4294967296 <= 536870911 then 1 else 0);havoc assume_abort_if_not_~cond#1;assume_abort_if_not_~cond#1 := assume_abort_if_not_#in~cond#1;" "assume main_~i~0#1 < ~N~0;call write~int#1(1, main_~a~0#1.base, main_~a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post8#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post8#1;havoc main_#t~post8#1;" "assume main_~i~0#1 < ~N~0;call main_#t~mem17#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem18#1 := read~int#3(main_~c~0#1.base, main_~c~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem17#1 + main_#t~mem18#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem17#1;havoc main_#t~mem18#1;main_#t~post19#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post19#1;havoc main_#t~post19#1;" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "assume !(0 == assume_abort_if_not_~cond#1);" "assume !true;" "havoc assume_abort_if_not_~cond#1;havoc assume_abort_if_not_#in~cond#1;assume { :end_inline_assume_abort_if_not } true;havoc main_~i~0#1;call main_~#sum~0#1.base, main_~#sum~0#1.offset := #Ultimate.allocOnStack(8);call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;havoc main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call main_#t~malloc6#1.base, main_#t~malloc6#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc6#1.base, main_#t~malloc6#1.offset;havoc main_#t~malloc6#1.base, main_#t~malloc6#1.offset;call main_#t~malloc7#1.base, main_#t~malloc7#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc7#1.base, main_#t~malloc7#1.offset;havoc main_#t~malloc7#1.base, main_#t~malloc7#1.offset;call write~int#5(1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);main_~i~0#1 := 0;" "main_~i~0#1 := 0;" "assume !(main_~i~0#1 < ~N~0);" "assume !(main_~i~0#1 < ~N~0);" "assume !true;" "assume !true;" "main_~i~0#1 := 0;" "main_~i~0#1 := 0;" "assume !(main_~i~0#1 < ~N~0);" "assume !(main_~i~0#1 < ~N~0);" "assume !true;" "assume !true;" "main_~i~0#1 := 0;" "call main_#t~mem20#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);assume { :begin_inline___VERIFIER_assert } true;__VERIFIER_assert_#in~cond#1 := (if main_#t~mem20#1 <= 3 * ~N~0 then 1 else 0);havoc __VERIFIER_assert_~cond#1;__VERIFIER_assert_~cond#1 := __VERIFIER_assert_#in~cond#1;" "assume 0 == __VERIFIER_assert_~cond#1;" "assume !false;" "assume false;assume false;" "assume !(main_~i~0#1 < ~N~0);" "assume !(0 == __VERIFIER_assert_~cond#1);" "havoc __VERIFIER_assert_~cond#1;havoc __VERIFIER_assert_#in~cond#1;assume { :end_inline___VERIFIER_assert } true;havoc main_#t~mem20#1;main_#res#1 := 1;call ULTIMATE.dealloc(main_~#sum~0#1.base, main_~#sum~0#1.offset);havoc main_~#sum~0#1.base, main_~#sum~0#1.offset;" "assume !true;" "assume main_~i~0#1 < ~N~0;call write~int#4(1, main_~b~0#1.base, main_~b~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post12#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post12#1;havoc main_#t~post12#1;" "#t~ret21#1 := main_#res#1;havoc main_#t~nondet4#1, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~malloc6#1.base, main_#t~malloc6#1.offset, main_#t~malloc7#1.base, main_#t~malloc7#1.offset, main_#t~post8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~post11#1, main_#t~post12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~post15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~post19#1, main_#t~mem20#1, main_~i~0#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;assume { :end_inline_main } true;assume true;" "main_~i~0#1 := 0;" }, states = {"CountingPredicate [underlying: 8#L59-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 9#L15true, annotation: [0, 0]]" "CountingPredicate [underlying: 18#$Ultimate##0true, annotation: [0, 0]]" "CountingPredicate [underlying: 14#L13true, annotation: [0, 0]]" "CountingPredicate [underlying: 2#ULTIMATE.startEXITtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 20#L15-1true, annotation: [0, 0]]" "CountingPredicate [underlying: 16#main_returnLabel#1true, annotation: [0, 0]]" "CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 10#L49-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 17#L39-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 5#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]" "CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 15#L54-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 7#L15-3true, annotation: [0, 0]]" "CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 21#L24true, annotation: [0, 0]]" "CountingPredicate [underlying: 13#L34-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]" "CountingPredicate [underlying: 11#L44-5true, annotation: [0, 0]]" "CountingPredicate [underlying: 23#L12true, annotation: [0, 0]]" }, initialStates = {"CountingPredicate [underlying: 18#$Ultimate##0true, annotation: [0, 0]]" }, finalStates = {}, transitions = { ("CountingPredicate [underlying: 8#L59-5true, annotation: [0, 0]]" "call main_#t~mem20#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);assume { :begin_inline___VERIFIER_assert } true;__VERIFIER_assert_#in~cond#1 := (if main_#t~mem20#1 <= 3 * ~N~0 then 1 else 0);havoc __VERIFIER_assert_~cond#1;__VERIFIER_assert_~cond#1 := __VERIFIER_assert_#in~cond#1;" "CountingPredicate [underlying: 9#L15true, annotation: [0, 0]]") ("CountingPredicate [underlying: 9#L15true, annotation: [0, 0]]" "assume 0 == __VERIFIER_assert_~cond#1;" "CountingPredicate [underlying: 20#L15-1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 9#L15true, annotation: [0, 0]]" "assume !(0 == __VERIFIER_assert_~cond#1);" "CountingPredicate [underlying: 7#L15-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 18#$Ultimate##0true, annotation: [0, 0]]" "assume { :begin_inline_ULTIMATE.init } true;assume 0 == #valid[0];assume 0 < #StackHeapBarrier;call #Ultimate.allocInit(2, 1);call write~init~int#0(48, 1, 0, 1);call write~init~int#0(0, 1, 1, 1);call #Ultimate.allocInit(8, 2);call write~init~int#2(114, 2, 0, 1);call write~init~int#2(101, 2, 1, 1);call write~init~int#2(115, 2, 2, 1);call write~init~int#2(50, 2, 3, 1);call write~init~int#2(102, 2, 4, 1);call write~init~int#2(46, 2, 5, 1);call write~init~int#2(99, 2, 6, 1);call write~init~int#2(0, 2, 7, 1);call #Ultimate.allocInit(12, 3);~N~0 := 0;assume { :end_inline_ULTIMATE.init } true;assume { :begin_inline_main } true;havoc main_#res#1;havoc main_#t~nondet4#1, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~malloc6#1.base, main_#t~malloc6#1.offset, main_#t~malloc7#1.base, main_#t~malloc7#1.offset, main_#t~post8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~post11#1, main_#t~post12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~post15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~post19#1, main_#t~mem20#1, main_~i~0#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;havoc main_#t~nondet4#1;assume -2147483648 <= main_#t~nondet4#1 && main_#t~nondet4#1 <= 2147483647;~N~0 := main_#t~nondet4#1;havoc main_#t~nondet4#1;" "CountingPredicate [underlying: 21#L24true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L13true, annotation: [0, 0]]" "assume 0 == assume_abort_if_not_~cond#1;assume false;" "CountingPredicate [underlying: 23#L12true, annotation: [0, 0]]") ("CountingPredicate [underlying: 14#L13true, annotation: [0, 0]]" "assume !(0 == assume_abort_if_not_~cond#1);" "CountingPredicate [underlying: 23#L12true, annotation: [0, 0]]") ("CountingPredicate [underlying: 20#L15-1true, annotation: [0, 0]]" "assume !false;" "CountingPredicate [underlying: 5#ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTIONtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 20#L15-1true, annotation: [0, 0]]" "assume false;assume false;" "CountingPredicate [underlying: 7#L15-3true, annotation: [0, 0]]") ("CountingPredicate [underlying: 16#main_returnLabel#1true, annotation: [0, 0]]" "#t~ret21#1 := main_#res#1;havoc main_#t~nondet4#1, main_#t~malloc5#1.base, main_#t~malloc5#1.offset, main_#t~malloc6#1.base, main_#t~malloc6#1.offset, main_#t~malloc7#1.base, main_#t~malloc7#1.offset, main_#t~post8#1, main_#t~mem9#1, main_#t~mem10#1, main_#t~post11#1, main_#t~post12#1, main_#t~mem13#1, main_#t~mem14#1, main_#t~post15#1, main_#t~post16#1, main_#t~mem17#1, main_#t~mem18#1, main_#t~post19#1, main_#t~mem20#1, main_~i~0#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, main_~a~0#1.base, main_~a~0#1.offset, main_~b~0#1.base, main_~b~0#1.offset, main_~c~0#1.base, main_~c~0#1.offset;assume { :end_inline_main } true;assume true;" "CountingPredicate [underlying: 2#ULTIMATE.startEXITtrue, annotation: [0, 0]]") ("CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call write~int#1(1, main_~a~0#1.base, main_~a~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post8#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post8#1;havoc main_#t~post8#1;" "CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 13#L34-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 13#L34-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 11#L44-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 11#L44-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call write~int#4(1, main_~b~0#1.base, main_~b~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post12#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post12#1;havoc main_#t~post12#1;" "CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 10#L49-5true, annotation: [0, 0]]" "main_~i~0#1 := 0;" "CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 17#L39-5true, annotation: [0, 0]]" "main_~i~0#1 := 0;" "CountingPredicate [underlying: 6#L44-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call main_#t~mem13#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem14#1 := read~int#4(main_~b~0#1.base, main_~b~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem13#1 + main_#t~mem14#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem13#1;havoc main_#t~mem14#1;main_#t~post15#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post15#1;havoc main_#t~post15#1;" "CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 10#L49-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 10#L49-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 15#L54-5true, annotation: [0, 0]]" "main_~i~0#1 := 0;" "CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call main_#t~mem17#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem18#1 := read~int#3(main_~c~0#1.base, main_~c~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem17#1 + main_#t~mem18#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem17#1;havoc main_#t~mem18#1;main_#t~post19#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post19#1;havoc main_#t~post19#1;" "CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 8#L59-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 12#L59-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 8#L59-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 7#L15-3true, annotation: [0, 0]]" "havoc __VERIFIER_assert_~cond#1;havoc __VERIFIER_assert_#in~cond#1;assume { :end_inline___VERIFIER_assert } true;havoc main_#t~mem20#1;main_#res#1 := 1;call ULTIMATE.dealloc(main_~#sum~0#1.base, main_~#sum~0#1.offset);havoc main_~#sum~0#1.base, main_~#sum~0#1.offset;" "CountingPredicate [underlying: 16#main_returnLabel#1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call write~int#3(1, main_~c~0#1.base, main_~c~0#1.offset + 4 * main_~i~0#1, 4);main_#t~post16#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post16#1;havoc main_#t~post16#1;" "CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 15#L54-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 22#L54-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 15#L54-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 21#L24true, annotation: [0, 0]]" "assume ~N~0 <= 0;main_#res#1 := 1;" "CountingPredicate [underlying: 16#main_returnLabel#1true, annotation: [0, 0]]") ("CountingPredicate [underlying: 21#L24true, annotation: [0, 0]]" "assume !(~N~0 <= 0);assume { :begin_inline_assume_abort_if_not } true;assume_abort_if_not_#in~cond#1 := (if ~N~0 % 4294967296 <= 536870911 then 1 else 0);havoc assume_abort_if_not_~cond#1;assume_abort_if_not_~cond#1 := assume_abort_if_not_#in~cond#1;" "CountingPredicate [underlying: 14#L13true, annotation: [0, 0]]") ("CountingPredicate [underlying: 13#L34-5true, annotation: [0, 0]]" "main_~i~0#1 := 0;" "CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]" "assume main_~i~0#1 < ~N~0;call main_#t~mem9#1 := read~int#5(main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);call main_#t~mem10#1 := read~int#1(main_~a~0#1.base, main_~a~0#1.offset + 4 * main_~i~0#1, 4);call write~int#5(main_#t~mem9#1 + main_#t~mem10#1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);havoc main_#t~mem9#1;havoc main_#t~mem10#1;main_#t~post11#1 := main_~i~0#1;main_~i~0#1 := 1 + main_#t~post11#1;havoc main_#t~post11#1;" "CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]" "assume !(main_~i~0#1 < ~N~0);" "CountingPredicate [underlying: 17#L39-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 19#L39-4true, annotation: [0, 0]]" "assume !true;" "CountingPredicate [underlying: 17#L39-5true, annotation: [0, 0]]") ("CountingPredicate [underlying: 11#L44-5true, annotation: [0, 0]]" "main_~i~0#1 := 0;" "CountingPredicate [underlying: 4#L49-4true, annotation: [0, 0]]") ("CountingPredicate [underlying: 23#L12true, annotation: [0, 0]]" "havoc assume_abort_if_not_~cond#1;havoc assume_abort_if_not_#in~cond#1;assume { :end_inline_assume_abort_if_not } true;havoc main_~i~0#1;call main_~#sum~0#1.base, main_~#sum~0#1.offset := #Ultimate.allocOnStack(8);call main_#t~malloc5#1.base, main_#t~malloc5#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~a~0#1.base, main_~a~0#1.offset := main_#t~malloc5#1.base, main_#t~malloc5#1.offset;havoc main_#t~malloc5#1.base, main_#t~malloc5#1.offset;call main_#t~malloc6#1.base, main_#t~malloc6#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~b~0#1.base, main_~b~0#1.offset := main_#t~malloc6#1.base, main_#t~malloc6#1.offset;havoc main_#t~malloc6#1.base, main_#t~malloc6#1.offset;call main_#t~malloc7#1.base, main_#t~malloc7#1.offset := #Ultimate.allocOnHeap(4 * ~N~0 % 4294967296);main_~c~0#1.base, main_~c~0#1.offset := main_#t~malloc7#1.base, main_#t~malloc7#1.offset;havoc main_#t~malloc7#1.base, main_#t~malloc7#1.offset;call write~int#5(1, main_~#sum~0#1.base, main_~#sum~0#1.offset, 8);main_~i~0#1 := 0;" "CountingPredicate [underlying: 3#L34-4true, annotation: [0, 0]]") } ); [2024-08-06 17:13:59,128 INFO L82 GeneralOperation]: Start removeDeadEnds. Operand has 22 states, 20 states have (on average 1.8) internal successors, (36), 21 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-08-06 17:13:59,129 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,129 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,130 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,130 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,130 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,130 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,131 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,131 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,132 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,132 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,132 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,133 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,133 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,133 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,134 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,134 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,135 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,135 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,135 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,135 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,136 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,136 WARN L283 nessProductAutomaton]: assume ~N~0 <= 0;main_#res#1 := 1;, isNegated false [2024-08-06 17:13:59,140 INFO L88 GeneralOperation]: Finished removeDeadEnds. Reduced from 22 states to 0 states. [2024-08-06 17:13:59,159 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-08-06 17:13:59,166 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@7beab28f, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-08-06 17:13:59,167 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-08-06 17:13:59,169 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states. [2024-08-06 17:13:59,169 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2024-08-06 17:13:59,171 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-08-06 17:13:59,175 INFO L445 BasicCegarLoop]: Path program histogram: [] [2024-08-06 17:13:59,178 INFO L196 ceAbstractionStarter]: Computing trace abstraction results [2024-08-06 17:13:59,181 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.08 05:13:59 BoogieIcfgContainer [2024-08-06 17:13:59,181 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-08-06 17:13:59,182 INFO L158 Benchmark]: Toolchain (without parser) took 834.54ms. Allocated memory is still 157.3MB. Free memory was 99.6MB in the beginning and 53.5MB in the end (delta: 46.1MB). Peak memory consumption was 46.1MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,183 INFO L158 Benchmark]: CDTParser took 0.16ms. Allocated memory is still 157.3MB. Free memory is still 94.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:13:59,183 INFO L158 Benchmark]: Witness Parser took 0.91ms. Allocated memory is still 157.3MB. Free memory is still 102.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-06 17:13:59,184 INFO L158 Benchmark]: CACSL2BoogieTranslator took 243.12ms. Allocated memory is still 157.3MB. Free memory was 99.6MB in the beginning and 87.7MB in the end (delta: 11.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,184 INFO L158 Benchmark]: Boogie Procedure Inliner took 30.68ms. Allocated memory is still 157.3MB. Free memory was 87.7MB in the beginning and 85.7MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,185 INFO L158 Benchmark]: Boogie Preprocessor took 46.47ms. Allocated memory is still 157.3MB. Free memory was 85.7MB in the beginning and 83.5MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,186 INFO L158 Benchmark]: RCFGBuilder took 358.89ms. Allocated memory is still 157.3MB. Free memory was 82.9MB in the beginning and 65.4MB in the end (delta: 17.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,186 INFO L158 Benchmark]: TraceAbstraction took 147.49ms. Allocated memory is still 157.3MB. Free memory was 64.8MB in the beginning and 53.5MB in the end (delta: 11.3MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2024-08-06 17:13:59,188 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.16ms. Allocated memory is still 157.3MB. Free memory is still 94.1MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.91ms. Allocated memory is still 157.3MB. Free memory is still 102.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 243.12ms. Allocated memory is still 157.3MB. Free memory was 99.6MB in the beginning and 87.7MB in the end (delta: 11.9MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 30.68ms. Allocated memory is still 157.3MB. Free memory was 87.7MB in the beginning and 85.7MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 46.47ms. Allocated memory is still 157.3MB. Free memory was 85.7MB in the beginning and 83.5MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 358.89ms. Allocated memory is still 157.3MB. Free memory was 82.9MB in the beginning and 65.4MB in the end (delta: 17.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * TraceAbstraction took 147.49ms. Allocated memory is still 157.3MB. Free memory was 64.8MB in the beginning and 53.5MB in the end (delta: 11.3MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - PositiveResult [Line: 15]: a call to reach_error is unreachable For all program executions holds that a call to reach_error is unreachable at this location - StatisticsResult: Ultimate Automizer benchmark data CFG has 1 procedures, 22 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.1s, OverallIterations: 0, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2024-08-06 17:13:59,221 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/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 Result: TRUE