./Ultimate.py --spec ../sv-benchmarks/c/properties/no-overflow.prp --file ../sv-benchmarks/c/loops/sum_array-2-1.i --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/loops/sum_array-2-1.i -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 0e94a2410b8f9c85a45197b99fd856588e050ecf98cb4c3bee10ba4be0dc2732 --- Real Ultimate output --- This is Ultimate 0.3.0-?-8fc3dc6-m [2025-03-17 14:59:13,449 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-17 14:59:13,506 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf [2025-03-17 14:59:13,512 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-17 14:59:13,512 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-17 14:59:13,535 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-17 14:59:13,536 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-17 14:59:13,536 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-17 14:59:13,536 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-17 14:59:13,536 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-17 14:59:13,536 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-17 14:59:13,536 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-17 14:59:13,536 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-17 14:59:13,537 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Use SBE=true [2025-03-17 14:59:13,538 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-17 14:59:13,538 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-17 14:59:13,539 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:59:13,539 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-17 14:59:13,539 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-17 14:59:13,540 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-17 14:59:13,540 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 -> 0e94a2410b8f9c85a45197b99fd856588e050ecf98cb4c3bee10ba4be0dc2732 [2025-03-17 14:59:13,765 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-17 14:59:13,771 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-17 14:59:13,773 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-17 14:59:13,774 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-17 14:59:13,774 INFO L274 PluginConnector]: CDTParser initialized [2025-03-17 14:59:13,776 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/loops/sum_array-2-1.i [2025-03-17 14:59:14,865 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9284b128d/00114a5529aa45c396f609ae88f209a8/FLAG96446c12e [2025-03-17 14:59:15,083 INFO L384 CDTParser]: Found 1 translation units. [2025-03-17 14:59:15,083 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/loops/sum_array-2-1.i [2025-03-17 14:59:15,090 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9284b128d/00114a5529aa45c396f609ae88f209a8/FLAG96446c12e [2025-03-17 14:59:15,106 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9284b128d/00114a5529aa45c396f609ae88f209a8 [2025-03-17 14:59:15,107 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-17 14:59:15,112 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-17 14:59:15,113 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-17 14:59:15,113 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-17 14:59:15,122 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-17 14:59:15,126 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,126 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@398c1f56 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15, skipping insertion in model container [2025-03-17 14:59:15,126 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,156 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-17 14:59:15,263 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:59:15,270 INFO L200 MainTranslator]: Completed pre-run [2025-03-17 14:59:15,288 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 14:59:15,302 INFO L204 MainTranslator]: Completed translation [2025-03-17 14:59:15,303 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15 WrapperNode [2025-03-17 14:59:15,303 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-17 14:59:15,304 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-17 14:59:15,305 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-17 14:59:15,305 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-17 14:59:15,309 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,313 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,331 INFO L138 Inliner]: procedures = 18, calls = 30, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 95 [2025-03-17 14:59:15,333 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-17 14:59:15,333 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-17 14:59:15,333 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-17 14:59:15,333 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-17 14:59:15,339 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,339 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,342 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,355 INFO L175 MemorySlicer]: Split 12 memory accesses to 4 slices as follows [2, 4, 2, 4]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0, 0]. The 3 writes are split as follows [0, 1, 1, 1]. [2025-03-17 14:59:15,357 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,357 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,361 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,365 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,366 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,370 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,371 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-17 14:59:15,372 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-17 14:59:15,372 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-17 14:59:15,372 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-17 14:59:15,373 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (1/1) ... [2025-03-17 14:59:15,380 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 14:59:15,390 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 14:59:15,403 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 14:59:15,405 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 14:59:15,421 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-17 14:59:15,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-17 14:59:15,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-17 14:59:15,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-03-17 14:59:15,421 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-17 14:59:15,422 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2025-03-17 14:59:15,422 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-03-17 14:59:15,479 INFO L256 CfgBuilder]: Building ICFG [2025-03-17 14:59:15,480 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-17 14:59:15,665 INFO L? ?]: Removed 21 outVars from TransFormulas that were not future-live. [2025-03-17 14:59:15,666 INFO L307 CfgBuilder]: Performing block encoding [2025-03-17 14:59:15,672 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-17 14:59:15,672 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-17 14:59:15,673 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:59:15 BoogieIcfgContainer [2025-03-17 14:59:15,673 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-17 14:59:15,674 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-17 14:59:15,674 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-17 14:59:15,677 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-17 14:59:15,678 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.03 02:59:15" (1/3) ... [2025-03-17 14:59:15,678 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6f2f1b70 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:59:15, skipping insertion in model container [2025-03-17 14:59:15,678 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 02:59:15" (2/3) ... [2025-03-17 14:59:15,678 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6f2f1b70 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 02:59:15, skipping insertion in model container [2025-03-17 14:59:15,678 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:59:15" (3/3) ... [2025-03-17 14:59:15,679 INFO L128 eAbstractionObserver]: Analyzing ICFG sum_array-2-1.i [2025-03-17 14:59:15,689 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-17 14:59:15,690 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG sum_array-2-1.i that has 1 procedures, 23 locations, 1 initial locations, 4 loop locations, and 4 error locations. [2025-03-17 14:59:15,719 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-17 14:59:15,726 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;@b467bd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-17 14:59:15,726 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2025-03-17 14:59:15,728 INFO L276 IsEmpty]: Start isEmpty. Operand has 23 states, 18 states have (on average 1.7222222222222223) internal successors, (31), 22 states have internal predecessors, (31), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:59:15,732 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2025-03-17 14:59:15,732 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 14:59:15,732 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1] [2025-03-17 14:59:15,733 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 1 more)] === [2025-03-17 14:59:15,736 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:59:15,736 INFO L85 PathProgramCache]: Analyzing trace with hash 2010375096, now seen corresponding path program 1 times [2025-03-17 14:59:15,741 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 14:59:15,743 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1964653445] [2025-03-17 14:59:15,743 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:59:15,743 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 14:59:15,795 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 6 statements into 1 equivalence classes. [2025-03-17 14:59:15,830 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 6 of 6 statements. [2025-03-17 14:59:15,831 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:59:15,831 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 14:59:16,071 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 14:59:16,071 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 14:59:16,071 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1964653445] [2025-03-17 14:59:16,073 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1964653445] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 14:59:16,073 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 14:59:16,073 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2025-03-17 14:59:16,074 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1359656065] [2025-03-17 14:59:16,075 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 14:59:16,077 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2025-03-17 14:59:16,077 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 14:59:16,088 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2025-03-17 14:59:16,089 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2025-03-17 14:59:16,090 INFO L87 Difference]: Start difference. First operand has 23 states, 18 states have (on average 1.7222222222222223) internal successors, (31), 22 states have internal predecessors, (31), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Second operand has 5 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:59:16,180 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2025-03-17 14:59:16,182 INFO L93 Difference]: Finished difference Result 62 states and 86 transitions. [2025-03-17 14:59:16,183 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-03-17 14:59:16,183 INFO L78 Accepts]: Start accepts. Automaton has has 5 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) Word has length 6 [2025-03-17 14:59:16,184 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2025-03-17 14:59:16,188 INFO L225 Difference]: With dead ends: 62 [2025-03-17 14:59:16,188 INFO L226 Difference]: Without dead ends: 34 [2025-03-17 14:59:16,190 INFO L434 NwaCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2025-03-17 14:59:16,193 INFO L435 NwaCegarLoop]: 17 mSDtfsCounter, 15 mSDsluCounter, 36 mSDsCounter, 0 mSdLazyCounter, 49 mSolverCounterSat, 13 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 15 SdHoareTripleChecker+Valid, 53 SdHoareTripleChecker+Invalid, 62 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 13 IncrementalHoareTripleChecker+Valid, 49 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2025-03-17 14:59:16,196 INFO L436 NwaCegarLoop]: SdHoareTripleChecker [15 Valid, 53 Invalid, 62 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [13 Valid, 49 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2025-03-17 14:59:16,205 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2025-03-17 14:59:16,213 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 21. [2025-03-17 14:59:16,213 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 21 states, 17 states have (on average 1.411764705882353) internal successors, (24), 20 states have internal predecessors, (24), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:59:16,215 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 24 transitions. [2025-03-17 14:59:16,216 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 24 transitions. Word has length 6 [2025-03-17 14:59:16,216 INFO L84 Accepts]: Finished accepts. word is rejected. [2025-03-17 14:59:16,216 INFO L471 AbstractCegarLoop]: Abstraction has 21 states and 24 transitions. [2025-03-17 14:59:16,216 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 1.2) internal successors, (6), 5 states have internal predecessors, (6), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 14:59:16,216 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 24 transitions. [2025-03-17 14:59:16,217 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 11 [2025-03-17 14:59:16,217 INFO L210 NwaCegarLoop]: Found error trace [2025-03-17 14:59:16,217 INFO L218 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 14:59:16,217 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-03-17 14:59:16,217 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW, ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (and 1 more)] === [2025-03-17 14:59:16,218 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 14:59:16,218 INFO L85 PathProgramCache]: Analyzing trace with hash -679489672, now seen corresponding path program 1 times [2025-03-17 14:59:16,218 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 14:59:16,218 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1805037978] [2025-03-17 14:59:16,218 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 14:59:16,218 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 14:59:16,229 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 10 statements into 1 equivalence classes. [2025-03-17 14:59:16,282 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 10 of 10 statements. [2025-03-17 14:59:16,286 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:59:16,286 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:59:16,286 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-03-17 14:59:16,291 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 10 statements into 1 equivalence classes. [2025-03-17 14:59:16,317 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 10 of 10 statements. [2025-03-17 14:59:16,318 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 14:59:16,318 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-03-17 14:59:16,332 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-03-17 14:59:16,333 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-03-17 14:59:16,334 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW (3 of 4 remaining) [2025-03-17 14:59:16,335 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONINTEGER_OVERFLOW (2 of 4 remaining) [2025-03-17 14:59:16,335 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONINTEGER_OVERFLOW (1 of 4 remaining) [2025-03-17 14:59:16,335 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW (0 of 4 remaining) [2025-03-17 14:59:16,335 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-17 14:59:16,337 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1] [2025-03-17 14:59:16,355 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-03-17 14:59:16,358 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.03 02:59:16 BoogieIcfgContainer [2025-03-17 14:59:16,358 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-03-17 14:59:16,359 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-03-17 14:59:16,359 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-03-17 14:59:16,359 INFO L274 PluginConnector]: Witness Printer initialized [2025-03-17 14:59:16,359 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 02:59:15" (3/4) ... [2025-03-17 14:59:16,360 INFO L140 WitnessPrinter]: Generating witness for reachability counterexample [2025-03-17 14:59:16,391 INFO L127 tionWitnessGenerator]: Generated YAML witness of length 9. [2025-03-17 14:59:16,425 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2025-03-17 14:59:16,427 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.yml [2025-03-17 14:59:16,427 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-03-17 14:59:16,428 INFO L158 Benchmark]: Toolchain (without parser) took 1316.09ms. Allocated memory was 511.7MB in the beginning and 167.8MB in the end (delta: -343.9MB). Free memory was 468.8MB in the beginning and 44.1MB in the end (delta: 424.7MB). Peak memory consumption was 75.5MB. Max. memory is 16.1GB. [2025-03-17 14:59:16,429 INFO L158 Benchmark]: CDTParser took 0.51ms. Allocated memory is still 201.3MB. Free memory is still 115.7MB. There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:59:16,429 INFO L158 Benchmark]: CACSL2BoogieTranslator took 190.42ms. Allocated memory was 511.7MB in the beginning and 167.8MB in the end (delta: -343.9MB). Free memory was 468.8MB in the beginning and 113.0MB in the end (delta: 355.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-17 14:59:16,429 INFO L158 Benchmark]: Boogie Procedure Inliner took 28.60ms. Allocated memory is still 167.8MB. Free memory was 113.0MB in the beginning and 112.0MB in the end (delta: 993.3kB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:59:16,430 INFO L158 Benchmark]: Boogie Preprocessor took 38.21ms. Allocated memory is still 167.8MB. Free memory was 112.0MB in the beginning and 109.8MB in the end (delta: 2.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-17 14:59:16,430 INFO L158 Benchmark]: IcfgBuilder took 300.99ms. Allocated memory is still 167.8MB. Free memory was 109.8MB in the beginning and 95.4MB in the end (delta: 14.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-03-17 14:59:16,430 INFO L158 Benchmark]: TraceAbstraction took 683.92ms. Allocated memory is still 167.8MB. Free memory was 95.4MB in the beginning and 50.1MB in the end (delta: 45.4MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. [2025-03-17 14:59:16,431 INFO L158 Benchmark]: Witness Printer took 68.62ms. Allocated memory is still 167.8MB. Free memory was 50.1MB in the beginning and 44.1MB in the end (delta: 6.0MB). There was no memory consumed. Max. memory is 16.1GB. [2025-03-17 14:59:16,432 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.51ms. Allocated memory is still 201.3MB. Free memory is still 115.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 190.42ms. Allocated memory was 511.7MB in the beginning and 167.8MB in the end (delta: -343.9MB). Free memory was 468.8MB in the beginning and 113.0MB in the end (delta: 355.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 28.60ms. Allocated memory is still 167.8MB. Free memory was 113.0MB in the beginning and 112.0MB in the end (delta: 993.3kB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 38.21ms. Allocated memory is still 167.8MB. Free memory was 112.0MB in the beginning and 109.8MB in the end (delta: 2.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * IcfgBuilder took 300.99ms. Allocated memory is still 167.8MB. Free memory was 109.8MB in the beginning and 95.4MB in the end (delta: 14.4MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 683.92ms. Allocated memory is still 167.8MB. Free memory was 95.4MB in the beginning and 50.1MB in the end (delta: 45.4MB). Peak memory consumption was 50.3MB. Max. memory is 16.1GB. * Witness Printer took 68.62ms. Allocated memory is still 167.8MB. Free memory was 50.1MB in the beginning and 44.1MB in the end (delta: 6.0MB). There was no memory consumed. 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: 42]: integer overflow possible integer overflow possible We found a FailurePath: [L27] unsigned int M = __VERIFIER_nondet_uint(); [L28] COND FALSE !(M > 1000000) [L31] int A[M], B[M], C[M]; [L32] unsigned int i; [L33] i=0 VAL [A={3:0}, B={5:0}, C={6:0}, M=1, i=0] [L33] COND TRUE i