./Ultimate.py --spec ../sv-benchmarks/c/properties/no-overflow.prp --file ../sv-benchmarks/c/recursified_nla-digbench/recursified_egcd2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 8fc3dc66 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 ../sv-benchmarks/c/recursified_nla-digbench/recursified_egcd2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-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 ! overflow) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4ff641574c5c4b41213c0a7618630c50b2b820c3ae0c2511bc348b3db9b6781b --- Real Ultimate output --- This is Ultimate 0.3.0-?-8fc3dc6-m [2025-03-17 15:47:52,556 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-17 15:47:52,610 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf [2025-03-17 15:47:52,613 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-17 15:47:52,614 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-17 15:47:52,635 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-17 15:47:52,638 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-17 15:47:52,638 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-17 15:47:52,638 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-17 15:47:52,639 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-17 15:47:52,639 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-17 15:47:52,639 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-17 15:47:52,639 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-17 15:47:52,640 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-17 15:47:52,640 INFO L153 SettingsManager]: * Use SBE=true [2025-03-17 15:47:52,640 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-17 15:47:52,640 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-17 15:47:52,640 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-17 15:47:52,640 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-17 15:47:52,641 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-17 15:47:52,642 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 15:47:52,642 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-17 15:47:52,642 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-17 15:47:52,643 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-17 15:47:52,643 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-17 15:47:52,643 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-17 15:47:52,643 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-17 15:47:52,643 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 ! overflow) ) 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 -> 4ff641574c5c4b41213c0a7618630c50b2b820c3ae0c2511bc348b3db9b6781b [2025-03-17 15:47:52,862 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-17 15:47:52,867 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-17 15:47:52,870 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-17 15:47:52,871 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-17 15:47:52,871 INFO L274 PluginConnector]: CDTParser initialized [2025-03-17 15:47:52,873 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/recursified_nla-digbench/recursified_egcd2.c [2025-03-17 15:47:54,035 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a4b6da7c/4482b8dfc0044d0090789010bd84fd79/FLAGc6a6d9f51 [2025-03-17 15:47:54,269 INFO L384 CDTParser]: Found 1 translation units. [2025-03-17 15:47:54,269 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/recursified_nla-digbench/recursified_egcd2.c [2025-03-17 15:47:54,277 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a4b6da7c/4482b8dfc0044d0090789010bd84fd79/FLAGc6a6d9f51 [2025-03-17 15:47:54,609 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9a4b6da7c/4482b8dfc0044d0090789010bd84fd79 [2025-03-17 15:47:54,611 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-17 15:47:54,613 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-17 15:47:54,614 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-17 15:47:54,615 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-17 15:47:54,618 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-17 15:47:54,619 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,619 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@afae32b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54, skipping insertion in model container [2025-03-17 15:47:54,620 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,636 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-17 15:47:54,743 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 15:47:54,749 INFO L200 MainTranslator]: Completed pre-run [2025-03-17 15:47:54,767 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 15:47:54,777 INFO L204 MainTranslator]: Completed translation [2025-03-17 15:47:54,777 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54 WrapperNode [2025-03-17 15:47:54,777 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-17 15:47:54,778 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-17 15:47:54,778 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-17 15:47:54,778 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-17 15:47:54,782 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,793 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,806 INFO L138 Inliner]: procedures = 17, calls = 136, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 137 [2025-03-17 15:47:54,806 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-17 15:47:54,807 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-17 15:47:54,807 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-17 15:47:54,807 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-17 15:47:54,812 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,812 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,818 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,832 INFO L175 MemorySlicer]: Split 88 memory accesses to 12 slices as follows [10, 5, 2, 8, 8, 7, 5, 8, 7, 12, 9, 7]. 14 percent of accesses are in the largest equivalence class. The 10 initializations are split as follows [0, 0, 2, 0, 8, 0, 0, 0, 0, 0, 0, 0]. The 20 writes are split as follows [2, 2, 0, 2, 0, 2, 2, 2, 3, 1, 1, 3]. [2025-03-17 15:47:54,832 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,832 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,838 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,839 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,840 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,841 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,846 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-17 15:47:54,847 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-17 15:47:54,847 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-17 15:47:54,847 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-17 15:47:54,847 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (1/1) ... [2025-03-17 15:47:54,851 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 15:47:54,859 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 15:47:54,868 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-03-17 15:47:54,870 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-03-17 15:47:54,885 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-17 15:47:54,885 INFO L130 BoogieDeclarations]: Found specification of procedure assume_abort_if_not [2025-03-17 15:47:54,885 INFO L138 BoogieDeclarations]: Found implementation of procedure assume_abort_if_not [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#4 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#5 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#6 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#7 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#8 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#9 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#10 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#11 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure func_to_recursive_line_34_to_60_0 [2025-03-17 15:47:54,886 INFO L138 BoogieDeclarations]: Found implementation of procedure func_to_recursive_line_34_to_60_0 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure func_to_recursive_line_40_to_48_0 [2025-03-17 15:47:54,886 INFO L138 BoogieDeclarations]: Found implementation of procedure func_to_recursive_line_40_to_48_0 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#4 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#5 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#6 [2025-03-17 15:47:54,886 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#7 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#8 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#9 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#10 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#11 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-17 15:47:54,887 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#4 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#5 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#6 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#7 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#8 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#9 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#10 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#11 [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2025-03-17 15:47:54,887 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2025-03-17 15:47:54,887 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-03-17 15:47:54,983 INFO L256 CfgBuilder]: Building ICFG [2025-03-17 15:47:54,985 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-17 15:47:55,449 INFO L1322 $ProcedureCfgBuilder]: dead code at ProgramPoint L132: havoc main_#t~mem63#1;call ULTIMATE.dealloc(main_~#x~0#1.base, main_~#x~0#1.offset);havoc main_~#x~0#1.base, main_~#x~0#1.offset;call ULTIMATE.dealloc(main_~#y~0#1.base, main_~#y~0#1.offset);havoc main_~#y~0#1.base, main_~#y~0#1.offset;call ULTIMATE.dealloc(main_~#a~0#1.base, main_~#a~0#1.offset);havoc main_~#a~0#1.base, main_~#a~0#1.offset;call ULTIMATE.dealloc(main_~#b~0#1.base, main_~#b~0#1.offset);havoc main_~#b~0#1.base, main_~#b~0#1.offset;call ULTIMATE.dealloc(main_~#p~0#1.base, main_~#p~0#1.offset);havoc main_~#p~0#1.base, main_~#p~0#1.offset;call ULTIMATE.dealloc(main_~#q~0#1.base, main_~#q~0#1.offset);havoc main_~#q~0#1.base, main_~#q~0#1.offset;call ULTIMATE.dealloc(main_~#r~0#1.base, main_~#r~0#1.offset);havoc main_~#r~0#1.base, main_~#r~0#1.offset;call ULTIMATE.dealloc(main_~#s~0#1.base, main_~#s~0#1.offset);havoc main_~#s~0#1.base, main_~#s~0#1.offset;call ULTIMATE.dealloc(main_~#c~0#1.base, main_~#c~0#1.offset);havoc main_~#c~0#1.base, main_~#c~0#1.offset;call ULTIMATE.dealloc(main_~#k~0#1.base, main_~#k~0#1.offset);havoc main_~#k~0#1.base, main_~#k~0#1.offset; [2025-03-17 15:47:55,479 INFO L? ?]: Removed 240 outVars from TransFormulas that were not future-live. [2025-03-17 15:47:55,479 INFO L307 CfgBuilder]: Performing block encoding [2025-03-17 15:47:55,489 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-17 15:47:55,489 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-17 15:47:55,490 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 03:47:55 BoogieIcfgContainer [2025-03-17 15:47:55,490 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-17 15:47:55,494 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-17 15:47:55,494 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-17 15:47:55,497 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-17 15:47:55,497 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.03 03:47:54" (1/3) ... [2025-03-17 15:47:55,498 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@59ff3044 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 03:47:55, skipping insertion in model container [2025-03-17 15:47:55,498 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 03:47:54" (2/3) ... [2025-03-17 15:47:55,498 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@59ff3044 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 03:47:55, skipping insertion in model container [2025-03-17 15:47:55,499 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 03:47:55" (3/3) ... [2025-03-17 15:47:55,499 INFO L128 eAbstractionObserver]: Analyzing ICFG recursified_egcd2.c [2025-03-17 15:47:55,509 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-17 15:47:55,510 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG recursified_egcd2.c that has 5 procedures, 172 locations, 1 initial locations, 0 loop locations, and 64 error locations. [2025-03-17 15:47:55,547 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-17 15:47:55,556 INFO L333 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;@8b73eff, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-17 15:47:55,557 INFO L334 AbstractCegarLoop]: Starting to check reachability of 64 error locations. [2025-03-17 15:47:55,560 INFO L276 IsEmpty]: Start isEmpty. Operand has 172 states, 91 states have (on average 1.7692307692307692) internal successors, (161), 157 states have internal predecessors, (161), 12 states have call successors, (12), 4 states have call predecessors, (12), 4 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) [2025-03-17 15:47:55,565 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2025-03-17 15:47:55,565 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 15:47:55,565 INFO L218 NwaCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 15:47:55,566 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting func_to_recursive_line_40_to_48_0Err43ASSERT_VIOLATIONINTEGER_OVERFLOW === [func_to_recursive_line_40_to_48_0Err0ASSERT_VIOLATIONINTEGER_OVERFLOW, func_to_recursive_line_40_to_48_0Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 62 more)] === [2025-03-17 15:47:55,569 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 15:47:55,569 INFO L85 PathProgramCache]: Analyzing trace with hash 150880289, now seen corresponding path program 1 times [2025-03-17 15:47:55,574 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 15:47:55,576 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [658598136] [2025-03-17 15:47:55,576 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:55,577 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 15:47:55,650 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-03-17 15:47:55,677 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-03-17 15:47:55,677 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:55,678 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 15:47:55,758 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2025-03-17 15:47:55,759 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 15:47:55,759 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [658598136] [2025-03-17 15:47:55,759 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [658598136] provided 0 perfect and 1 imperfect interpolant sequences [2025-03-17 15:47:55,760 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2055461061] [2025-03-17 15:47:55,760 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:55,760 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 15:47:55,761 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 15:47:55,763 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 15:47:55,765 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-03-17 15:47:55,858 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-03-17 15:47:55,902 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-03-17 15:47:55,902 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:55,903 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 15:47:55,909 INFO L256 TraceCheckSpWp]: Trace formula consists of 403 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-03-17 15:47:55,911 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 15:47:55,918 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 2 trivial. 0 not checked. [2025-03-17 15:47:55,919 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-17 15:47:55,919 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2055461061] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 15:47:55,919 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2025-03-17 15:47:55,920 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [2] total 2 [2025-03-17 15:47:55,921 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2056714820] [2025-03-17 15:47:55,921 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 15:47:55,924 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-03-17 15:47:55,924 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 15:47:55,935 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-03-17 15:47:55,936 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-03-17 15:47:55,937 INFO L87 Difference]: Start difference. First operand has 172 states, 91 states have (on average 1.7692307692307692) internal successors, (161), 157 states have internal predecessors, (161), 12 states have call successors, (12), 4 states have call predecessors, (12), 4 states have return successors, (12), 12 states have call predecessors, (12), 12 states have call successors, (12) Second operand has 2 states, 2 states have (on average 7.0) internal successors, (14), 2 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 2 states have call successors, (2) [2025-03-17 15:47:55,967 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-17 15:47:55,967 INFO L93 Difference]: Finished difference Result 342 states and 379 transitions. [2025-03-17 15:47:55,968 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-03-17 15:47:55,970 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 7.0) internal successors, (14), 2 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 2 states have call successors, (2) Word has length 21 [2025-03-17 15:47:55,970 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-17 15:47:55,974 INFO L225 Difference]: With dead ends: 342 [2025-03-17 15:47:55,975 INFO L226 Difference]: Without dead ends: 167 [2025-03-17 15:47:55,978 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 22 GetRequests, 22 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-03-17 15:47:55,979 INFO L435 NwaCegarLoop]: 181 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, 181 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-03-17 15:47:55,980 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 181 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 0 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2025-03-17 15:47:55,988 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 167 states. [2025-03-17 15:47:56,003 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 167 to 167. [2025-03-17 15:47:56,004 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 167 states, 88 states have (on average 1.7386363636363635) internal successors, (153), 153 states have internal predecessors, (153), 11 states have call successors, (11), 4 states have call predecessors, (11), 4 states have return successors, (11), 11 states have call predecessors, (11), 11 states have call successors, (11) [2025-03-17 15:47:56,009 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 167 states to 167 states and 175 transitions. [2025-03-17 15:47:56,013 INFO L78 Accepts]: Start accepts. Automaton has 167 states and 175 transitions. Word has length 21 [2025-03-17 15:47:56,014 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-17 15:47:56,014 INFO L471 AbstractCegarLoop]: Abstraction has 167 states and 175 transitions. [2025-03-17 15:47:56,014 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 7.0) internal successors, (14), 2 states have internal predecessors, (14), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 2 states have call successors, (2) [2025-03-17 15:47:56,014 INFO L276 IsEmpty]: Start isEmpty. Operand 167 states and 175 transitions. [2025-03-17 15:47:56,015 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2025-03-17 15:47:56,015 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 15:47:56,015 INFO L218 NwaCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 15:47:56,022 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-03-17 15:47:56,215 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable0 [2025-03-17 15:47:56,216 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting func_to_recursive_line_40_to_48_0Err43ASSERT_VIOLATIONINTEGER_OVERFLOW === [func_to_recursive_line_40_to_48_0Err0ASSERT_VIOLATIONINTEGER_OVERFLOW, func_to_recursive_line_40_to_48_0Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 62 more)] === [2025-03-17 15:47:56,216 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 15:47:56,216 INFO L85 PathProgramCache]: Analyzing trace with hash -717109345, now seen corresponding path program 1 times [2025-03-17 15:47:56,216 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 15:47:56,216 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1509722615] [2025-03-17 15:47:56,216 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:56,216 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 15:47:56,232 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-03-17 15:47:56,291 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-03-17 15:47:56,292 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:56,292 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unknown [2025-03-17 15:47:56,297 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1718157263] [2025-03-17 15:47:56,297 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:56,297 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 15:47:56,297 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 15:47:56,301 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 15:47:56,302 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-03-17 15:47:56,380 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 21 statements into 1 equivalence classes. [2025-03-17 15:47:56,433 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 21 of 21 statements. [2025-03-17 15:47:56,434 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:56,434 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 15:47:56,436 INFO L256 TraceCheckSpWp]: Trace formula consists of 403 conjuncts, 50 conjuncts are in the unsatisfiable core [2025-03-17 15:47:56,440 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 15:47:56,512 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 23 treesize of output 15 [2025-03-17 15:47:56,517 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 1 [2025-03-17 15:47:56,568 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 1 [2025-03-17 15:47:56,626 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 7 [2025-03-17 15:47:56,630 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 15 treesize of output 7 [2025-03-17 15:47:56,644 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 3 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2025-03-17 15:47:56,644 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-17 15:47:56,644 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 15:47:56,644 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1509722615] [2025-03-17 15:47:56,645 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2025-03-17 15:47:56,645 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1718157263] [2025-03-17 15:47:56,645 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1718157263] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 15:47:56,645 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 15:47:56,645 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [13] imperfect sequences [] total 13 [2025-03-17 15:47:56,645 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [761651927] [2025-03-17 15:47:56,645 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 15:47:56,646 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 14 states [2025-03-17 15:47:56,646 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 15:47:56,646 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 14 interpolants. [2025-03-17 15:47:56,646 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=27, Invalid=155, Unknown=0, NotChecked=0, Total=182 [2025-03-17 15:47:56,646 INFO L87 Difference]: Start difference. First operand 167 states and 175 transitions. Second operand has 14 states, 10 states have (on average 1.5) internal successors, (15), 11 states have internal predecessors, (15), 4 states have call successors, (4), 3 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2025-03-17 15:47:57,019 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-17 15:47:57,019 INFO L93 Difference]: Finished difference Result 307 states and 321 transitions. [2025-03-17 15:47:57,019 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 15 states. [2025-03-17 15:47:57,020 INFO L78 Accepts]: Start accepts. Automaton has has 14 states, 10 states have (on average 1.5) internal successors, (15), 11 states have internal predecessors, (15), 4 states have call successors, (4), 3 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) Word has length 21 [2025-03-17 15:47:57,020 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-17 15:47:57,022 INFO L225 Difference]: With dead ends: 307 [2025-03-17 15:47:57,023 INFO L226 Difference]: Without dead ends: 273 [2025-03-17 15:47:57,024 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 19 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 32 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=61, Invalid=359, Unknown=0, NotChecked=0, Total=420 [2025-03-17 15:47:57,024 INFO L435 NwaCegarLoop]: 148 mSDtfsCounter, 214 mSDsluCounter, 1399 mSDsCounter, 0 mSdLazyCounter, 356 mSolverCounterSat, 16 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 216 SdHoareTripleChecker+Valid, 1547 SdHoareTripleChecker+Invalid, 372 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 16 IncrementalHoareTripleChecker+Valid, 356 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.2s IncrementalHoareTripleChecker+Time [2025-03-17 15:47:57,025 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [216 Valid, 1547 Invalid, 372 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [16 Valid, 356 Invalid, 0 Unknown, 0 Unchecked, 0.2s Time] [2025-03-17 15:47:57,026 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 273 states. [2025-03-17 15:47:57,038 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 273 to 224. [2025-03-17 15:47:57,039 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 224 states, 139 states have (on average 1.7553956834532374) internal successors, (244), 204 states have internal predecessors, (244), 16 states have call successors, (16), 6 states have call predecessors, (16), 5 states have return successors, (17), 15 states have call predecessors, (17), 16 states have call successors, (17) [2025-03-17 15:47:57,040 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 224 states to 224 states and 277 transitions. [2025-03-17 15:47:57,040 INFO L78 Accepts]: Start accepts. Automaton has 224 states and 277 transitions. Word has length 21 [2025-03-17 15:47:57,040 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-17 15:47:57,040 INFO L471 AbstractCegarLoop]: Abstraction has 224 states and 277 transitions. [2025-03-17 15:47:57,041 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 14 states, 10 states have (on average 1.5) internal successors, (15), 11 states have internal predecessors, (15), 4 states have call successors, (4), 3 states have call predecessors, (4), 2 states have return successors, (2), 2 states have call predecessors, (2), 2 states have call successors, (2) [2025-03-17 15:47:57,041 INFO L276 IsEmpty]: Start isEmpty. Operand 224 states and 277 transitions. [2025-03-17 15:47:57,041 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2025-03-17 15:47:57,041 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 15:47:57,041 INFO L218 NwaCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 15:47:57,048 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2025-03-17 15:47:57,245 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable1 [2025-03-17 15:47:57,245 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting func_to_recursive_line_40_to_48_0Err42ASSERT_VIOLATIONINTEGER_OVERFLOW === [func_to_recursive_line_40_to_48_0Err0ASSERT_VIOLATIONINTEGER_OVERFLOW, func_to_recursive_line_40_to_48_0Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 62 more)] === [2025-03-17 15:47:57,245 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 15:47:57,245 INFO L85 PathProgramCache]: Analyzing trace with hash -755553148, now seen corresponding path program 1 times [2025-03-17 15:47:57,245 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 15:47:57,245 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1644510804] [2025-03-17 15:47:57,245 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:57,246 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 15:47:57,261 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 22 statements into 1 equivalence classes. [2025-03-17 15:47:57,298 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 22 of 22 statements. [2025-03-17 15:47:57,300 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:57,300 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unknown [2025-03-17 15:47:57,303 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [533694990] [2025-03-17 15:47:57,307 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:57,307 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 15:47:57,307 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 15:47:57,309 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 15:47:57,310 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2025-03-17 15:47:57,378 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 22 statements into 1 equivalence classes. [2025-03-17 15:47:57,418 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 22 of 22 statements. [2025-03-17 15:47:57,418 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:57,418 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 15:47:57,420 INFO L256 TraceCheckSpWp]: Trace formula consists of 404 conjuncts, 17 conjuncts are in the unsatisfiable core [2025-03-17 15:47:57,422 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 15:47:57,427 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2025-03-17 15:47:57,447 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 4 trivial. 0 not checked. [2025-03-17 15:47:57,448 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-03-17 15:47:57,448 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 15:47:57,448 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1644510804] [2025-03-17 15:47:57,448 WARN L311 FreeRefinementEngine]: Interpolation failed due to KNOWN_IGNORE: SMT_SOLVER_CANNOT_INTERPOLATE_INPUT [2025-03-17 15:47:57,448 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [533694990] [2025-03-17 15:47:57,448 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [533694990] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 15:47:57,448 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 15:47:57,448 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-17 15:47:57,448 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1218601558] [2025-03-17 15:47:57,448 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 15:47:57,449 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 6 states [2025-03-17 15:47:57,449 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 15:47:57,449 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2025-03-17 15:47:57,449 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2025-03-17 15:47:57,449 INFO L87 Difference]: Start difference. First operand 224 states and 277 transitions. Second operand has 6 states, 4 states have (on average 3.25) internal successors, (13), 5 states have internal predecessors, (13), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 1 states have call successors, (2) [2025-03-17 15:47:57,556 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-17 15:47:57,556 INFO L93 Difference]: Finished difference Result 343 states and 402 transitions. [2025-03-17 15:47:57,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2025-03-17 15:47:57,557 INFO L78 Accepts]: Start accepts. Automaton has has 6 states, 4 states have (on average 3.25) internal successors, (13), 5 states have internal predecessors, (13), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 1 states have call successors, (2) Word has length 22 [2025-03-17 15:47:57,557 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-17 15:47:57,559 INFO L225 Difference]: With dead ends: 343 [2025-03-17 15:47:57,559 INFO L226 Difference]: Without dead ends: 341 [2025-03-17 15:47:57,560 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 23 GetRequests, 17 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=19, Invalid=37, Unknown=0, NotChecked=0, Total=56 [2025-03-17 15:47:57,560 INFO L435 NwaCegarLoop]: 162 mSDtfsCounter, 207 mSDsluCounter, 626 mSDsCounter, 0 mSdLazyCounter, 85 mSolverCounterSat, 11 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 207 SdHoareTripleChecker+Valid, 788 SdHoareTripleChecker+Invalid, 96 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 11 IncrementalHoareTripleChecker+Valid, 85 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2025-03-17 15:47:57,560 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [207 Valid, 788 Invalid, 96 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [11 Valid, 85 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2025-03-17 15:47:57,561 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 341 states. [2025-03-17 15:47:57,569 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 341 to 223. [2025-03-17 15:47:57,570 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 223 states, 139 states have (on average 1.7482014388489209) internal successors, (243), 203 states have internal predecessors, (243), 15 states have call successors, (15), 6 states have call predecessors, (15), 5 states have return successors, (16), 15 states have call predecessors, (16), 15 states have call successors, (16) [2025-03-17 15:47:57,571 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 223 states to 223 states and 274 transitions. [2025-03-17 15:47:57,571 INFO L78 Accepts]: Start accepts. Automaton has 223 states and 274 transitions. Word has length 22 [2025-03-17 15:47:57,571 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-17 15:47:57,571 INFO L471 AbstractCegarLoop]: Abstraction has 223 states and 274 transitions. [2025-03-17 15:47:57,571 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 6 states, 4 states have (on average 3.25) internal successors, (13), 5 states have internal predecessors, (13), 2 states have call successors, (4), 2 states have call predecessors, (4), 1 states have return successors, (2), 1 states have call predecessors, (2), 1 states have call successors, (2) [2025-03-17 15:47:57,571 INFO L276 IsEmpty]: Start isEmpty. Operand 223 states and 274 transitions. [2025-03-17 15:47:57,572 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2025-03-17 15:47:57,572 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 15:47:57,572 INFO L218 NwaCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 15:47:57,579 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2025-03-17 15:47:57,772 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 15:47:57,772 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting func_to_recursive_line_40_to_48_0Err41ASSERT_VIOLATIONINTEGER_OVERFLOW === [func_to_recursive_line_40_to_48_0Err0ASSERT_VIOLATIONINTEGER_OVERFLOW, func_to_recursive_line_40_to_48_0Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 62 more)] === [2025-03-17 15:47:57,773 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 15:47:57,773 INFO L85 PathProgramCache]: Analyzing trace with hash -1947311043, now seen corresponding path program 1 times [2025-03-17 15:47:57,773 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 15:47:57,773 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [880582397] [2025-03-17 15:47:57,773 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 15:47:57,773 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 15:47:57,786 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 23 statements into 1 equivalence classes. [2025-03-17 15:47:57,809 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 23 of 23 statements. [2025-03-17 15:47:57,809 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 15:47:57,809 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat