./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/loops/bubble_sort-2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version da043454 Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/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.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../../../trunk/examples/svcomp/loops/bubble_sort-2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash e589de62a4f28055bfd6e6a8c8e763641ef4814aa1480c27faf0cc4cb780adb0 --- Real Ultimate output --- This is Ultimate 0.3.0-wip.fs.system-includes-da04345-m [2025-04-29 10:58:26,406 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-04-29 10:58:26,454 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2025-04-29 10:58:26,462 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-04-29 10:58:26,462 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-04-29 10:58:26,486 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-04-29 10:58:26,487 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-04-29 10:58:26,487 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-04-29 10:58:26,487 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-04-29 10:58:26,487 INFO L153 SettingsManager]: * Use memory slicer=true [2025-04-29 10:58:26,487 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-04-29 10:58:26,487 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-04-29 10:58:26,487 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-04-29 10:58:26,487 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-04-29 10:58:26,487 INFO L153 SettingsManager]: * Use SBE=true [2025-04-29 10:58:26,488 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-04-29 10:58:26,488 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-04-29 10:58:26,488 INFO L153 SettingsManager]: * sizeof long=4 [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * sizeof long double=12 [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Use constant arrays=true [2025-04-29 10:58:26,489 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-04-29 10:58:26,489 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 10:58:26,490 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 10:58:26,490 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-04-29 10:58:26,490 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> e589de62a4f28055bfd6e6a8c8e763641ef4814aa1480c27faf0cc4cb780adb0 [2025-04-29 10:58:26,678 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-04-29 10:58:26,686 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-04-29 10:58:26,688 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-04-29 10:58:26,689 INFO L270 PluginConnector]: Initializing CDTParser... [2025-04-29 10:58:26,690 INFO L274 PluginConnector]: CDTParser initialized [2025-04-29 10:58:26,691 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/loops/bubble_sort-2.c [2025-04-29 10:58:28,015 INFO L538 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/188cf1186/18f1c401ec5e48abb16ec52146b2f0dc/FLAG37c60aeea [2025-04-29 10:58:28,274 INFO L389 CDTParser]: Found 1 translation units. [2025-04-29 10:58:28,276 INFO L178 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/loops/bubble_sort-2.c [2025-04-29 10:58:28,277 WARN L117 ultiparseSymbolTable]: System include assert.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 10:58:28,277 WARN L117 ultiparseSymbolTable]: System include assert.h could not be resolved by CDT -- only built-in system includes are available. [2025-04-29 10:58:28,288 INFO L432 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/188cf1186/18f1c401ec5e48abb16ec52146b2f0dc/FLAG37c60aeea [2025-04-29 10:58:29,016 INFO L440 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/188cf1186/18f1c401ec5e48abb16ec52146b2f0dc [2025-04-29 10:58:29,018 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-04-29 10:58:29,019 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-04-29 10:58:29,020 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-04-29 10:58:29,020 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-04-29 10:58:29,022 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-04-29 10:58:29,023 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,024 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@64ca9de7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29, skipping insertion in model container [2025-04-29 10:58:29,024 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,046 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-04-29 10:58:29,162 WARN L117 LibraryModelHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/loops/bubble_sort-2.c[673,686] [2025-04-29 10:58:29,246 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 10:58:29,256 INFO L200 MainTranslator]: Completed pre-run [2025-04-29 10:58:29,271 WARN L117 LibraryModelHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/loops/bubble_sort-2.c[673,686] [2025-04-29 10:58:29,335 INFO L211 PostProcessor]: Analyzing one entry point: main [2025-04-29 10:58:29,361 INFO L204 MainTranslator]: Completed translation [2025-04-29 10:58:29,361 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29 WrapperNode [2025-04-29 10:58:29,361 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-04-29 10:58:29,362 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-04-29 10:58:29,362 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-04-29 10:58:29,362 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-04-29 10:58:29,367 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,381 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,401 INFO L138 Inliner]: procedures = 28, calls = 71, calls flagged for inlining = 10, calls inlined = 10, statements flattened = 220 [2025-04-29 10:58:29,403 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-04-29 10:58:29,404 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-04-29 10:58:29,404 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-04-29 10:58:29,405 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-04-29 10:58:29,411 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,411 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,421 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,457 INFO L175 MemorySlicer]: Split 35 memory accesses to 3 slices as follows [18, 1, 16]. 51 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 10 writes are split as follows [4, 1, 5]. [2025-04-29 10:58:29,462 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,462 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,472 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,477 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,480 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,486 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,487 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,495 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-04-29 10:58:29,499 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2025-04-29 10:58:29,499 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2025-04-29 10:58:29,499 INFO L274 PluginConnector]: RCFGBuilder initialized [2025-04-29 10:58:29,500 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (1/1) ... [2025-04-29 10:58:29,506 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-04-29 10:58:29,514 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-04-29 10:58:29,524 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-04-29 10:58:29,527 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-04-29 10:58:29,543 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#0 [2025-04-29 10:58:29,543 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#1 [2025-04-29 10:58:29,543 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$#2 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#0 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#1 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$#2 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-04-29 10:58:29,544 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#0 [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#1 [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$#2 [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure val_from_node [2025-04-29 10:58:29,545 INFO L138 BoogieDeclarations]: Found implementation of procedure val_from_node [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure fail [2025-04-29 10:58:29,545 INFO L138 BoogieDeclarations]: Found implementation of procedure fail [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-04-29 10:58:29,545 INFO L130 BoogieDeclarations]: Found specification of procedure inspect [2025-04-29 10:58:29,546 INFO L138 BoogieDeclarations]: Found implementation of procedure inspect [2025-04-29 10:58:29,546 INFO L130 BoogieDeclarations]: Found specification of procedure list_add [2025-04-29 10:58:29,546 INFO L138 BoogieDeclarations]: Found implementation of procedure list_add [2025-04-29 10:58:29,546 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-04-29 10:58:29,546 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-04-29 10:58:29,546 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-04-29 10:58:29,654 INFO L234 CfgBuilder]: Building ICFG [2025-04-29 10:58:29,655 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2025-04-29 10:58:29,693 INFO L726 $ProcedureCfgBuilder]: dead code at ProgramPoint failFINAL: assume true; [2025-04-29 10:58:30,043 INFO L? ?]: Removed 299 outVars from TransFormulas that were not future-live. [2025-04-29 10:58:30,044 INFO L283 CfgBuilder]: Performing block encoding [2025-04-29 10:58:30,050 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-04-29 10:58:30,051 INFO L312 CfgBuilder]: Removed 23 assume(true) statements. [2025-04-29 10:58:30,052 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 10:58:30 BoogieIcfgContainer [2025-04-29 10:58:30,052 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2025-04-29 10:58:30,054 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-04-29 10:58:30,055 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-04-29 10:58:30,058 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-04-29 10:58:30,058 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.04 10:58:29" (1/3) ... [2025-04-29 10:58:30,059 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6a40f4d1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 10:58:30, skipping insertion in model container [2025-04-29 10:58:30,059 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.04 10:58:29" (2/3) ... [2025-04-29 10:58:30,059 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6a40f4d1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.04 10:58:30, skipping insertion in model container [2025-04-29 10:58:30,059 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 10:58:30" (3/3) ... [2025-04-29 10:58:30,060 INFO L128 eAbstractionObserver]: Analyzing ICFG bubble_sort-2.c [2025-04-29 10:58:30,070 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-04-29 10:58:30,071 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG bubble_sort-2.c that has 5 procedures, 104 locations, 192 edges, 1 initial locations, 23 loop locations, and 1 error locations. [2025-04-29 10:58:30,112 INFO L339 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-04-29 10:58:30,119 INFO L340 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, 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;@18e4f6f3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-04-29 10:58:30,119 INFO L341 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2025-04-29 10:58:30,123 INFO L278 IsEmpty]: Start isEmpty. Operand has 103 states, 75 states have (on average 1.64) internal successors, (123), 93 states have internal predecessors, (123), 23 states have call successors, (23), 4 states have call predecessors, (23), 3 states have return successors, (6), 6 states have call predecessors, (6), 6 states have call successors, (6) [2025-04-29 10:58:30,127 INFO L284 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2025-04-29 10:58:30,128 INFO L210 NwaCegarLoop]: Found error trace [2025-04-29 10:58:30,128 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 10:58:30,129 INFO L403 AbstractCegarLoop]: === Iteration 1 === Targeting failErr0ASSERT_VIOLATIONERROR_FUNCTION === [failErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-04-29 10:58:30,132 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 10:58:30,133 INFO L85 PathProgramCache]: Analyzing trace with hash 194039239, now seen corresponding path program 1 times [2025-04-29 10:58:30,138 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 10:58:30,138 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1123884191] [2025-04-29 10:58:30,138 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 10:58:30,139 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 10:58:30,192 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 9 statements into 1 equivalence classes. [2025-04-29 10:58:30,201 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 9 of 9 statements. [2025-04-29 10:58:30,201 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 10:58:30,202 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 10:58:30,231 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-29 10:58:30,231 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 10:58:30,231 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1123884191] [2025-04-29 10:58:30,232 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1123884191] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 10:58:30,232 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 10:58:30,232 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-04-29 10:58:30,235 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [316784520] [2025-04-29 10:58:30,236 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 10:58:30,238 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-04-29 10:58:30,238 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 10:58:30,251 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-04-29 10:58:30,252 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-04-29 10:58:30,254 INFO L87 Difference]: Start difference. First operand has 103 states, 75 states have (on average 1.64) internal successors, (123), 93 states have internal predecessors, (123), 23 states have call successors, (23), 4 states have call predecessors, (23), 3 states have return successors, (6), 6 states have call predecessors, (6), 6 states have call successors, (6) Second operand has 2 states, 2 states have (on average 3.5) internal successors, (7), 2 states have internal predecessors, (7), 1 states have call successors, (2), 1 states have call predecessors, (2), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-29 10:58:30,288 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-04-29 10:58:30,288 INFO L93 Difference]: Finished difference Result 204 states and 304 transitions. [2025-04-29 10:58:30,289 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-04-29 10:58:30,290 INFO L79 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 3.5) internal successors, (7), 2 states have internal predecessors, (7), 1 states have call successors, (2), 1 states have call predecessors, (2), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 9 [2025-04-29 10:58:30,290 INFO L85 Accepts]: Finished accepts. some prefix is accepted. [2025-04-29 10:58:30,294 INFO L225 Difference]: With dead ends: 204 [2025-04-29 10:58:30,294 INFO L226 Difference]: Without dead ends: 95 [2025-04-29 10:58:30,296 INFO L436 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-04-29 10:58:30,298 INFO L437 NwaCegarLoop]: 127 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, 127 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 [2025-04-29 10:58:30,299 INFO L438 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 127 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2025-04-29 10:58:30,307 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 95 states. [2025-04-29 10:58:30,318 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 95 to 95. [2025-04-29 10:58:30,319 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 95 states, 68 states have (on average 1.3235294117647058) internal successors, (90), 85 states have internal predecessors, (90), 23 states have call successors, (23), 4 states have call predecessors, (23), 3 states have return successors, (5), 5 states have call predecessors, (5), 5 states have call successors, (5) [2025-04-29 10:58:30,321 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 95 states to 95 states and 118 transitions. [2025-04-29 10:58:30,323 INFO L79 Accepts]: Start accepts. Automaton has 95 states and 118 transitions. Word has length 9 [2025-04-29 10:58:30,323 INFO L85 Accepts]: Finished accepts. word is rejected. [2025-04-29 10:58:30,323 INFO L485 AbstractCegarLoop]: Abstraction has 95 states and 118 transitions. [2025-04-29 10:58:30,323 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 3.5) internal successors, (7), 2 states have internal predecessors, (7), 1 states have call successors, (2), 1 states have call predecessors, (2), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-04-29 10:58:30,323 INFO L278 IsEmpty]: Start isEmpty. Operand 95 states and 118 transitions. [2025-04-29 10:58:30,324 INFO L284 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2025-04-29 10:58:30,324 INFO L210 NwaCegarLoop]: Found error trace [2025-04-29 10:58:30,324 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 10:58:30,324 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-04-29 10:58:30,324 INFO L403 AbstractCegarLoop]: === Iteration 2 === Targeting failErr0ASSERT_VIOLATIONERROR_FUNCTION === [failErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-04-29 10:58:30,325 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 10:58:30,325 INFO L85 PathProgramCache]: Analyzing trace with hash 1947515176, now seen corresponding path program 1 times [2025-04-29 10:58:30,325 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 10:58:30,325 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2074786118] [2025-04-29 10:58:30,325 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 10:58:30,325 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 10:58:30,344 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 19 statements into 1 equivalence classes. [2025-04-29 10:58:30,376 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 19 of 19 statements. [2025-04-29 10:58:30,376 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 10:58:30,376 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-04-29 10:58:30,613 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-04-29 10:58:30,613 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-04-29 10:58:30,613 INFO L324 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2074786118] [2025-04-29 10:58:30,613 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2074786118] provided 1 perfect and 0 imperfect interpolant sequences [2025-04-29 10:58:30,613 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-04-29 10:58:30,613 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2025-04-29 10:58:30,614 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2144448262] [2025-04-29 10:58:30,614 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-04-29 10:58:30,615 INFO L562 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2025-04-29 10:58:30,615 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-04-29 10:58:30,615 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2025-04-29 10:58:30,617 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2025-04-29 10:58:30,617 INFO L87 Difference]: Start difference. First operand 95 states and 118 transitions. Second operand has 6 states, 5 states have (on average 3.0) internal successors, (15), 5 states have internal predecessors, (15), 3 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2025-04-29 10:58:30,786 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-04-29 10:58:30,786 INFO L93 Difference]: Finished difference Result 154 states and 193 transitions. [2025-04-29 10:58:30,787 INFO L140 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2025-04-29 10:58:30,787 INFO L79 Accepts]: Start accepts. Automaton has has 6 states, 5 states have (on average 3.0) internal successors, (15), 5 states have internal predecessors, (15), 3 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) Word has length 19 [2025-04-29 10:58:30,787 INFO L85 Accepts]: Finished accepts. some prefix is accepted. [2025-04-29 10:58:30,788 INFO L225 Difference]: With dead ends: 154 [2025-04-29 10:58:30,788 INFO L226 Difference]: Without dead ends: 149 [2025-04-29 10:58:30,790 INFO L436 NwaCegarLoop]: 0 DeclaredPredicates, 9 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2025-04-29 10:58:30,790 INFO L437 NwaCegarLoop]: 104 mSDtfsCounter, 239 mSDsluCounter, 283 mSDsCounter, 0 mSdLazyCounter, 62 mSolverCounterSat, 26 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 239 SdHoareTripleChecker+Valid, 387 SdHoareTripleChecker+Invalid, 88 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 26 IncrementalHoareTripleChecker+Valid, 62 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2025-04-29 10:58:30,790 INFO L438 NwaCegarLoop]: SdHoareTripleChecker [239 Valid, 387 Invalid, 88 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [26 Valid, 62 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2025-04-29 10:58:30,791 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 149 states. [2025-04-29 10:58:30,820 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 149 to 133. [2025-04-29 10:58:30,823 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 133 states, 106 states have (on average 1.3584905660377358) internal successors, (144), 122 states have internal predecessors, (144), 23 states have call successors, (23), 5 states have call predecessors, (23), 3 states have return successors, (5), 5 states have call predecessors, (5), 5 states have call successors, (5) [2025-04-29 10:58:30,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 133 states to 133 states and 172 transitions. [2025-04-29 10:58:30,827 INFO L79 Accepts]: Start accepts. Automaton has 133 states and 172 transitions. Word has length 19 [2025-04-29 10:58:30,827 INFO L85 Accepts]: Finished accepts. word is rejected. [2025-04-29 10:58:30,828 INFO L485 AbstractCegarLoop]: Abstraction has 133 states and 172 transitions. [2025-04-29 10:58:30,828 INFO L486 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 5 states have (on average 3.0) internal successors, (15), 5 states have internal predecessors, (15), 3 states have call successors, (3), 3 states have call predecessors, (3), 1 states have return successors, (1), 1 states have call predecessors, (1), 1 states have call successors, (1) [2025-04-29 10:58:30,828 INFO L278 IsEmpty]: Start isEmpty. Operand 133 states and 172 transitions. [2025-04-29 10:58:30,829 INFO L284 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2025-04-29 10:58:30,829 INFO L210 NwaCegarLoop]: Found error trace [2025-04-29 10:58:30,829 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-04-29 10:58:30,829 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-04-29 10:58:30,830 INFO L403 AbstractCegarLoop]: === Iteration 3 === Targeting failErr0ASSERT_VIOLATIONERROR_FUNCTION === [failErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2025-04-29 10:58:30,830 INFO L155 PredicateUnifier]: Initialized classic predicate unifier [2025-04-29 10:58:30,830 INFO L85 PathProgramCache]: Analyzing trace with hash -1051337044, now seen corresponding path program 1 times [2025-04-29 10:58:30,830 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-04-29 10:58:30,830 INFO L324 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [893222819] [2025-04-29 10:58:30,831 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-04-29 10:58:30,831 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-04-29 10:58:30,860 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-04-29 10:58:30,992 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-04-29 10:58:30,992 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 10:58:30,992 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 10:58:30,992 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-04-29 10:58:31,003 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-04-29 10:58:31,085 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-04-29 10:58:31,085 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-04-29 10:58:31,085 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-04-29 10:58:31,114 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-04-29 10:58:31,114 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-04-29 10:58:31,115 INFO L790 garLoopResultBuilder]: Registering result UNSAFE for location failErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2025-04-29 10:58:31,116 WARN L466 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-04-29 10:58:31,119 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1] [2025-04-29 10:58:31,156 INFO L171 ceAbstractionStarter]: Computing trace abstraction results [2025-04-29 10:58:31,159 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.04 10:58:31 BoogieIcfgContainer [2025-04-29 10:58:31,159 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-04-29 10:58:31,160 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-04-29 10:58:31,160 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-04-29 10:58:31,160 INFO L274 PluginConnector]: Witness Printer initialized [2025-04-29 10:58:31,160 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.04 10:58:30" (3/4) ... [2025-04-29 10:58:31,161 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-04-29 10:58:31,212 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 15. [2025-04-29 10:58:31,244 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-04-29 10:58:31,245 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-04-29 10:58:31,245 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-04-29 10:58:31,245 INFO L158 Benchmark]: Toolchain (without parser) took 2226.75ms. Allocated memory is still 142.6MB. Free memory was 111.4MB in the beginning and 56.2MB in the end (delta: 55.2MB). Peak memory consumption was 57.8MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: CDTParser took 0.99ms. Allocated memory is still 201.3MB. Free memory is still 126.1MB. There was no memory consumed. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: CACSL2BoogieTranslator took 342.04ms. Allocated memory is still 142.6MB. Free memory was 111.0MB in the beginning and 89.6MB in the end (delta: 21.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: Boogie Procedure Inliner took 41.37ms. Allocated memory is still 142.6MB. Free memory was 89.6MB in the beginning and 87.1MB in the end (delta: 2.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: Boogie Preprocessor took 93.97ms. Allocated memory is still 142.6MB. Free memory was 87.1MB in the beginning and 77.5MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: RCFGBuilder took 553.39ms. Allocated memory is still 142.6MB. Free memory was 77.5MB in the beginning and 102.2MB in the end (delta: -24.6MB). Peak memory consumption was 49.7MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,246 INFO L158 Benchmark]: TraceAbstraction took 1104.57ms. Allocated memory is still 142.6MB. Free memory was 102.2MB in the beginning and 64.6MB in the end (delta: 37.5MB). Peak memory consumption was 41.6MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,247 INFO L158 Benchmark]: Witness Printer took 85.25ms. Allocated memory is still 142.6MB. Free memory was 64.6MB in the beginning and 56.2MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-04-29 10:58:31,248 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.99ms. Allocated memory is still 201.3MB. Free memory is still 126.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 342.04ms. Allocated memory is still 142.6MB. Free memory was 111.0MB in the beginning and 89.6MB in the end (delta: 21.4MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 41.37ms. Allocated memory is still 142.6MB. Free memory was 89.6MB in the beginning and 87.1MB in the end (delta: 2.5MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 93.97ms. Allocated memory is still 142.6MB. Free memory was 87.1MB in the beginning and 77.5MB in the end (delta: 9.6MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * RCFGBuilder took 553.39ms. Allocated memory is still 142.6MB. Free memory was 77.5MB in the beginning and 102.2MB in the end (delta: -24.6MB). Peak memory consumption was 49.7MB. Max. memory is 16.1GB. * TraceAbstraction took 1104.57ms. Allocated memory is still 142.6MB. Free memory was 102.2MB in the beginning and 64.6MB in the end (delta: 37.5MB). Peak memory consumption was 41.6MB. Max. memory is 16.1GB. * Witness Printer took 85.25ms. Allocated memory is still 142.6MB. Free memory was 64.6MB in the beginning and 56.2MB in the end (delta: 8.4MB). Peak memory consumption was 8.4MB. 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: 27]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L31] struct list_head gl_list = {& gl_list, & gl_list}; [L31] struct list_head gl_list = {& gl_list, & gl_list}; [L31] struct list_head gl_list = {& gl_list, & gl_list}; VAL [gl_list={1:0}] [L847] struct list_head const *__cil_tmp1 ; [L848] struct list_head const *__cil_tmp2 ; [L852] CALL gl_read() [L678] int tmp ; [L679] int tmp___0 ; VAL [gl_list={1:0}] [L686] tmp = __VERIFIER_nondet_int() [L687] CALL gl_insert(tmp) [L622] struct node *node ; [L623] void *tmp ; [L624] unsigned int __cil_tmp4 ; [L625] unsigned int __cil_tmp5 ; [L626] unsigned int __cil_tmp6 ; [L627] struct list_head *__cil_tmp7 ; [L628] unsigned int __cil_tmp8 ; [L629] unsigned int __cil_tmp9 ; [L630] unsigned int __cil_tmp10 ; [L631] unsigned int __cil_tmp11 ; [L632] unsigned int __cil_tmp12 ; [L633] unsigned int __cil_tmp13 ; [L634] unsigned int __cil_tmp14 ; [L635] unsigned int __cil_tmp15 ; [L639] __cil_tmp4 = (unsigned int )20UL [L640] tmp = malloc(__cil_tmp4) [L641] node = (struct node *)tmp VAL [gl_list={1:0}, node={4294967293:0}, value=-1] [L643] COND FALSE !(! node) VAL [gl_list={1:0}, node={4294967293:0}, value=-1] [L651] *((int *)node) = value [L652] __cil_tmp5 = (unsigned int )node [L653] __cil_tmp6 = __cil_tmp5 + 4 [L654] __cil_tmp7 = (struct list_head *)__cil_tmp6 VAL [__cil_tmp7={0:1}, gl_list={1:0}, node={4294967293:0}] [L655] CALL list_add(__cil_tmp7, & gl_list) VAL [gl_list={1:0}] [L593] struct list_head *__cil_tmp3 ; [L597] EXPR \read(*head) [L597] __cil_tmp3 = *((struct list_head **)head) [L598] CALL __list_add(new, head, __cil_tmp3) [L563] unsigned int __cil_tmp4 ; [L564] unsigned int __cil_tmp5 ; [L565] unsigned int __cil_tmp6 ; [L566] unsigned int __cil_tmp7 ; [L569] __cil_tmp4 = (unsigned int )next [L570] __cil_tmp5 = __cil_tmp4 + 4 [L571] *((struct list_head **)__cil_tmp5) = new [L572] *((struct list_head **)new) = next [L573] __cil_tmp6 = (unsigned int )new [L574] __cil_tmp7 = __cil_tmp6 + 4 [L575] *((struct list_head **)__cil_tmp7) = prev [L576] *((struct list_head **)prev) = new VAL [\at(head, Pre)={1:0}, \at(new, Pre)={0:1}, gl_list={1:0}] [L598] RET __list_add(new, head, __cil_tmp3) [L655] RET list_add(__cil_tmp7, & gl_list) VAL [__cil_tmp7={0:1}, gl_list={1:0}, node={4294967293:0}] [L660] __cil_tmp8 = (unsigned int )node [L661] __cil_tmp9 = __cil_tmp8 + 12 [L662] __cil_tmp10 = (unsigned int )node [L663] __cil_tmp11 = __cil_tmp10 + 12 [L664] *((struct list_head **)__cil_tmp9) = (struct list_head *)__cil_tmp11 [L665] __cil_tmp12 = (unsigned int )node [L666] __cil_tmp13 = __cil_tmp12 + 12 [L667] __cil_tmp14 = (unsigned int )node [L668] __cil_tmp15 = __cil_tmp14 + 12 [L669] *((struct list_head **)__cil_tmp13) = (struct list_head *)__cil_tmp15 VAL [gl_list={1:0}] [L687] RET gl_insert(tmp) [L688] tmp___0 = __VERIFIER_nondet_int() [L690] COND FALSE !(\read(tmp___0)) VAL [gl_list={1:0}] [L852] RET gl_read() [L853] __cil_tmp1 = (struct list_head const *)(& gl_list) VAL [__cil_tmp1={1:0}, gl_list={1:0}] [L854] CALL inspect(__cil_tmp1) VAL [\at(head, Pre)={1:0}, gl_list={1:0}] [L33] struct node const *node ; [L34] unsigned int __cil_tmp3 ; [L35] struct list_head *__cil_tmp4 ; [L36] unsigned int __cil_tmp5 ; [L37] int __cil_tmp6 ; [L38] unsigned int __cil_tmp7 ; [L39] unsigned int __cil_tmp8 ; [L40] unsigned int __cil_tmp9 ; [L41] struct list_head *__cil_tmp10 ; [L42] unsigned int __cil_tmp11 ; [L43] int __cil_tmp12 ; [L44] unsigned int __cil_tmp13 ; [L45] unsigned int __cil_tmp14 ; [L46] struct list_head *__cil_tmp15 ; [L47] unsigned int __cil_tmp16 ; [L48] struct list_head *__cil_tmp17 ; [L49] unsigned int __cil_tmp18 ; [L50] int __cil_tmp19 ; [L51] unsigned int __cil_tmp20 ; [L52] unsigned int __cil_tmp21 ; [L53] unsigned int __cil_tmp22 ; [L54] struct list_head *__cil_tmp23 ; [L55] unsigned int __cil_tmp24 ; [L56] int __cil_tmp25 ; [L57] struct node *__cil_tmp26 ; [L58] unsigned int __cil_tmp27 ; [L59] unsigned int __cil_tmp28 ; [L60] struct list_head *__cil_tmp29 ; [L61] unsigned long __cil_tmp30 ; [L62] char *__cil_tmp31 ; [L63] char *__cil_tmp32 ; [L64] struct node *__cil_tmp33 ; [L65] unsigned int __cil_tmp34 ; [L66] unsigned int __cil_tmp35 ; [L67] struct list_head const *__cil_tmp36 ; [L68] unsigned int __cil_tmp37 ; [L69] unsigned int __cil_tmp38 ; [L70] unsigned int __cil_tmp39 ; [L71] struct list_head *__cil_tmp40 ; [L72] unsigned int __cil_tmp41 ; [L73] int __cil_tmp42 ; [L74] unsigned int __cil_tmp43 ; [L75] unsigned int __cil_tmp44 ; [L76] struct list_head const *__cil_tmp45 ; [L77] unsigned int __cil_tmp46 ; [L78] unsigned int __cil_tmp47 ; [L79] unsigned int __cil_tmp48 ; [L80] unsigned int __cil_tmp49 ; [L81] struct list_head *__cil_tmp50 ; [L82] unsigned int __cil_tmp51 ; [L83] int __cil_tmp52 ; [L84] unsigned int __cil_tmp53 ; [L85] unsigned int __cil_tmp54 ; [L86] struct list_head const *__cil_tmp55 ; [L87] unsigned int __cil_tmp56 ; [L88] unsigned int __cil_tmp57 ; [L89] unsigned int __cil_tmp58 ; [L90] struct list_head *__cil_tmp59 ; [L91] unsigned int __cil_tmp60 ; [L92] int __cil_tmp61 ; [L93] unsigned int __cil_tmp62 ; [L94] unsigned int __cil_tmp63 ; [L95] struct list_head const *__cil_tmp64 ; [L96] unsigned int __cil_tmp65 ; [L97] unsigned int __cil_tmp66 ; [L98] unsigned int __cil_tmp67 ; [L99] unsigned int __cil_tmp68 ; [L100] struct list_head *__cil_tmp69 ; [L101] unsigned int __cil_tmp70 ; [L102] int __cil_tmp71 ; [L103] struct node const *__cil_tmp72 ; [L104] unsigned int __cil_tmp73 ; [L105] unsigned int __cil_tmp74 ; [L106] int __cil_tmp75 ; [L107] unsigned int __cil_tmp76 ; [L108] unsigned int __cil_tmp77 ; [L109] struct list_head const *__cil_tmp78 ; [L110] struct node const *__cil_tmp79 ; [L111] unsigned int __cil_tmp80 ; [L112] unsigned int __cil_tmp81 ; [L113] int __cil_tmp82 ; [L114] int const *__cil_tmp83 ; [L115] struct node const *__cil_tmp84 ; [L116] unsigned int __cil_tmp85 ; [L117] unsigned int __cil_tmp86 ; [L118] int __cil_tmp87 ; [L119] unsigned int __cil_tmp88 ; [L120] unsigned int __cil_tmp89 ; [L121] struct list_head *__cil_tmp90 ; [L122] unsigned int __cil_tmp91 ; [L123] unsigned int __cil_tmp92 ; [L124] struct list_head *__cil_tmp93 ; [L125] unsigned int __cil_tmp94 ; [L126] unsigned int __cil_tmp95 ; [L127] int __cil_tmp96 ; [L128] unsigned int __cil_tmp97 ; [L129] unsigned int __cil_tmp98 ; [L130] unsigned int __cil_tmp99 ; [L131] struct list_head *__cil_tmp100 ; [L132] struct list_head *__cil_tmp101 ; [L133] unsigned int __cil_tmp102 ; [L134] unsigned int __cil_tmp103 ; [L135] int __cil_tmp104 ; [L136] struct list_head *__cil_tmp105 ; [L137] unsigned int __cil_tmp106 ; [L138] unsigned int __cil_tmp107 ; [L139] unsigned int __cil_tmp108 ; [L140] struct list_head const *__cil_tmp109 ; [L141] unsigned int __cil_tmp110 ; [L142] struct list_head *__cil_tmp111 ; [L143] unsigned int __cil_tmp112 ; [L144] struct node *__cil_tmp113 ; [L145] unsigned int __cil_tmp114 ; [L146] unsigned int __cil_tmp115 ; [L147] struct list_head *__cil_tmp116 ; [L148] unsigned long __cil_tmp117 ; [L149] char *__cil_tmp118 ; [L150] char *__cil_tmp119 ; [L151] struct node *__cil_tmp120 ; [L152] unsigned int __cil_tmp121 ; [L153] int __cil_tmp122 ; VAL [\at(head, Pre)={1:0}, gl_list={1:0}, head={1:0}] [L159] COND FALSE !(! head) VAL [\at(head, Pre)={1:0}, gl_list={1:0}, head={1:0}] [L174] __cil_tmp3 = (unsigned int )head [L175] EXPR \read(*head) [L175] __cil_tmp4 = *((struct list_head * const *)head) [L176] __cil_tmp5 = (unsigned int )__cil_tmp4 [L177] __cil_tmp6 = __cil_tmp5 != __cil_tmp3 VAL [\at(head, Pre)={1:0}, __cil_tmp6=0, gl_list={1:0}, head={1:0}] [L178] COND TRUE ! __cil_tmp6 VAL [\at(head, Pre)={1:0}, gl_list={1:0}, head={1:0}] [L180] CALL fail() VAL [gl_list={1:0}] [L27] reach_error() VAL [gl_list={1:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 104 locations, 192 edges, 1 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 239 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 239 mSDsluCounter, 514 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 283 mSDsCounter, 26 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 62 IncrementalHoareTripleChecker+Invalid, 88 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 26 mSolverCounterUnsat, 231 mSDtfsCounter, 62 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=133occurred in iteration=2, InterpolantAutomatonStates: 8, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 2 MinimizatonAttempts, 16 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 49 NumberOfCodeBlocks, 49 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 26 ConstructedInterpolants, 0 QuantifiedInterpolants, 50 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 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, ConComCheckerStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2025-04-29 10:58:31,263 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE