./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/unreach-call.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version a046e57d Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(reach_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 39aacadb1ef8d9484ed01fea6a4b942ae6d8d46b70aa8d3c1aaf631adea16a64 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-12 15:05:25,627 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-12 15:05:25,694 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Reach-32bit-Automizer_Default.epf [2024-10-12 15:05:25,698 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-12 15:05:25,698 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-12 15:05:25,720 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-12 15:05:25,723 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-12 15:05:25,724 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-12 15:05:25,724 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-12 15:05:25,725 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-12 15:05:25,725 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-12 15:05:25,726 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-12 15:05:25,726 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-12 15:05:25,729 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-12 15:05:25,729 INFO L153 SettingsManager]: * Use SBE=true [2024-10-12 15:05:25,730 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-12 15:05:25,730 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-12 15:05:25,730 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-12 15:05:25,730 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-12 15:05:25,731 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-12 15:05:25,731 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-12 15:05:25,735 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-12 15:05:25,736 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-12 15:05:25,736 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-12 15:05:25,736 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-12 15:05:25,736 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-12 15:05:25,737 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-12 15:05:25,737 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-12 15:05:25,737 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-12 15:05:25,737 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-12 15:05:25,738 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-12 15:05:25,738 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-12 15:05:25,738 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-12 15:05:25,738 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-12 15:05:25,738 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-12 15:05:25,739 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-12 15:05:25,739 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-12 15:05:25,739 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-12 15:05:25,739 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-12 15:05:25,740 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-12 15:05:25,740 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-12 15:05:25,741 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-12 15:05:25,741 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(reach_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 39aacadb1ef8d9484ed01fea6a4b942ae6d8d46b70aa8d3c1aaf631adea16a64 [2024-10-12 15:05:26,017 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-12 15:05:26,043 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-12 15:05:26,046 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-12 15:05:26,048 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-12 15:05:26,048 INFO L274 PluginConnector]: CDTParser initialized [2024-10-12 15:05:26,049 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c [2024-10-12 15:05:27,538 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-12 15:05:27,766 INFO L384 CDTParser]: Found 1 translation units. [2024-10-12 15:05:27,766 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c [2024-10-12 15:05:27,778 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/172598cbc/7e92f81d5ba44600b6875a12a22e3960/FLAG80258fa32 [2024-10-12 15:05:27,800 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/172598cbc/7e92f81d5ba44600b6875a12a22e3960 [2024-10-12 15:05:27,802 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-12 15:05:27,804 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-12 15:05:27,807 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-12 15:05:27,808 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-12 15:05:27,814 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-12 15:05:27,815 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 03:05:27" (1/1) ... [2024-10-12 15:05:27,816 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1b1c7831 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:27, skipping insertion in model container [2024-10-12 15:05:27,818 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 12.10 03:05:27" (1/1) ... [2024-10-12 15:05:27,849 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-12 15:05:28,115 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c[588,601] [2024-10-12 15:05:28,145 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-12 15:05:28,162 INFO L200 MainTranslator]: Completed pre-run [2024-10-12 15:05:28,173 WARN L248 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/array-fpi/nsqmf.c[588,601] [2024-10-12 15:05:28,180 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-12 15:05:28,199 INFO L204 MainTranslator]: Completed translation [2024-10-12 15:05:28,200 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28 WrapperNode [2024-10-12 15:05:28,200 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-12 15:05:28,201 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-12 15:05:28,201 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-12 15:05:28,201 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-12 15:05:28,209 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,217 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,238 INFO L138 Inliner]: procedures = 16, calls = 27, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 80 [2024-10-12 15:05:28,239 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-12 15:05:28,240 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-12 15:05:28,240 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-12 15:05:28,240 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-12 15:05:28,251 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,252 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,254 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,275 INFO L175 MemorySlicer]: Split 18 memory accesses to 4 slices as follows [2, 4, 8, 4]. 44 percent of accesses are in the largest equivalence class. The 10 initializations are split as follows [2, 0, 8, 0]. The 4 writes are split as follows [0, 2, 0, 2]. [2024-10-12 15:05:28,276 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,276 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,282 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,290 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,291 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,292 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,294 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-12 15:05:28,295 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-12 15:05:28,296 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-12 15:05:28,296 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-12 15:05:28,300 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (1/1) ... [2024-10-12 15:05:28,309 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-12 15:05:28,321 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 15:05:28,336 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) [2024-10-12 15:05:28,338 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 [2024-10-12 15:05:28,382 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-12 15:05:28,382 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-12 15:05:28,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-12 15:05:28,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-12 15:05:28,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-10-12 15:05:28,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-10-12 15:05:28,383 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-10-12 15:05:28,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-10-12 15:05:28,386 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-10-12 15:05:28,386 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-10-12 15:05:28,386 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-12 15:05:28,387 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-12 15:05:28,387 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-10-12 15:05:28,387 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-10-12 15:05:28,387 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-10-12 15:05:28,387 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-10-12 15:05:28,463 INFO L238 CfgBuilder]: Building ICFG [2024-10-12 15:05:28,465 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-12 15:05:28,616 INFO L? ?]: Removed 11 outVars from TransFormulas that were not future-live. [2024-10-12 15:05:28,616 INFO L287 CfgBuilder]: Performing block encoding [2024-10-12 15:05:28,649 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-12 15:05:28,650 INFO L314 CfgBuilder]: Removed 3 assume(true) statements. [2024-10-12 15:05:28,652 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 03:05:28 BoogieIcfgContainer [2024-10-12 15:05:28,653 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-12 15:05:28,654 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-12 15:05:28,654 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-12 15:05:28,661 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-12 15:05:28,661 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 12.10 03:05:27" (1/3) ... [2024-10-12 15:05:28,662 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@60ba3038 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 12.10 03:05:28, skipping insertion in model container [2024-10-12 15:05:28,663 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 12.10 03:05:28" (2/3) ... [2024-10-12 15:05:28,663 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@60ba3038 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 12.10 03:05:28, skipping insertion in model container [2024-10-12 15:05:28,665 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 03:05:28" (3/3) ... [2024-10-12 15:05:28,666 INFO L112 eAbstractionObserver]: Analyzing ICFG nsqmf.c [2024-10-12 15:05:28,686 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-12 15:05:28,686 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-12 15:05:28,754 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-12 15:05:28,760 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;@72eb63f4, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-12 15:05:28,760 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-12 15:05:28,764 INFO L276 IsEmpty]: Start isEmpty. Operand has 16 states, 14 states have (on average 1.7142857142857142) internal successors, (24), 15 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) [2024-10-12 15:05:28,770 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-10-12 15:05:28,770 INFO L207 NwaCegarLoop]: Found error trace [2024-10-12 15:05:28,771 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 15:05:28,771 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-12 15:05:28,777 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 15:05:28,777 INFO L85 PathProgramCache]: Analyzing trace with hash -841652609, now seen corresponding path program 1 times [2024-10-12 15:05:28,788 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 15:05:28,788 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [801706141] [2024-10-12 15:05:28,789 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 15:05:28,789 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 15:05:28,924 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-12 15:05:29,001 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-12 15:05:29,002 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-12 15:05:29,002 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [801706141] [2024-10-12 15:05:29,004 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [801706141] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-12 15:05:29,004 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-12 15:05:29,005 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-10-12 15:05:29,007 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [742025693] [2024-10-12 15:05:29,008 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-12 15:05:29,013 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-10-12 15:05:29,014 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-12 15:05:29,034 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-10-12 15:05:29,035 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-12 15:05:29,037 INFO L87 Difference]: Start difference. First operand has 16 states, 14 states have (on average 1.7142857142857142) internal successors, (24), 15 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) Second operand has 2 states, 2 states have (on average 5.5) internal successors, (11), 2 states have internal predecessors, (11), 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) [2024-10-12 15:05:29,063 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-10-12 15:05:29,063 INFO L93 Difference]: Finished difference Result 29 states and 43 transitions. [2024-10-12 15:05:29,066 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-12 15:05:29,068 INFO L78 Accepts]: Start accepts. Automaton has has 2 states, 2 states have (on average 5.5) internal successors, (11), 2 states have internal predecessors, (11), 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 11 [2024-10-12 15:05:29,068 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-10-12 15:05:29,075 INFO L225 Difference]: With dead ends: 29 [2024-10-12 15:05:29,075 INFO L226 Difference]: Without dead ends: 13 [2024-10-12 15:05:29,077 INFO L431 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-10-12 15:05:29,081 INFO L432 NwaCegarLoop]: 14 mSDtfsCounter, 0 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 5 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 0 SdHoareTripleChecker+Valid, 14 SdHoareTripleChecker+Invalid, 5 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 5 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.0s IncrementalHoareTripleChecker+Time [2024-10-12 15:05:29,082 INFO L433 NwaCegarLoop]: SdHoareTripleChecker [0 Valid, 14 Invalid, 5 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 5 Invalid, 0 Unknown, 0 Unchecked, 0.0s Time] [2024-10-12 15:05:29,097 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 13 states. [2024-10-12 15:05:29,107 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 13 to 13. [2024-10-12 15:05:29,108 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 13 states, 12 states have (on average 1.25) internal successors, (15), 12 states have internal predecessors, (15), 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) [2024-10-12 15:05:29,109 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 13 states to 13 states and 15 transitions. [2024-10-12 15:05:29,111 INFO L78 Accepts]: Start accepts. Automaton has 13 states and 15 transitions. Word has length 11 [2024-10-12 15:05:29,111 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-10-12 15:05:29,111 INFO L471 AbstractCegarLoop]: Abstraction has 13 states and 15 transitions. [2024-10-12 15:05:29,111 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 5.5) internal successors, (11), 2 states have internal predecessors, (11), 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) [2024-10-12 15:05:29,112 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 15 transitions. [2024-10-12 15:05:29,112 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-10-12 15:05:29,112 INFO L207 NwaCegarLoop]: Found error trace [2024-10-12 15:05:29,112 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-12 15:05:29,113 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-12 15:05:29,113 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-12 15:05:29,114 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-12 15:05:29,114 INFO L85 PathProgramCache]: Analyzing trace with hash -161594239, now seen corresponding path program 1 times [2024-10-12 15:05:29,114 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-12 15:05:29,114 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1340385022] [2024-10-12 15:05:29,115 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 15:05:29,115 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-12 15:05:29,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unknown [2024-10-12 15:05:29,189 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [867005810] [2024-10-12 15:05:29,190 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-12 15:05:29,190 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-12 15:05:29,190 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-12 15:05:29,196 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) [2024-10-12 15:05:29,199 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-10-12 15:05:29,316 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 15:05:29,316 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-12 15:05:29,331 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-12 15:05:29,352 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-12 15:05:29,353 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-12 15:05:29,354 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-10-12 15:05:29,373 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-10-12 15:05:29,560 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-12 15:05:29,564 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-12 15:05:29,582 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-12 15:05:29,586 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 12.10 03:05:29 BoogieIcfgContainer [2024-10-12 15:05:29,586 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-12 15:05:29,587 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-12 15:05:29,587 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-12 15:05:29,587 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-12 15:05:29,588 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 12.10 03:05:28" (3/4) ... [2024-10-12 15:05:29,589 INFO L133 WitnessPrinter]: Generating witness for reachability counterexample [2024-10-12 15:05:29,638 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2024-10-12 15:05:29,638 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-12 15:05:29,639 INFO L158 Benchmark]: Toolchain (without parser) took 1834.72ms. Allocated memory is still 165.7MB. Free memory was 98.5MB in the beginning and 78.0MB in the end (delta: 20.5MB). Peak memory consumption was 21.2MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,639 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 107.0MB. Free memory is still 67.4MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-12 15:05:29,639 INFO L158 Benchmark]: CACSL2BoogieTranslator took 392.93ms. Allocated memory is still 165.7MB. Free memory was 98.3MB in the beginning and 131.3MB in the end (delta: -33.0MB). Peak memory consumption was 8.6MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,639 INFO L158 Benchmark]: Boogie Procedure Inliner took 37.84ms. Allocated memory is still 165.7MB. Free memory was 131.3MB in the beginning and 129.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,640 INFO L158 Benchmark]: Boogie Preprocessor took 54.99ms. Allocated memory is still 165.7MB. Free memory was 129.8MB in the beginning and 127.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,640 INFO L158 Benchmark]: RCFGBuilder took 357.32ms. Allocated memory is still 165.7MB. Free memory was 127.1MB in the beginning and 113.1MB in the end (delta: 14.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,642 INFO L158 Benchmark]: TraceAbstraction took 931.50ms. Allocated memory is still 165.7MB. Free memory was 112.5MB in the beginning and 80.1MB in the end (delta: 32.4MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,643 INFO L158 Benchmark]: Witness Printer took 51.36ms. Allocated memory is still 165.7MB. Free memory was 80.1MB in the beginning and 78.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-12 15:05:29,645 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.17ms. Allocated memory is still 107.0MB. Free memory is still 67.4MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 392.93ms. Allocated memory is still 165.7MB. Free memory was 98.3MB in the beginning and 131.3MB in the end (delta: -33.0MB). Peak memory consumption was 8.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 37.84ms. Allocated memory is still 165.7MB. Free memory was 131.3MB in the beginning and 129.8MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 54.99ms. Allocated memory is still 165.7MB. Free memory was 129.8MB in the beginning and 127.7MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 357.32ms. Allocated memory is still 165.7MB. Free memory was 127.1MB in the beginning and 113.1MB in the end (delta: 14.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * TraceAbstraction took 931.50ms. Allocated memory is still 165.7MB. Free memory was 112.5MB in the beginning and 80.1MB in the end (delta: 32.4MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * Witness Printer took 51.36ms. Allocated memory is still 165.7MB. Free memory was 80.1MB in the beginning and 78.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. 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: 15]: a call to reach_error is reachable a call to reach_error is reachable We found a FailurePath: [L19] int N; [L23] N = __VERIFIER_nondet_int() [L24] COND FALSE !(N <= 0) [L25] CALL assume_abort_if_not(N <= 2147483647/sizeof(int)) [L13] COND FALSE !(!cond) VAL [N=1] [L25] RET assume_abort_if_not(N <= 2147483647/sizeof(int)) [L27] int i; [L28] long long *a = malloc(sizeof(long long)*N); [L29] long long *b = malloc(sizeof(long long)*N); [L31] b[0] = 1 [L32] a[0] = 1 [L34] i=1 VAL [N=1, a={-1:0}, b={4:0}, i=1] [L34] COND FALSE !(i