./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/loops/sum_array-1.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version e7bb482b Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/loops/sum_array-1.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash f0ce6e358e97991ebbe821b374467d4ac3ee0da45122333d4b5212eb8135ac7d --- Real Ultimate output --- This is Ultimate 0.2.3-dev-e7bb482 [2023-11-06 23:04:53,476 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-06 23:04:53,591 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-06 23:04:53,597 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-06 23:04:53,597 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-06 23:04:53,623 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-06 23:04:53,624 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-06 23:04:53,625 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-06 23:04:53,626 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-06 23:04:53,627 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-06 23:04:53,628 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-06 23:04:53,628 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-06 23:04:53,629 INFO L153 SettingsManager]: * Use SBE=true [2023-11-06 23:04:53,630 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-06 23:04:53,630 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-06 23:04:53,631 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-06 23:04:53,632 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-06 23:04:53,632 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-06 23:04:53,633 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-06 23:04:53,633 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-06 23:04:53,634 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-06 23:04:53,635 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-06 23:04:53,635 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-06 23:04:53,636 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-06 23:04:53,636 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-06 23:04:53,637 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-06 23:04:53,637 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-06 23:04:53,638 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-06 23:04:53,638 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-06 23:04:53,639 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 23:04:53,640 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-06 23:04:53,640 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-06 23:04:53,641 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-06 23:04:53,641 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-06 23:04:53,641 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-06 23:04:53,642 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-06 23:04:53,642 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-06 23:04:53,643 INFO L153 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-11-06 23:04:53,643 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:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml 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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> f0ce6e358e97991ebbe821b374467d4ac3ee0da45122333d4b5212eb8135ac7d [2023-11-06 23:04:53,998 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-06 23:04:54,038 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-06 23:04:54,041 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-06 23:04:54,042 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-06 23:04:54,044 INFO L274 PluginConnector]: CDTParser initialized [2023-11-06 23:04:54,045 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/../../sv-benchmarks/c/loops/sum_array-1.c [2023-11-06 23:04:57,274 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-06 23:04:57,542 INFO L384 CDTParser]: Found 1 translation units. [2023-11-06 23:04:57,543 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/sv-benchmarks/c/loops/sum_array-1.c [2023-11-06 23:04:57,552 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/data/d6c43a0f6/763671128c5f444c9607139ea13ae2e0/FLAGa7ca3c5cf [2023-11-06 23:04:57,579 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/data/d6c43a0f6/763671128c5f444c9607139ea13ae2e0 [2023-11-06 23:04:57,590 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-06 23:04:57,595 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-06 23:04:57,600 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-06 23:04:57,600 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-06 23:04:57,607 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-06 23:04:57,608 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:57,609 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@417aed58 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57, skipping insertion in model container [2023-11-06 23:04:57,610 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:57,640 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-06 23:04:57,877 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 23:04:57,889 INFO L202 MainTranslator]: Completed pre-run [2023-11-06 23:04:57,920 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-06 23:04:57,937 INFO L206 MainTranslator]: Completed translation [2023-11-06 23:04:57,937 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57 WrapperNode [2023-11-06 23:04:57,938 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-06 23:04:57,939 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-06 23:04:57,939 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-06 23:04:57,940 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-06 23:04:57,949 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:57,957 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:57,986 INFO L138 Inliner]: procedures = 15, calls = 23, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 81 [2023-11-06 23:04:57,986 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-06 23:04:57,987 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-06 23:04:57,987 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-06 23:04:57,988 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-06 23:04:58,000 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,001 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,004 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,004 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,025 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,030 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,032 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,033 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,036 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-06 23:04:58,038 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-06 23:04:58,038 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-06 23:04:58,038 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-06 23:04:58,039 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (1/1) ... [2023-11-06 23:04:58,054 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-06 23:04:58,076 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/z3 [2023-11-06 23:04:58,094 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-11-06 23:04:58,099 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-11-06 23:04:58,131 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-06 23:04:58,131 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-06 23:04:58,132 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-06 23:04:58,132 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-06 23:04:58,132 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-06 23:04:58,132 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-06 23:04:58,132 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-06 23:04:58,133 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-06 23:04:58,232 INFO L236 CfgBuilder]: Building ICFG [2023-11-06 23:04:58,238 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-06 23:04:58,639 INFO L277 CfgBuilder]: Performing block encoding [2023-11-06 23:04:58,648 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-06 23:04:58,648 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-06 23:04:58,651 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 11:04:58 BoogieIcfgContainer [2023-11-06 23:04:58,651 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-06 23:04:58,654 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-06 23:04:58,654 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-06 23:04:58,658 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-06 23:04:58,658 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 06.11 11:04:57" (1/3) ... [2023-11-06 23:04:58,659 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@45bb2954 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 11:04:58, skipping insertion in model container [2023-11-06 23:04:58,660 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 06.11 11:04:57" (2/3) ... [2023-11-06 23:04:58,660 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@45bb2954 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 06.11 11:04:58, skipping insertion in model container [2023-11-06 23:04:58,661 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 11:04:58" (3/3) ... [2023-11-06 23:04:58,662 INFO L112 eAbstractionObserver]: Analyzing ICFG sum_array-1.c [2023-11-06 23:04:58,679 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-06 23:04:58,679 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 18 error locations. [2023-11-06 23:04:58,736 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-06 23:04:58,745 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, 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;@21d9fd94, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-11-06 23:04:58,745 INFO L358 AbstractCegarLoop]: Starting to check reachability of 18 error locations. [2023-11-06 23:04:58,750 INFO L276 IsEmpty]: Start isEmpty. Operand has 52 states, 33 states have (on average 1.8181818181818181) internal successors, (60), 51 states have internal predecessors, (60), 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) [2023-11-06 23:04:58,757 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-06 23:04:58,758 INFO L187 NwaCegarLoop]: Found error trace [2023-11-06 23:04:58,758 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1] [2023-11-06 23:04:58,759 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-06 23:04:58,766 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 23:04:58,766 INFO L85 PathProgramCache]: Analyzing trace with hash 925765, now seen corresponding path program 1 times [2023-11-06 23:04:58,778 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 23:04:58,779 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [245974434] [2023-11-06 23:04:58,779 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 23:04:58,779 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 23:04:58,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-06 23:04:59,310 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-06 23:04:59,311 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-11-06 23:04:59,312 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [245974434] [2023-11-06 23:04:59,312 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [245974434] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-06 23:04:59,313 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-06 23:04:59,313 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-06 23:04:59,315 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1807982432] [2023-11-06 23:04:59,316 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-06 23:04:59,321 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-06 23:04:59,322 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-11-06 23:04:59,365 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-06 23:04:59,366 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-06 23:04:59,369 INFO L87 Difference]: Start difference. First operand has 52 states, 33 states have (on average 1.8181818181818181) internal successors, (60), 51 states have internal predecessors, (60), 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 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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) [2023-11-06 23:04:59,463 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2023-11-06 23:04:59,463 INFO L93 Difference]: Finished difference Result 48 states and 51 transitions. [2023-11-06 23:04:59,465 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-06 23:04:59,467 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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 4 [2023-11-06 23:04:59,467 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2023-11-06 23:04:59,478 INFO L225 Difference]: With dead ends: 48 [2023-11-06 23:04:59,478 INFO L226 Difference]: Without dead ends: 46 [2023-11-06 23:04:59,480 INFO L412 NwaCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-06 23:04:59,486 INFO L413 NwaCegarLoop]: 34 mSDtfsCounter, 44 mSDsluCounter, 1 mSDsCounter, 0 mSdLazyCounter, 21 mSolverCounterSat, 2 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.1s Time, 0 mProtectedPredicate, 0 mProtectedAction, 44 SdHoareTripleChecker+Valid, 35 SdHoareTripleChecker+Invalid, 23 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 2 IncrementalHoareTripleChecker+Valid, 21 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2023-11-06 23:04:59,488 INFO L414 NwaCegarLoop]: SdHoareTripleChecker [44 Valid, 35 Invalid, 23 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [2 Valid, 21 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2023-11-06 23:04:59,506 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2023-11-06 23:04:59,522 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 46. [2023-11-06 23:04:59,524 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 46 states, 31 states have (on average 1.5806451612903225) internal successors, (49), 45 states have internal predecessors, (49), 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) [2023-11-06 23:04:59,526 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 46 states to 46 states and 49 transitions. [2023-11-06 23:04:59,528 INFO L78 Accepts]: Start accepts. Automaton has 46 states and 49 transitions. Word has length 4 [2023-11-06 23:04:59,529 INFO L84 Accepts]: Finished accepts. word is rejected. [2023-11-06 23:04:59,529 INFO L495 AbstractCegarLoop]: Abstraction has 46 states and 49 transitions. [2023-11-06 23:04:59,529 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 2.0) internal successors, (4), 3 states have internal predecessors, (4), 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) [2023-11-06 23:04:59,530 INFO L276 IsEmpty]: Start isEmpty. Operand 46 states and 49 transitions. [2023-11-06 23:04:59,530 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 5 [2023-11-06 23:04:59,530 INFO L187 NwaCegarLoop]: Found error trace [2023-11-06 23:04:59,531 INFO L195 NwaCegarLoop]: trace histogram [1, 1, 1, 1] [2023-11-06 23:04:59,531 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-11-06 23:04:59,532 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-06 23:04:59,532 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-11-06 23:04:59,533 INFO L85 PathProgramCache]: Analyzing trace with hash 925766, now seen corresponding path program 1 times [2023-11-06 23:04:59,533 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-11-06 23:04:59,534 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [391555940] [2023-11-06 23:04:59,534 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-06 23:04:59,534 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-06 23:04:59,586 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 23:04:59,592 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-06 23:04:59,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-06 23:04:59,667 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-11-06 23:04:59,667 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-06 23:04:59,670 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (17 of 18 remaining) [2023-11-06 23:04:59,674 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (16 of 18 remaining) [2023-11-06 23:04:59,675 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (15 of 18 remaining) [2023-11-06 23:04:59,675 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 18 remaining) [2023-11-06 23:04:59,675 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (13 of 18 remaining) [2023-11-06 23:04:59,677 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 18 remaining) [2023-11-06 23:04:59,678 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 18 remaining) [2023-11-06 23:04:59,683 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 18 remaining) [2023-11-06 23:04:59,684 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 18 remaining) [2023-11-06 23:04:59,684 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 18 remaining) [2023-11-06 23:04:59,686 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 18 remaining) [2023-11-06 23:04:59,687 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr11REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 18 remaining) [2023-11-06 23:04:59,688 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr12REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 18 remaining) [2023-11-06 23:04:59,688 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr13REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 18 remaining) [2023-11-06 23:04:59,689 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr14REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 18 remaining) [2023-11-06 23:04:59,690 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr15REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 18 remaining) [2023-11-06 23:04:59,690 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr16ASSERT_VIOLATIONMEMORY_LEAK (1 of 18 remaining) [2023-11-06 23:04:59,691 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr17ASSERT_VIOLATIONMEMORY_LEAK (0 of 18 remaining) [2023-11-06 23:04:59,691 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-11-06 23:04:59,697 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1] [2023-11-06 23:04:59,704 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-06 23:04:59,723 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 06.11 11:04:59 BoogieIcfgContainer [2023-11-06 23:04:59,724 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-06 23:04:59,725 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-06 23:04:59,725 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-06 23:04:59,725 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-06 23:04:59,726 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 06.11 11:04:58" (3/4) ... [2023-11-06 23:04:59,727 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-06 23:04:59,765 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_c99f999f-6066-47df-ab8b-d77b3a09d9c9/bin/uautomizer-verify-WvqO1wxjHP/witness.graphml.graphml [2023-11-06 23:04:59,765 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-06 23:04:59,766 INFO L158 Benchmark]: Toolchain (without parser) took 2171.79ms. Allocated memory is still 169.9MB. Free memory was 137.2MB in the beginning and 90.6MB in the end (delta: 46.6MB). Peak memory consumption was 43.7MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,767 INFO L158 Benchmark]: CDTParser took 0.29ms. Allocated memory is still 115.3MB. Free memory is still 87.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-06 23:04:59,767 INFO L158 Benchmark]: CACSL2BoogieTranslator took 338.63ms. Allocated memory is still 169.9MB. Free memory was 137.2MB in the beginning and 126.8MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,768 INFO L158 Benchmark]: Boogie Procedure Inliner took 47.43ms. Allocated memory is still 169.9MB. Free memory was 126.1MB in the beginning and 124.7MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,769 INFO L158 Benchmark]: Boogie Preprocessor took 49.42ms. Allocated memory is still 169.9MB. Free memory was 124.7MB in the beginning and 123.2MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,769 INFO L158 Benchmark]: RCFGBuilder took 613.59ms. Allocated memory is still 169.9MB. Free memory was 123.2MB in the beginning and 129.0MB in the end (delta: -5.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,770 INFO L158 Benchmark]: TraceAbstraction took 1070.23ms. Allocated memory is still 169.9MB. Free memory was 128.3MB in the beginning and 92.0MB in the end (delta: 36.3MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. [2023-11-06 23:04:59,771 INFO L158 Benchmark]: Witness Printer took 40.98ms. Allocated memory is still 169.9MB. Free memory was 92.0MB in the beginning and 90.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-06 23:04:59,774 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.29ms. Allocated memory is still 115.3MB. Free memory is still 87.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 338.63ms. Allocated memory is still 169.9MB. Free memory was 137.2MB in the beginning and 126.8MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 47.43ms. Allocated memory is still 169.9MB. Free memory was 126.1MB in the beginning and 124.7MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.42ms. Allocated memory is still 169.9MB. Free memory was 124.7MB in the beginning and 123.2MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 613.59ms. Allocated memory is still 169.9MB. Free memory was 123.2MB in the beginning and 129.0MB in the end (delta: -5.8MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * TraceAbstraction took 1070.23ms. Allocated memory is still 169.9MB. Free memory was 128.3MB in the beginning and 92.0MB in the end (delta: 36.3MB). Peak memory consumption was 37.7MB. Max. memory is 16.1GB. * Witness Printer took 40.98ms. Allocated memory is still 169.9MB. Free memory was 92.0MB in the beginning and 90.6MB in the end (delta: 1.4MB). 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: -1]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L16] unsigned int M = __VERIFIER_nondet_uint(); [L17] int A[M], B[M], C[M]; [L18] unsigned int i; [L20] i=0 VAL [A={5:0}, B={4:0}, C={6:0}, M=1073741824, i=0] [L20] COND TRUE i