./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/list-properties/alternating_list-2.i --full-output --witness-type violation_witness --validate ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/alternating_list-2.yml/witness.yml --preprocessor.replace.while.statements.and.if-then-else.statements false --icfgbuilder.size.of.a.code.block SequenceOfStatements --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version 03fe66fa 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/list-properties/alternating_list-2.i ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/alternating_list-2.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 --preprocessor.replace.while.statements.and.if-then-else.statements false --icfgbuilder.size.of.a.code.block SequenceOfStatements --- Real Ultimate output --- This is Ultimate 0.2.4-wip.fs.yaml-violation-witnesses-03fe66f-m [2024-08-15 18:24:18,540 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-15 18:24:18,620 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-08-15 18:24:18,625 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-15 18:24:18,627 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-15 18:24:18,659 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-15 18:24:18,660 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-15 18:24:18,660 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-15 18:24:18,661 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-08-15 18:24:18,665 INFO L153 SettingsManager]: * Use memory slicer=true [2024-08-15 18:24:18,665 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-15 18:24:18,666 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-15 18:24:18,666 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-15 18:24:18,667 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-15 18:24:18,667 INFO L153 SettingsManager]: * Use SBE=true [2024-08-15 18:24:18,667 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-15 18:24:18,667 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-15 18:24:18,668 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-15 18:24:18,668 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-15 18:24:18,668 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-15 18:24:18,668 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-15 18:24:18,671 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-15 18:24:18,671 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-15 18:24:18,671 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-15 18:24:18,672 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-15 18:24:18,672 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-15 18:24:18,672 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-15 18:24:18,672 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-15 18:24:18,673 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-15 18:24:18,673 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-15 18:24:18,673 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-15 18:24:18,674 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-15 18:24:18,674 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-15 18:24:18,675 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-15 18:24:18,676 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-15 18:24:18,676 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-15 18:24:18,676 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-15 18:24:18,677 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-15 18:24:18,677 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-15 18:24:18,677 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-08-15 18:24:18,677 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-15 18:24:18,678 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-08-15 18:24:18,678 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-15 18:24:18,678 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 Applying setting for plugin de.uni_freiburg.informatik.ultimate.boogie.preprocessor: Replace while statements and if-then-else statements -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder: Size of a code block -> SequenceOfStatements [2024-08-15 18:24:19,057 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-15 18:24:19,082 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-15 18:24:19,088 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-15 18:24:19,090 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-15 18:24:19,090 INFO L274 PluginConnector]: CDTParser initialized [2024-08-15 18:24:19,092 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/list-properties/alternating_list-2.i [2024-08-15 18:24:20,592 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-15 18:24:20,854 INFO L384 CDTParser]: Found 1 translation units. [2024-08-15 18:24:20,854 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/list-properties/alternating_list-2.i [2024-08-15 18:24:20,874 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5bad77731/1adc0794135c49e090725b4c064e4f21/FLAGbe9d789a5 [2024-08-15 18:24:20,888 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/5bad77731/1adc0794135c49e090725b4c064e4f21 [2024-08-15 18:24:20,891 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-15 18:24:20,892 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-15 18:24:20,892 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/alternating_list-2.yml/witness.yml [2024-08-15 18:24:20,956 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-15 18:24:20,957 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-08-15 18:24:20,959 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-15 18:24:20,959 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-15 18:24:20,964 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-15 18:24:20,965 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.08 06:24:20" (1/2) ... [2024-08-15 18:24:20,966 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@35faf95a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:20, skipping insertion in model container [2024-08-15 18:24:20,966 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.08 06:24:20" (1/2) ... [2024-08-15 18:24:20,968 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@4fa6b1b3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:20, skipping insertion in model container [2024-08-15 18:24:20,968 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 15.08 06:24:20" (2/2) ... [2024-08-15 18:24:20,969 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@35faf95a and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:20, skipping insertion in model container [2024-08-15 18:24:20,969 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 15.08 06:24:20" (2/2) ... [2024-08-15 18:24:21,022 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-08-15 18:24:21,327 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/list-properties/alternating_list-2.i[23574,23587] [2024-08-15 18:24:21,337 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-15 18:24:21,350 INFO L200 MainTranslator]: Completed pre-run [2024-08-15 18:24:21,417 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/list-properties/alternating_list-2.i[23574,23587] [2024-08-15 18:24:21,418 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-15 18:24:21,462 INFO L204 MainTranslator]: Completed translation [2024-08-15 18:24:21,464 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21 WrapperNode [2024-08-15 18:24:21,464 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-15 18:24:21,466 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-08-15 18:24:21,466 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-08-15 18:24:21,467 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-08-15 18:24:21,478 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,479 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,496 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,529 INFO L175 MemorySlicer]: Split 13 memory accesses to 2 slices as follows [2, 11]. 85 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0]. The 4 writes are split as follows [0, 4]. [2024-08-15 18:24:21,529 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,529 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,552 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,559 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,561 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,567 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-08-15 18:24:21,568 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-08-15 18:24:21,568 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-08-15 18:24:21,568 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-08-15 18:24:21,569 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (1/1) ... [2024-08-15 18:24:21,578 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-08-15 18:24:21,616 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-08-15 18:24:21,649 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2024-08-15 18:24:21,651 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2024-08-15 18:24:21,745 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2024-08-15 18:24:21,746 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2024-08-15 18:24:21,748 INFO L138 BoogieDeclarations]: Found implementation of procedure myexit [2024-08-15 18:24:21,748 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-08-15 18:24:21,748 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-08-15 18:24:21,748 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-08-15 18:24:21,748 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_perror_fail [2024-08-15 18:24:21,748 INFO L130 BoogieDeclarations]: Found specification of procedure __assert [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2024-08-15 18:24:21,749 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2024-08-15 18:24:21,750 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2024-08-15 18:24:21,752 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2024-08-15 18:24:21,752 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2024-08-15 18:24:21,752 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2024-08-15 18:24:21,752 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure select [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure random [2024-08-15 18:24:21,753 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2024-08-15 18:24:21,754 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2024-08-15 18:24:21,755 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2024-08-15 18:24:21,755 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2024-08-15 18:24:21,755 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2024-08-15 18:24:21,755 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2024-08-15 18:24:21,755 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2024-08-15 18:24:21,756 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2024-08-15 18:24:21,756 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2024-08-15 18:24:21,756 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2024-08-15 18:24:21,756 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2024-08-15 18:24:21,756 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2024-08-15 18:24:21,757 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2024-08-15 18:24:21,757 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2024-08-15 18:24:21,757 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2024-08-15 18:24:21,757 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure free [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2024-08-15 18:24:21,758 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure system [2024-08-15 18:24:21,759 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure div [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2024-08-15 18:24:21,760 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2024-08-15 18:24:21,761 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure myexit [2024-08-15 18:24:21,764 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-08-15 18:24:21,765 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-08-15 18:24:21,766 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-08-15 18:24:21,766 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-08-15 18:24:21,767 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-08-15 18:24:21,767 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-08-15 18:24:21,767 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-08-15 18:24:22,022 INFO L273 CfgBuilder]: Building ICFG [2024-08-15 18:24:22,026 INFO L304 CfgBuilder]: Building CFG for each procedure with an implementation [2024-08-15 18:24:22,072 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint myexitFINAL: assume true; [2024-08-15 18:24:22,077 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint L175: havoc #t~nondet1; [2024-08-15 18:24:22,210 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint L180: havoc #t~nondet2; [2024-08-15 18:24:22,251 INFO L? ?]: Removed 17 outVars from TransFormulas that were not future-live. [2024-08-15 18:24:22,252 INFO L327 CfgBuilder]: Performing block encoding [2024-08-15 18:24:22,263 INFO L349 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-08-15 18:24:22,264 INFO L354 CfgBuilder]: Removed 0 assume(true) statements. [2024-08-15 18:24:22,265 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 15.08 06:24:22 BoogieIcfgContainer [2024-08-15 18:24:22,266 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-08-15 18:24:22,269 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-08-15 18:24:22,271 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-08-15 18:24:22,277 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-08-15 18:24:22,277 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.08 06:24:20" (1/4) ... [2024-08-15 18:24:22,278 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6068d13c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.08 06:24:22, skipping insertion in model container [2024-08-15 18:24:22,279 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.witnessparser VIOLATION_WITNESS 15.08 06:24:20" (2/4) ... [2024-08-15 18:24:22,280 WARN L100 eAbstractionObserver]: Found a witness in the YAML format. I will only consider traces that are accepted by the witness [2024-08-15 18:24:22,284 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6068d13c and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 15.08 06:24:22, skipping insertion in model container [2024-08-15 18:24:22,284 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:21" (3/4) ... [2024-08-15 18:24:22,285 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6068d13c and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 15.08 06:24:22, skipping insertion in model container [2024-08-15 18:24:22,285 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 15.08 06:24:22" (4/4) ... [2024-08-15 18:24:22,287 INFO L128 eAbstractionObserver]: Analyzing ICFG alternating_list-2.i [2024-08-15 18:24:22,312 INFO L201 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-08-15 18:24:22,313 INFO L160 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-08-15 18:24:22,354 INFO L90 WitnessUtils]: Constructing product of automaton with 40 states and violation witness of the following lengths: [9] [2024-08-15 18:24:22,444 INFO L95 WitnessUtils]: Product has 137 reachable states. [2024-08-15 18:24:22,468 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-08-15 18:24:22,478 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;@d1186f5, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-08-15 18:24:22,479 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-08-15 18:24:22,482 INFO L276 IsEmpty]: Start isEmpty. Operand 137 states and 172 transitions. [2024-08-15 18:24:22,486 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2024-08-15 18:24:22,486 INFO L187 NwaCegarLoop]: Found error trace [2024-08-15 18:24:22,486 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-08-15 18:24:22,488 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-08-15 18:24:22,497 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-08-15 18:24:22,498 INFO L85 PathProgramCache]: Analyzing trace with hash -478617119, now seen corresponding path program 1 times [2024-08-15 18:24:22,508 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-08-15 18:24:22,509 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [160323690] [2024-08-15 18:24:22,509 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-08-15 18:24:22,509 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-08-15 18:24:22,656 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-08-15 18:24:22,744 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2024-08-15 18:24:22,747 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-08-15 18:24:22,758 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-08-15 18:24:22,758 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-08-15 18:24:22,758 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [160323690] [2024-08-15 18:24:22,759 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [160323690] provided 1 perfect and 0 imperfect interpolant sequences [2024-08-15 18:24:22,760 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-08-15 18:24:22,760 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-08-15 18:24:22,761 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [434201321] [2024-08-15 18:24:22,762 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-08-15 18:24:22,769 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-08-15 18:24:22,769 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-08-15 18:24:22,804 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-08-15 18:24:22,805 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-08-15 18:24:22,808 INFO L87 Difference]: Start difference. First operand 137 states and 172 transitions. Second operand has 2 states, 2 states have (on average 10.0) internal successors, (20), 2 states have internal predecessors, (20), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-08-15 18:24:22,819 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-08-15 18:24:22,821 INFO L93 Difference]: Finished difference Result 98 states and 113 transitions. [2024-08-15 18:24:22,822 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-08-15 18:24:22,824 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 10.0) internal successors, (20), 2 states have internal predecessors, (20), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 23 [2024-08-15 18:24:22,825 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-08-15 18:24:22,835 INFO L225 Difference]: With dead ends: 98 [2024-08-15 18:24:22,836 INFO L226 Difference]: Without dead ends: 42 [2024-08-15 18:24:22,837 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-08-15 18:24:22,841 INFO L413 NwaCegarLoop]: 46 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 0 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 46 SdHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 0 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2024-08-15 18:24:22,842 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 46 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2024-08-15 18:24:22,860 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states. [2024-08-15 18:24:22,873 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 32. [2024-08-15 18:24:22,874 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 32 states, 28 states have (on average 1.1785714285714286) internal successors, (33), 28 states have internal predecessors, (33), 2 states have call successors, (2), 2 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-08-15 18:24:22,875 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 36 transitions. [2024-08-15 18:24:22,876 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 36 transitions. Word has length 23 [2024-08-15 18:24:22,877 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-08-15 18:24:22,877 INFO L495 AbstractCegarLoop]: Abstraction has 32 states and 36 transitions. [2024-08-15 18:24:22,877 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 10.0) internal successors, (20), 2 states have internal predecessors, (20), 1 states have call successors, (2), 1 states have call predecessors, (2), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2024-08-15 18:24:22,877 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 36 transitions. [2024-08-15 18:24:22,878 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2024-08-15 18:24:22,878 INFO L187 NwaCegarLoop]: Found error trace [2024-08-15 18:24:22,879 INFO L195 NwaCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-08-15 18:24:22,879 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-08-15 18:24:22,879 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-08-15 18:24:22,880 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-08-15 18:24:22,880 INFO L85 PathProgramCache]: Analyzing trace with hash -636550333, now seen corresponding path program 1 times [2024-08-15 18:24:22,880 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-08-15 18:24:22,881 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [136084584] [2024-08-15 18:24:22,881 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-08-15 18:24:22,881 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-08-15 18:24:22,931 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-08-15 18:24:22,932 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-08-15 18:24:22,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-08-15 18:24:22,991 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-08-15 18:24:22,991 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-08-15 18:24:22,997 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-08-15 18:24:22,999 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-08-15 18:24:23,005 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2024-08-15 18:24:23,010 INFO L176 ceAbstractionStarter]: Computing trace abstraction results [2024-08-15 18:24:23,041 INFO L201 PluginConnector]: Adding new model witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 15.08 06:24:23 BoogieIcfgContainer [2024-08-15 18:24:23,044 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-08-15 18:24:23,045 INFO L158 Benchmark]: Toolchain (without parser) took 2087.10ms. Allocated memory is still 151.0MB. Free memory was 101.7MB in the beginning and 60.8MB in the end (delta: 40.9MB). Peak memory consumption was 38.6MB. Max. memory is 16.1GB. [2024-08-15 18:24:23,045 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 100.7MB. Free memory is still 66.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-15 18:24:23,045 INFO L158 Benchmark]: Witness Parser took 0.15ms. Allocated memory is still 151.0MB. Free memory is still 104.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-15 18:24:23,045 INFO L158 Benchmark]: CACSL2BoogieTranslator took 506.27ms. Allocated memory is still 151.0MB. Free memory was 101.7MB in the beginning and 83.4MB in the end (delta: 18.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-08-15 18:24:23,046 INFO L158 Benchmark]: Boogie Preprocessor took 101.44ms. Allocated memory is still 151.0MB. Free memory was 83.4MB in the beginning and 79.8MB in the end (delta: 3.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-08-15 18:24:23,046 INFO L158 Benchmark]: IcfgBuilder took 698.18ms. Allocated memory is still 151.0MB. Free memory was 79.8MB in the beginning and 98.5MB in the end (delta: -18.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-08-15 18:24:23,047 INFO L158 Benchmark]: TraceAbstraction took 775.08ms. Allocated memory is still 151.0MB. Free memory was 97.8MB in the beginning and 60.8MB in the end (delta: 37.0MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2024-08-15 18:24:23,051 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.24ms. Allocated memory is still 100.7MB. Free memory is still 66.1MB. There was no memory consumed. Max. memory is 16.1GB. * Witness Parser took 0.15ms. Allocated memory is still 151.0MB. Free memory is still 104.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 506.27ms. Allocated memory is still 151.0MB. Free memory was 101.7MB in the beginning and 83.4MB in the end (delta: 18.3MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Preprocessor took 101.44ms. Allocated memory is still 151.0MB. Free memory was 83.4MB in the beginning and 79.8MB in the end (delta: 3.6MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * IcfgBuilder took 698.18ms. Allocated memory is still 151.0MB. Free memory was 79.8MB in the beginning and 98.5MB in the end (delta: -18.7MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * TraceAbstraction took 775.08ms. Allocated memory is still 151.0MB. Free memory was 97.8MB in the beginning and 60.8MB in the end (delta: 37.0MB). Peak memory consumption was 37.7MB. 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 - CounterExampleResult [Line: 573]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L532] int flag = 1; [L533] List a = (List) malloc(sizeof(struct node)); [L534] COND FALSE !(a == 0) VAL [a={-1:0}, flag=1] [L535] List t; [L536] List p = a; VAL [a={-1:0}, flag=1, p={-1:0}] [L537] COND TRUE __VERIFIER_nondet_int() [L538] COND TRUE \read(flag) [L539] p->h = 2 [L540] flag = 0 VAL [a={-1:0}, flag=0, p={-1:0}] [L545] t = (List) malloc(sizeof(struct node)) [L546] COND FALSE !(t == 0) VAL [a={-1:0}, flag=0, p={-1:0}, t={-2:0}] [L547] p->n = t [L548] EXPR p->n [L548] p = p->n [L537] COND FALSE !(__VERIFIER_nondet_int()) [L550] p->h = 3 [L551] p = a [L552] flag = 1 VAL [a={-1:0}, flag=1, p={-1:0}] [L553] EXPR p->h VAL [a={-1:0}, flag=1, p={-1:0}] [L553] COND TRUE p->h != 3 [L554] COND TRUE \read(flag) [L555] flag = 0 [L556] EXPR p->h VAL [a={-1:0}, flag=0, p={-1:0}] [L556] COND TRUE p->h != 1 [L573] reach_error() VAL [a={-1:0}, flag=0, p={-1:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 10 procedures, 59 locations, 1 error locations. Started 1 CEGAR loops. OverallTime: 0.7s, OverallIterations: 2, TraceHistogramMax: 2, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 0 SdHoareTripleChecker+Valid, 0.0s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 0 mSDsluCounter, 46 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 0 IncrementalHoareTripleChecker+Invalid, 0 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 46 mSDtfsCounter, 0 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 4 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=137occurred in iteration=0, InterpolantAutomatonStates: 2, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 10 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 48 NumberOfCodeBlocks, 48 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 22 ConstructedInterpolants, 0 QuantifiedInterpolants, 22 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 1/1 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2024-08-15 18:24:23,089 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (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