./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/list-properties/list_flag-1.i --full-output --witness-type violation_witness --validate ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/list_flag-1.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/list_flag-1.i ./svcomp-yaml-violation-generation.2024-08-01_14-26-22.files/Default/list_flag-1.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:27,219 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-08-15 18:24:27,325 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:27,330 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-08-15 18:24:27,331 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-08-15 18:24:27,358 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-08-15 18:24:27,360 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-08-15 18:24:27,361 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-08-15 18:24:27,362 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-08-15 18:24:27,364 INFO L153 SettingsManager]: * Use memory slicer=true [2024-08-15 18:24:27,364 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-08-15 18:24:27,364 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-08-15 18:24:27,365 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-08-15 18:24:27,365 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-08-15 18:24:27,366 INFO L153 SettingsManager]: * Use SBE=true [2024-08-15 18:24:27,367 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-08-15 18:24:27,368 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-08-15 18:24:27,368 INFO L153 SettingsManager]: * sizeof long=4 [2024-08-15 18:24:27,368 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-08-15 18:24:27,368 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-08-15 18:24:27,369 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-08-15 18:24:27,373 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-08-15 18:24:27,373 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-08-15 18:24:27,373 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-08-15 18:24:27,373 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-08-15 18:24:27,374 INFO L153 SettingsManager]: * sizeof long double=12 [2024-08-15 18:24:27,374 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-08-15 18:24:27,374 INFO L153 SettingsManager]: * Use constant arrays=true [2024-08-15 18:24:27,374 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-08-15 18:24:27,375 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-08-15 18:24:27,375 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-08-15 18:24:27,375 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-08-15 18:24:27,375 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-08-15 18:24:27,375 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-08-15 18:24:27,376 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-08-15 18:24:27,376 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-08-15 18:24:27,376 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-08-15 18:24:27,376 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-08-15 18:24:27,376 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-08-15 18:24:27,377 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-08-15 18:24:27,377 INFO L153 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2024-08-15 18:24:27,378 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-08-15 18:24:27,379 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-08-15 18:24:27,379 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:27,652 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-08-15 18:24:27,680 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-08-15 18:24:27,684 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-08-15 18:24:27,686 INFO L270 PluginConnector]: Initializing Witness Parser... [2024-08-15 18:24:27,689 INFO L274 PluginConnector]: Witness Parser initialized [2024-08-15 18:24:27,690 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/list_flag-1.yml/witness.yml [2024-08-15 18:24:27,804 INFO L270 PluginConnector]: Initializing CDTParser... [2024-08-15 18:24:27,805 INFO L274 PluginConnector]: CDTParser initialized [2024-08-15 18:24:27,805 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/list-properties/list_flag-1.i [2024-08-15 18:24:29,380 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-08-15 18:24:29,647 INFO L384 CDTParser]: Found 1 translation units. [2024-08-15 18:24:29,649 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/list-properties/list_flag-1.i [2024-08-15 18:24:29,665 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6dc646f43/3be2d617ead14a03bebe531a3a240bf6/FLAG0547cab6a [2024-08-15 18:24:29,679 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6dc646f43/3be2d617ead14a03bebe531a3a240bf6 [2024-08-15 18:24:29,680 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-08-15 18:24:29,681 INFO L133 ToolchainWalker]: Walking toolchain with 4 elements. [2024-08-15 18:24:29,682 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-08-15 18:24:29,682 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-08-15 18:24:29,687 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-08-15 18:24:29,688 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:27" (1/2) ... [2024-08-15 18:24:29,689 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@db104d2 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:29, skipping insertion in model container [2024-08-15 18:24:29,689 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:27" (1/2) ... [2024-08-15 18:24:29,690 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@5501f4af and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator VIOLATION_WITNESS 15.08 06:24:29, skipping insertion in model container [2024-08-15 18:24:29,690 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.08 06:24:29" (2/2) ... [2024-08-15 18:24:29,690 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@db104d2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:29, skipping insertion in model container [2024-08-15 18:24:29,690 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 15.08 06:24:29" (2/2) ... [2024-08-15 18:24:29,740 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-08-15 18:24:30,115 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/list_flag-1.i[23375,23388] [2024-08-15 18:24:30,124 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-15 18:24:30,136 INFO L200 MainTranslator]: Completed pre-run [2024-08-15 18:24:30,177 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/list_flag-1.i[23375,23388] [2024-08-15 18:24:30,178 INFO L207 PostProcessor]: Analyzing one entry point: main [2024-08-15 18:24:30,223 INFO L204 MainTranslator]: Completed translation [2024-08-15 18:24:30,224 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30 WrapperNode [2024-08-15 18:24:30,225 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-08-15 18:24:30,226 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-08-15 18:24:30,226 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-08-15 18:24:30,226 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-08-15 18:24:30,239 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,240 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,260 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,292 INFO L175 MemorySlicer]: Split 12 memory accesses to 2 slices as follows [2, 10]. 83 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:30,296 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,297 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,314 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,320 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,322 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,327 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-08-15 18:24:30,328 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-08-15 18:24:30,328 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-08-15 18:24:30,328 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-08-15 18:24:30,329 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (1/1) ... [2024-08-15 18:24:30,338 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2024-08-15 18:24:30,351 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-08-15 18:24:30,371 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:30,377 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:30,431 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2024-08-15 18:24:30,432 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure reach_error [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_32 [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure __bswap_64 [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint16_identity [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint32_identity [2024-08-15 18:24:30,433 INFO L138 BoogieDeclarations]: Found implementation of procedure __uint64_identity [2024-08-15 18:24:30,435 INFO L138 BoogieDeclarations]: Found implementation of procedure myexit [2024-08-15 18:24:30,436 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2024-08-15 18:24:30,436 INFO L130 BoogieDeclarations]: Found specification of procedure abort [2024-08-15 18:24:30,436 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_fail [2024-08-15 18:24:30,436 INFO L130 BoogieDeclarations]: Found specification of procedure __assert_perror_fail [2024-08-15 18:24:30,436 INFO L130 BoogieDeclarations]: Found specification of procedure __assert [2024-08-15 18:24:30,436 INFO L130 BoogieDeclarations]: Found specification of procedure reach_error [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure __ctype_get_mb_cur_max [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure atof [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure atoi [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure atol [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure atoll [2024-08-15 18:24:30,437 INFO L130 BoogieDeclarations]: Found specification of procedure strtod [2024-08-15 18:24:30,438 INFO L130 BoogieDeclarations]: Found specification of procedure strtof [2024-08-15 18:24:30,438 INFO L130 BoogieDeclarations]: Found specification of procedure strtold [2024-08-15 18:24:30,438 INFO L130 BoogieDeclarations]: Found specification of procedure strtol [2024-08-15 18:24:30,438 INFO L130 BoogieDeclarations]: Found specification of procedure strtoul [2024-08-15 18:24:30,438 INFO L130 BoogieDeclarations]: Found specification of procedure strtoq [2024-08-15 18:24:30,439 INFO L130 BoogieDeclarations]: Found specification of procedure strtouq [2024-08-15 18:24:30,439 INFO L130 BoogieDeclarations]: Found specification of procedure strtoll [2024-08-15 18:24:30,439 INFO L130 BoogieDeclarations]: Found specification of procedure strtoull [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure l64a [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure a64l [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_32 [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure __bswap_64 [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure __uint16_identity [2024-08-15 18:24:30,440 INFO L130 BoogieDeclarations]: Found specification of procedure __uint32_identity [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure __uint64_identity [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure select [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure pselect [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_major [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_minor [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure gnu_dev_makedev [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure random [2024-08-15 18:24:30,441 INFO L130 BoogieDeclarations]: Found specification of procedure srandom [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure initstate [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure setstate [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure random_r [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure srandom_r [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure initstate_r [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure setstate_r [2024-08-15 18:24:30,442 INFO L130 BoogieDeclarations]: Found specification of procedure rand [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure srand [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure rand_r [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure drand48 [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure erand48 [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48 [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48 [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48 [2024-08-15 18:24:30,443 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48 [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure srand48 [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure seed48 [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48 [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure drand48_r [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure erand48_r [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure lrand48_r [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure nrand48_r [2024-08-15 18:24:30,444 INFO L130 BoogieDeclarations]: Found specification of procedure mrand48_r [2024-08-15 18:24:30,445 INFO L130 BoogieDeclarations]: Found specification of procedure jrand48_r [2024-08-15 18:24:30,445 INFO L130 BoogieDeclarations]: Found specification of procedure srand48_r [2024-08-15 18:24:30,445 INFO L130 BoogieDeclarations]: Found specification of procedure seed48_r [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure lcong48_r [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure calloc [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure free [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure alloca [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure valloc [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure posix_memalign [2024-08-15 18:24:30,446 INFO L130 BoogieDeclarations]: Found specification of procedure aligned_alloc [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure atexit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure at_quick_exit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure on_exit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure quick_exit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure _Exit [2024-08-15 18:24:30,447 INFO L130 BoogieDeclarations]: Found specification of procedure getenv [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure putenv [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure setenv [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure unsetenv [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure clearenv [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure mktemp [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemp [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure mkstemps [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure mkdtemp [2024-08-15 18:24:30,449 INFO L130 BoogieDeclarations]: Found specification of procedure system [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure realpath [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure bsearch [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure qsort [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure abs [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure labs [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure llabs [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure div [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure ldiv [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure lldiv [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt [2024-08-15 18:24:30,450 INFO L130 BoogieDeclarations]: Found specification of procedure gcvt [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure qgcvt [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure ecvt_r [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure fcvt_r [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure qecvt_r [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure qfcvt_r [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure mblen [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure mbtowc [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure wctomb [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure mbstowcs [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure wcstombs [2024-08-15 18:24:30,451 INFO L130 BoogieDeclarations]: Found specification of procedure rpmatch [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure getsubopt [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure getloadavg [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure myexit [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure main [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-08-15 18:24:30,452 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-08-15 18:24:30,453 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2024-08-15 18:24:30,453 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2024-08-15 18:24:30,454 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2024-08-15 18:24:30,454 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2024-08-15 18:24:30,454 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-08-15 18:24:30,454 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-08-15 18:24:30,454 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2024-08-15 18:24:30,455 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-08-15 18:24:30,455 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-08-15 18:24:30,455 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-08-15 18:24:30,455 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-08-15 18:24:30,702 INFO L273 CfgBuilder]: Building ICFG [2024-08-15 18:24:30,705 INFO L304 CfgBuilder]: Building CFG for each procedure with an implementation [2024-08-15 18:24:30,745 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint myexitFINAL: assume true; [2024-08-15 18:24:30,750 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint L175: havoc #t~nondet1; [2024-08-15 18:24:30,852 INFO L1266 $ProcedureCfgBuilder]: dead code at ProgramPoint L180: havoc #t~nondet2; [2024-08-15 18:24:30,899 INFO L? ?]: Removed 24 outVars from TransFormulas that were not future-live. [2024-08-15 18:24:30,900 INFO L327 CfgBuilder]: Performing block encoding [2024-08-15 18:24:30,909 INFO L349 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-08-15 18:24:30,910 INFO L354 CfgBuilder]: Removed 0 assume(true) statements. [2024-08-15 18:24:30,910 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 15.08 06:24:30 BoogieIcfgContainer [2024-08-15 18:24:30,910 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-08-15 18:24:30,912 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-08-15 18:24:30,913 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-08-15 18:24:30,917 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-08-15 18:24:30,917 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:27" (1/4) ... [2024-08-15 18:24:30,917 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:30,920 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7b82dd06 and model type witness.yml de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction VIOLATION_WITNESS 15.08 06:24:30, skipping insertion in model container [2024-08-15 18:24:30,920 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 15.08 06:24:29" (2/4) ... [2024-08-15 18:24:30,920 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7b82dd06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.08 06:24:30, skipping insertion in model container [2024-08-15 18:24:30,920 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 15.08 06:24:30" (3/4) ... [2024-08-15 18:24:30,920 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@7b82dd06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 15.08 06:24:30, skipping insertion in model container [2024-08-15 18:24:30,921 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 15.08 06:24:30" (4/4) ... [2024-08-15 18:24:30,922 INFO L128 eAbstractionObserver]: Analyzing ICFG list_flag-1.i [2024-08-15 18:24:30,942 INFO L201 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-08-15 18:24:30,942 INFO L160 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-08-15 18:24:30,969 INFO L90 WitnessUtils]: Constructing product of automaton with 38 states and violation witness of the following lengths: [9] [2024-08-15 18:24:31,031 INFO L95 WitnessUtils]: Product has 107 reachable states. [2024-08-15 18:24:31,050 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-08-15 18:24:31,056 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;@68209279, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-08-15 18:24:31,056 INFO L358 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-08-15 18:24:31,059 INFO L276 IsEmpty]: Start isEmpty. Operand 107 states and 132 transitions. [2024-08-15 18:24:31,062 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-08-15 18:24:31,062 INFO L187 NwaCegarLoop]: Found error trace [2024-08-15 18:24:31,063 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] [2024-08-15 18:24:31,064 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-08-15 18:24:31,070 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-08-15 18:24:31,070 INFO L85 PathProgramCache]: Analyzing trace with hash -1048816594, now seen corresponding path program 1 times [2024-08-15 18:24:31,081 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-08-15 18:24:31,082 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [419001094] [2024-08-15 18:24:31,082 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-08-15 18:24:31,082 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-08-15 18:24:31,214 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-08-15 18:24:31,321 INFO L376 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2024-08-15 18:24:31,325 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-08-15 18:24:31,348 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:31,349 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-08-15 18:24:31,349 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [419001094] [2024-08-15 18:24:31,350 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [419001094] provided 1 perfect and 0 imperfect interpolant sequences [2024-08-15 18:24:31,350 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-08-15 18:24:31,350 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-08-15 18:24:31,352 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [289539683] [2024-08-15 18:24:31,353 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-08-15 18:24:31,359 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-08-15 18:24:31,359 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-08-15 18:24:31,399 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-08-15 18:24:31,400 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-08-15 18:24:31,403 INFO L87 Difference]: Start difference. First operand 107 states and 132 transitions. Second operand has 2 states, 2 states have (on average 9.5) internal successors, (19), 2 states have internal predecessors, (19), 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:31,411 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-08-15 18:24:31,411 INFO L93 Difference]: Finished difference Result 81 states and 92 transitions. [2024-08-15 18:24:31,413 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-08-15 18:24:31,414 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 9.5) internal successors, (19), 2 states have internal predecessors, (19), 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 22 [2024-08-15 18:24:31,415 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-08-15 18:24:31,421 INFO L225 Difference]: With dead ends: 81 [2024-08-15 18:24:31,421 INFO L226 Difference]: Without dead ends: 35 [2024-08-15 18:24:31,423 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:31,428 INFO L413 NwaCegarLoop]: 43 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, 43 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:31,429 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 43 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:31,445 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2024-08-15 18:24:31,458 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 32. [2024-08-15 18:24:31,460 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 32 states, 28 states have (on average 1.1428571428571428) internal successors, (32), 28 states have internal predecessors, (32), 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:31,461 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 35 transitions. [2024-08-15 18:24:31,462 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 35 transitions. Word has length 22 [2024-08-15 18:24:31,462 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-08-15 18:24:31,463 INFO L495 AbstractCegarLoop]: Abstraction has 32 states and 35 transitions. [2024-08-15 18:24:31,463 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 9.5) internal successors, (19), 2 states have internal predecessors, (19), 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:31,463 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 35 transitions. [2024-08-15 18:24:31,464 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2024-08-15 18:24:31,465 INFO L187 NwaCegarLoop]: Found error trace [2024-08-15 18:24:31,466 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, 1] [2024-08-15 18:24:31,466 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-08-15 18:24:31,466 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting mainErr0ASSERT_VIOLATIONERROR_FUNCTION === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-08-15 18:24:31,467 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2024-08-15 18:24:31,468 INFO L85 PathProgramCache]: Analyzing trace with hash -39818290, now seen corresponding path program 1 times [2024-08-15 18:24:31,468 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-08-15 18:24:31,469 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [540659277] [2024-08-15 18:24:31,469 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-08-15 18:24:31,469 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-08-15 18:24:31,542 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-08-15 18:24:31,542 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-08-15 18:24:31,584 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-08-15 18:24:31,622 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-08-15 18:24:31,622 INFO L360 BasicCegarLoop]: Counterexample is feasible [2024-08-15 18:24:31,624 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location mainErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-08-15 18:24:31,626 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-08-15 18:24:31,631 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2024-08-15 18:24:31,637 INFO L176 ceAbstractionStarter]: Computing trace abstraction results [2024-08-15 18:24:31,663 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 15.08 06:24:31 BoogieIcfgContainer [2024-08-15 18:24:31,663 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-08-15 18:24:31,664 INFO L158 Benchmark]: Toolchain (without parser) took 1983.30ms. Allocated memory is still 172.0MB. Free memory was 99.6MB in the beginning and 65.9MB in the end (delta: 33.8MB). Peak memory consumption was 32.0MB. Max. memory is 16.1GB. [2024-08-15 18:24:31,665 INFO L158 Benchmark]: Witness Parser took 0.28ms. Allocated memory is still 104.9MB. Free memory is still 67.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-15 18:24:31,665 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 172.0MB. Free memory is still 145.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-08-15 18:24:31,665 INFO L158 Benchmark]: CACSL2BoogieTranslator took 542.97ms. Allocated memory is still 172.0MB. Free memory was 99.5MB in the beginning and 130.1MB in the end (delta: -30.5MB). Peak memory consumption was 6.8MB. Max. memory is 16.1GB. [2024-08-15 18:24:31,666 INFO L158 Benchmark]: Boogie Preprocessor took 101.07ms. Allocated memory is still 172.0MB. Free memory was 130.1MB in the beginning and 126.7MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-08-15 18:24:31,668 INFO L158 Benchmark]: IcfgBuilder took 582.54ms. Allocated memory is still 172.0MB. Free memory was 126.7MB in the beginning and 103.6MB in the end (delta: 23.1MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-08-15 18:24:31,668 INFO L158 Benchmark]: TraceAbstraction took 751.06ms. Allocated memory is still 172.0MB. Free memory was 102.8MB in the beginning and 65.9MB in the end (delta: 36.9MB). Peak memory consumption was 35.7MB. Max. memory is 16.1GB. [2024-08-15 18:24:31,670 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * Witness Parser took 0.28ms. Allocated memory is still 104.9MB. Free memory is still 67.9MB. There was no memory consumed. Max. memory is 16.1GB. * CDTParser took 0.17ms. Allocated memory is still 172.0MB. Free memory is still 145.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 542.97ms. Allocated memory is still 172.0MB. Free memory was 99.5MB in the beginning and 130.1MB in the end (delta: -30.5MB). Peak memory consumption was 6.8MB. Max. memory is 16.1GB. * Boogie Preprocessor took 101.07ms. Allocated memory is still 172.0MB. Free memory was 130.1MB in the beginning and 126.7MB in the end (delta: 3.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 582.54ms. Allocated memory is still 172.0MB. Free memory was 126.7MB in the beginning and 103.6MB in the end (delta: 23.1MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * TraceAbstraction took 751.06ms. Allocated memory is still 172.0MB. Free memory was 102.8MB in the beginning and 65.9MB in the end (delta: 36.9MB). Peak memory consumption was 35.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: 557]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L532] int flag = __VERIFIER_nondet_int(); [L533] List p, a, t; [L534] a = (List) malloc(sizeof(struct node)) [L535] COND FALSE !(a == 0) VAL [a={-1:0}, flag=1] [L536] 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 = 1 VAL [a={-1:0}, flag=1, p={-1:0}] [L543] t = (List) malloc(sizeof(struct node)) [L544] COND FALSE !(t == 0) VAL [a={-1:0}, flag=1, p={-1:0}, t={-2:0}] [L545] p->n = t [L546] EXPR p->n [L546] p = p->n [L537] COND FALSE !(__VERIFIER_nondet_int()) [L548] p->h = 3 [L549] p = a VAL [flag=1, p={-1:0}] [L550] COND TRUE \read(flag) VAL [p={-1:0}] [L551] EXPR p->h VAL [p={-1:0}] [L551] COND FALSE !(p->h == 2) [L556] EXPR p->h [L556] COND TRUE p->h != 3 [L557] reach_error() - StatisticsResult: Ultimate Automizer benchmark data CFG has 10 procedures, 57 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, 43 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, 43 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=107occurred 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, 3 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, 21 ConstructedInterpolants, 0 QuantifiedInterpolants, 21 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:31,707 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