./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread/twostage_3-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 023d838f Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/twostage_3-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-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 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 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-023d838-m [2024-11-10 17:47:08,132 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-10 17:47:08,204 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-10 17:47:08,207 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-10 17:47:08,207 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-10 17:47:08,222 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-10 17:47:08,222 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-10 17:47:08,223 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-10 17:47:08,223 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-10 17:47:08,224 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-10 17:47:08,224 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-10 17:47:08,224 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-10 17:47:08,225 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-10 17:47:08,225 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-10 17:47:08,225 INFO L153 SettingsManager]: * Use SBE=true [2024-11-10 17:47:08,226 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-10 17:47:08,226 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-10 17:47:08,226 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-10 17:47:08,226 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-10 17:47:08,227 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-10 17:47:08,227 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-10 17:47:08,227 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-10 17:47:08,228 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-10 17:47:08,228 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-10 17:47:08,228 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-10 17:47:08,228 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-10 17:47:08,228 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-10 17:47:08,229 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-10 17:47:08,229 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-10 17:47:08,229 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-10 17:47:08,229 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-10 17:47:08,229 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-10 17:47:08,230 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-10 17:47:08,230 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:08,230 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-10 17:47:08,230 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-10 17:47:08,231 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-10 17:47:08,231 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-10 17:47:08,231 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-10 17:47:08,231 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-10 17:47:08,231 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-10 17:47:08,233 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-10 17:47:08,233 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 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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2024-11-10 17:47:08,436 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 17:47:08,455 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 17:47:08,458 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 17:47:08,460 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 17:47:08,461 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 17:47:08,462 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/twostage_3-2.i [2024-11-10 17:47:09,779 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 17:47:10,038 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 17:47:10,038 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3-2.i [2024-11-10 17:47:10,062 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d53e46fc8/7d98f4d8f8ef4da4b111b14a03d57d30/FLAGa745aab05 [2024-11-10 17:47:10,351 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d53e46fc8/7d98f4d8f8ef4da4b111b14a03d57d30 [2024-11-10 17:47:10,354 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 17:47:10,355 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 17:47:10,356 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:10,356 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 17:47:10,361 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 17:47:10,362 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:10" (1/1) ... [2024-11-10 17:47:10,363 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3c29bcae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:10, skipping insertion in model container [2024-11-10 17:47:10,363 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:10" (1/1) ... [2024-11-10 17:47:10,405 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 17:47:10,873 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-10 17:47:10,873 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-10 17:47:10,887 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:10,889 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:10,890 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:10,900 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 17:47:10,989 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:10,990 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:10,990 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:11,086 INFO L204 MainTranslator]: Completed translation [2024-11-10 17:47:11,087 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11 WrapperNode [2024-11-10 17:47:11,087 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:11,088 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:11,088 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 17:47:11,089 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 17:47:11,094 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,112 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,137 INFO L138 Inliner]: procedures = 373, calls = 34, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 169 [2024-11-10 17:47:11,138 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:11,139 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 17:47:11,139 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 17:47:11,139 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 17:47:11,147 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,147 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,150 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,171 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2024-11-10 17:47:11,171 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,171 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,182 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,183 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,184 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,188 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,191 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 17:47:11,195 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 17:47:11,196 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 17:47:11,196 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 17:47:11,197 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (1/1) ... [2024-11-10 17:47:11,201 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:11,210 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 17:47:11,227 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-11-10 17:47:11,228 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-11-10 17:47:11,271 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-11-10 17:47:11,271 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-11-10 17:47:11,271 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-11-10 17:47:11,271 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-11-10 17:47:11,271 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-10 17:47:11,271 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-10 17:47:11,272 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-10 17:47:11,277 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-10 17:47:11,277 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-10 17:47:11,277 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-10 17:47:11,277 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 17:47:11,277 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-10 17:47:11,278 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-10 17:47:11,278 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-10 17:47:11,278 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 17:47:11,278 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 17:47:11,279 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-10 17:47:11,407 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 17:47:11,409 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 17:47:11,636 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299: havoc main_~#rPool~0#1.base, main_~#rPool~0#1.offset; [2024-11-10 17:47:11,637 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299-1: SUMMARY for call ULTIMATE.dealloc(main_~#rPool~0#1.base, main_~#rPool~0#1.offset); srcloc: null [2024-11-10 17:47:11,637 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298: havoc main_~#tPool~0#1.base, main_~#tPool~0#1.offset; [2024-11-10 17:47:11,637 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298-1: SUMMARY for call ULTIMATE.dealloc(main_~#tPool~0#1.base, main_~#tPool~0#1.offset); srcloc: null [2024-11-10 17:47:11,639 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 17:47:11,639 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 17:47:11,739 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 17:47:11,740 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 17:47:11,740 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:11 BoogieIcfgContainer [2024-11-10 17:47:11,740 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 17:47:11,742 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 17:47:11,742 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 17:47:11,745 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 17:47:11,745 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 05:47:10" (1/3) ... [2024-11-10 17:47:11,746 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@141da478 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:11, skipping insertion in model container [2024-11-10 17:47:11,746 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:11" (2/3) ... [2024-11-10 17:47:11,746 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@141da478 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:11, skipping insertion in model container [2024-11-10 17:47:11,747 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:11" (3/3) ... [2024-11-10 17:47:11,748 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2024-11-10 17:47:11,764 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 17:47:11,764 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 12 error locations. [2024-11-10 17:47:11,764 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 17:47:11,810 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-10 17:47:11,843 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:11,906 INFO L124 PetriNetUnfolderBase]: 30/210 cut-off events. [2024-11-10 17:47:11,907 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2024-11-10 17:47:11,912 INFO L83 FinitePrefix]: Finished finitePrefix Result has 227 conditions, 210 events. 30/210 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1005 event pairs, 0 based on Foata normal form. 0/138 useless extension candidates. Maximal degree in co-relation 107. Up to 8 conditions per place. [2024-11-10 17:47:11,913 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:11,917 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:11,928 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:47:11,933 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=None, 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;@7b23ffdb, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:47:11,934 INFO L334 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2024-11-10 17:47:11,938 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:47:11,939 INFO L124 PetriNetUnfolderBase]: 1/6 cut-off events. [2024-11-10 17:47:11,939 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:47:11,939 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:11,940 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:47:11,940 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:11,945 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:11,945 INFO L85 PathProgramCache]: Analyzing trace with hash 14995685, now seen corresponding path program 1 times [2024-11-10 17:47:11,953 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:11,954 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [569105060] [2024-11-10 17:47:11,954 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:11,955 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:12,046 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:12,095 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:12,095 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:12,096 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [569105060] [2024-11-10 17:47:12,096 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [569105060] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:12,096 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:12,096 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 17:47:12,098 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2030026031] [2024-11-10 17:47:12,098 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:12,104 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:47:12,108 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:12,129 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:47:12,130 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:47:12,132 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 91 [2024-11-10 17:47:12,135 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 91 transitions, 202 flow. Second operand has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 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-11-10 17:47:12,135 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:12,135 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 91 [2024-11-10 17:47:12,136 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:12,542 INFO L124 PetriNetUnfolderBase]: 1351/3052 cut-off events. [2024-11-10 17:47:12,543 INFO L125 PetriNetUnfolderBase]: For 128/224 co-relation queries the response was YES. [2024-11-10 17:47:12,550 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5297 conditions, 3052 events. 1351/3052 cut-off events. For 128/224 co-relation queries the response was YES. Maximal size of possible extension queue 170. Compared 22707 event pairs, 1241 based on Foata normal form. 595/3350 useless extension candidates. Maximal degree in co-relation 4642. Up to 2160 conditions per place. [2024-11-10 17:47:12,562 INFO L140 encePairwiseOnDemand]: 82/91 looper letters, 39 selfloop transitions, 0 changer transitions 0/81 dead transitions. [2024-11-10 17:47:12,563 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 81 transitions, 260 flow [2024-11-10 17:47:12,564 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:47:12,566 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:47:12,571 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 132 transitions. [2024-11-10 17:47:12,573 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7252747252747253 [2024-11-10 17:47:12,574 INFO L175 Difference]: Start difference. First operand has 83 places, 91 transitions, 202 flow. Second operand 2 states and 132 transitions. [2024-11-10 17:47:12,575 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 81 transitions, 260 flow [2024-11-10 17:47:12,580 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 81 transitions, 260 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:47:12,583 INFO L231 Difference]: Finished difference. Result has 81 places, 81 transitions, 182 flow [2024-11-10 17:47:12,586 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=80, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=81, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=81, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=182, PETRI_PLACES=81, PETRI_TRANSITIONS=81} [2024-11-10 17:47:12,590 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, -2 predicate places. [2024-11-10 17:47:12,591 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 81 transitions, 182 flow [2024-11-10 17:47:12,591 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 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-11-10 17:47:12,591 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:12,591 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2024-11-10 17:47:12,591 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-10 17:47:12,591 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:12,592 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:12,592 INFO L85 PathProgramCache]: Analyzing trace with hash 1528812412, now seen corresponding path program 1 times [2024-11-10 17:47:12,592 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:12,593 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1112835341] [2024-11-10 17:47:12,593 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:12,593 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:12,639 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:12,815 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:12,816 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:12,816 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1112835341] [2024-11-10 17:47:12,816 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1112835341] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:12,817 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:12,817 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:47:12,817 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [174788226] [2024-11-10 17:47:12,817 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:12,818 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:12,818 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:12,819 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:12,819 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:12,840 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 91 [2024-11-10 17:47:12,841 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 81 transitions, 182 flow. Second operand has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-11-10 17:47:12,841 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:12,841 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 91 [2024-11-10 17:47:12,841 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:13,228 INFO L124 PetriNetUnfolderBase]: 1632/3539 cut-off events. [2024-11-10 17:47:13,229 INFO L125 PetriNetUnfolderBase]: For 184/280 co-relation queries the response was YES. [2024-11-10 17:47:13,236 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6244 conditions, 3539 events. 1632/3539 cut-off events. For 184/280 co-relation queries the response was YES. Maximal size of possible extension queue 220. Compared 27078 event pairs, 990 based on Foata normal form. 0/3299 useless extension candidates. Maximal degree in co-relation 6239. Up to 1760 conditions per place. [2024-11-10 17:47:13,249 INFO L140 encePairwiseOnDemand]: 87/91 looper letters, 60 selfloop transitions, 2 changer transitions 0/100 dead transitions. [2024-11-10 17:47:13,249 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 100 transitions, 344 flow [2024-11-10 17:47:13,250 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:13,250 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:13,252 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 178 transitions. [2024-11-10 17:47:13,253 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.652014652014652 [2024-11-10 17:47:13,253 INFO L175 Difference]: Start difference. First operand has 81 places, 81 transitions, 182 flow. Second operand 3 states and 178 transitions. [2024-11-10 17:47:13,253 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 100 transitions, 344 flow [2024-11-10 17:47:13,255 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 100 transitions, 344 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:47:13,257 INFO L231 Difference]: Finished difference. Result has 81 places, 79 transitions, 182 flow [2024-11-10 17:47:13,258 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=79, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=77, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=182, PETRI_PLACES=81, PETRI_TRANSITIONS=79} [2024-11-10 17:47:13,259 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, -2 predicate places. [2024-11-10 17:47:13,259 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 79 transitions, 182 flow [2024-11-10 17:47:13,260 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-11-10 17:47:13,260 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:13,260 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2024-11-10 17:47:13,260 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-10 17:47:13,260 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:13,261 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:13,262 INFO L85 PathProgramCache]: Analyzing trace with hash 1528812413, now seen corresponding path program 1 times [2024-11-10 17:47:13,262 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:13,262 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [236373612] [2024-11-10 17:47:13,263 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:13,263 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:13,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:13,499 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:13,500 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:47:13,500 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [236373612] [2024-11-10 17:47:13,500 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [236373612] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:13,500 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:13,500 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-10 17:47:13,501 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [623477680] [2024-11-10 17:47:13,501 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:13,501 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-11-10 17:47:13,501 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:47:13,502 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-11-10 17:47:13,502 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2024-11-10 17:47:13,570 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 91 [2024-11-10 17:47:13,571 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 79 transitions, 182 flow. Second operand has 5 states, 5 states have (on average 38.8) internal successors, (194), 5 states have internal predecessors, (194), 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-11-10 17:47:13,572 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:13,572 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 91 [2024-11-10 17:47:13,572 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:14,181 INFO L124 PetriNetUnfolderBase]: 3867/8251 cut-off events. [2024-11-10 17:47:14,182 INFO L125 PetriNetUnfolderBase]: For 602/602 co-relation queries the response was YES. [2024-11-10 17:47:14,191 INFO L83 FinitePrefix]: Finished finitePrefix Result has 14848 conditions, 8251 events. 3867/8251 cut-off events. For 602/602 co-relation queries the response was YES. Maximal size of possible extension queue 439. Compared 72629 event pairs, 3217 based on Foata normal form. 1/7808 useless extension candidates. Maximal degree in co-relation 14842. Up to 3104 conditions per place. [2024-11-10 17:47:14,217 INFO L140 encePairwiseOnDemand]: 85/91 looper letters, 91 selfloop transitions, 4 changer transitions 0/131 dead transitions. [2024-11-10 17:47:14,217 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 84 places, 131 transitions, 498 flow [2024-11-10 17:47:14,218 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-10 17:47:14,218 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-10 17:47:14,218 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 249 transitions. [2024-11-10 17:47:14,219 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6840659340659341 [2024-11-10 17:47:14,219 INFO L175 Difference]: Start difference. First operand has 81 places, 79 transitions, 182 flow. Second operand 4 states and 249 transitions. [2024-11-10 17:47:14,219 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 84 places, 131 transitions, 498 flow [2024-11-10 17:47:14,224 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 82 places, 131 transitions, 490 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 17:47:14,226 INFO L231 Difference]: Finished difference. Result has 84 places, 81 transitions, 204 flow [2024-11-10 17:47:14,226 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=79, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=75, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=204, PETRI_PLACES=84, PETRI_TRANSITIONS=81} [2024-11-10 17:47:14,227 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, 1 predicate places. [2024-11-10 17:47:14,227 INFO L471 AbstractCegarLoop]: Abstraction has has 84 places, 81 transitions, 204 flow [2024-11-10 17:47:14,227 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 38.8) internal successors, (194), 5 states have internal predecessors, (194), 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-11-10 17:47:14,227 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:14,227 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:14,228 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-10 17:47:14,228 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:14,228 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:14,228 INFO L85 PathProgramCache]: Analyzing trace with hash 2125048734, now seen corresponding path program 1 times [2024-11-10 17:47:14,228 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:47:14,229 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [464945916] [2024-11-10 17:47:14,229 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:14,229 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:47:14,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:47:14,243 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:47:14,253 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:47:14,275 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 17:47:14,275 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:47:14,276 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 15 remaining) [2024-11-10 17:47:14,277 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX (13 of 15 remaining) [2024-11-10 17:47:14,277 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX (12 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 15 remaining) [2024-11-10 17:47:14,278 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 15 remaining) [2024-11-10 17:47:14,279 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 15 remaining) [2024-11-10 17:47:14,279 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 15 remaining) [2024-11-10 17:47:14,279 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 15 remaining) [2024-11-10 17:47:14,279 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-10 17:47:14,279 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-10 17:47:14,305 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-10 17:47:14,305 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-10 17:47:14,309 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.11 05:47:14 BasicIcfg [2024-11-10 17:47:14,309 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-10 17:47:14,310 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-10 17:47:14,310 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-10 17:47:14,310 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-10 17:47:14,310 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:11" (3/4) ... [2024-11-10 17:47:14,312 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-10 17:47:14,312 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-10 17:47:14,313 INFO L158 Benchmark]: Toolchain (without parser) took 3957.97ms. Allocated memory was 190.8MB in the beginning and 299.9MB in the end (delta: 109.1MB). Free memory was 119.7MB in the beginning and 154.8MB in the end (delta: -35.1MB). Peak memory consumption was 76.0MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,313 INFO L158 Benchmark]: CDTParser took 0.14ms. Allocated memory is still 109.1MB. Free memory is still 72.3MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:47:14,313 INFO L158 Benchmark]: CACSL2BoogieTranslator took 730.94ms. Allocated memory is still 190.8MB. Free memory was 119.5MB in the beginning and 136.4MB in the end (delta: -16.9MB). Peak memory consumption was 26.6MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,314 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.63ms. Allocated memory is still 190.8MB. Free memory was 136.4MB in the beginning and 133.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,314 INFO L158 Benchmark]: Boogie Preprocessor took 54.53ms. Allocated memory is still 190.8MB. Free memory was 133.9MB in the beginning and 131.1MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,314 INFO L158 Benchmark]: IcfgBuilder took 545.41ms. Allocated memory is still 190.8MB. Free memory was 131.1MB in the beginning and 90.4MB in the end (delta: 40.6MB). Peak memory consumption was 39.8MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,315 INFO L158 Benchmark]: TraceAbstraction took 2567.26ms. Allocated memory was 190.8MB in the beginning and 299.9MB in the end (delta: 109.1MB). Free memory was 89.9MB in the beginning and 154.8MB in the end (delta: -64.9MB). Peak memory consumption was 47.3MB. Max. memory is 16.1GB. [2024-11-10 17:47:14,315 INFO L158 Benchmark]: Witness Printer took 2.72ms. Allocated memory is still 299.9MB. Free memory is still 154.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:47:14,317 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.14ms. Allocated memory is still 109.1MB. Free memory is still 72.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 730.94ms. Allocated memory is still 190.8MB. Free memory was 119.5MB in the beginning and 136.4MB in the end (delta: -16.9MB). Peak memory consumption was 26.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.63ms. Allocated memory is still 190.8MB. Free memory was 136.4MB in the beginning and 133.9MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 54.53ms. Allocated memory is still 190.8MB. Free memory was 133.9MB in the beginning and 131.1MB in the end (delta: 2.9MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * IcfgBuilder took 545.41ms. Allocated memory is still 190.8MB. Free memory was 131.1MB in the beginning and 90.4MB in the end (delta: 40.6MB). Peak memory consumption was 39.8MB. Max. memory is 16.1GB. * TraceAbstraction took 2567.26ms. Allocated memory was 190.8MB in the beginning and 299.9MB in the end (delta: 109.1MB). Free memory was 89.9MB in the beginning and 154.8MB in the end (delta: -64.9MB). Peak memory consumption was 47.3MB. Max. memory is 16.1GB. * Witness Printer took 2.72ms. Allocated memory is still 299.9MB. Free memory is still 154.8MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: overapproximation of sscanf at line 1285. Possible FailurePath: [L1236] static int iTThreads = 2; [L1237] static int iRThreads = 1; [L1238] static int data1Value = 0; [L1239] static int data2Value = 0; [L1240] pthread_mutex_t *data1Lock; [L1241] pthread_mutex_t *data2Lock; [L1278] int i,err; VAL [\old(argc)=3, \old(argv)={1073741825:1073741826}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1279] COND TRUE argc != 1 VAL [\old(argc)=3, \old(argv)={1073741825:1073741826}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1280] COND FALSE !(argc != 3) VAL [\old(argc)=3, \old(argv)={1073741825:1073741826}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1284] argv[1] [L1285] argv[2] [L1288] data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1289] data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1290] EXPR err = pthread_mutex_init(data1Lock, ((void *)0)) [L1290] COND FALSE !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1294] EXPR err = pthread_mutex_init(data2Lock, ((void *)0)) [L1294] COND FALSE !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1298] pthread_t tPool[iTThreads]; [L1299] pthread_t rPool[iRThreads]; [L1300] i = 0 VAL [\old(argc)=3, \old(argv)={1073741825:1073741826}, argc=3, data1Lock={-2:0}, data1Value=0, data2Lock={-1:0}, data2Value=0, err=0, i=0, iRThreads=0, iTThreads=1073741824, rPool={4:0}, tPool={5:0}] [L1300] COND TRUE i < iTThreads - UnprovableResult [Line: 1284]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 1285]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1277]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1307]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1301]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 113 locations, 15 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 2.4s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 213 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 161 mSDsluCounter, 22 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 19 mSDsCounter, 12 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 343 IncrementalHoareTripleChecker+Invalid, 355 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 12 mSolverCounterUnsat, 3 mSDtfsCounter, 343 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 6 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=204occurred in iteration=3, InterpolantAutomatonStates: 9, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 25 NumberOfCodeBlocks, 25 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 13 ConstructedInterpolants, 0 QuantifiedInterpolants, 68 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-10 17:47:14,349 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/twostage_3-2.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.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 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 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-023d838-m [2024-11-10 17:47:16,280 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-10 17:47:16,349 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2024-11-10 17:47:16,355 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-10 17:47:16,355 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-10 17:47:16,380 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-10 17:47:16,381 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-10 17:47:16,382 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-10 17:47:16,382 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-10 17:47:16,385 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-10 17:47:16,385 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-10 17:47:16,385 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-10 17:47:16,386 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-10 17:47:16,386 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-10 17:47:16,386 INFO L153 SettingsManager]: * Use SBE=true [2024-11-10 17:47:16,386 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-10 17:47:16,386 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-10 17:47:16,387 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-10 17:47:16,387 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-10 17:47:16,387 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-10 17:47:16,388 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-10 17:47:16,388 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-10 17:47:16,389 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-10 17:47:16,390 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-10 17:47:16,390 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:16,391 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-10 17:47:16,391 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-10 17:47:16,391 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-11-10 17:47:16,391 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-10 17:47:16,391 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-10 17:47:16,392 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-10 17:47:16,392 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-10 17:47:16,392 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-10 17:47:16,392 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 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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2024-11-10 17:47:16,670 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 17:47:16,711 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 17:47:16,714 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 17:47:16,715 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 17:47:16,717 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 17:47:16,718 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/twostage_3-2.i [2024-11-10 17:47:18,137 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 17:47:18,424 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 17:47:18,425 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3-2.i [2024-11-10 17:47:18,447 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d7117e29e/40ab39295f4448d08cd6fd7a5de092f8/FLAG58a2bbbad [2024-11-10 17:47:18,464 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d7117e29e/40ab39295f4448d08cd6fd7a5de092f8 [2024-11-10 17:47:18,467 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 17:47:18,468 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 17:47:18,470 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:18,470 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 17:47:18,474 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 17:47:18,475 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:18" (1/1) ... [2024-11-10 17:47:18,476 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@56045b57 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:18, skipping insertion in model container [2024-11-10 17:47:18,476 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:47:18" (1/1) ... [2024-11-10 17:47:18,523 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 17:47:18,963 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-10 17:47:18,963 WARN L1072 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-10 17:47:18,985 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:18,986 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:18,990 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:19,000 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 17:47:19,045 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:19,045 WARN L1684 CHandler]: Possible shadowing of function lock [2024-11-10 17:47:19,046 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:47:19,117 INFO L204 MainTranslator]: Completed translation [2024-11-10 17:47:19,118 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19 WrapperNode [2024-11-10 17:47:19,118 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 17:47:19,119 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:19,119 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 17:47:19,119 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 17:47:19,123 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,144 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,175 INFO L138 Inliner]: procedures = 376, calls = 34, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 168 [2024-11-10 17:47:19,175 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 17:47:19,176 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 17:47:19,176 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 17:47:19,176 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 17:47:19,185 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,185 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,189 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,209 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2024-11-10 17:47:19,211 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,211 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,222 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,223 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,224 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,229 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,232 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 17:47:19,236 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 17:47:19,236 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 17:47:19,236 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 17:47:19,237 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (1/1) ... [2024-11-10 17:47:19,245 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:47:19,254 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 17:47:19,271 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-11-10 17:47:19,281 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-11-10 17:47:19,323 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#0 [2024-11-10 17:47:19,324 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#1 [2024-11-10 17:47:19,324 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#2 [2024-11-10 17:47:19,324 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-11-10 17:47:19,324 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-11-10 17:47:19,324 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-11-10 17:47:19,324 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-11-10 17:47:19,324 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#0 [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#1 [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#2 [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2024-11-10 17:47:19,325 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 17:47:19,326 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 17:47:19,326 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 17:47:19,328 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-10 17:47:19,486 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 17:47:19,489 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 17:47:19,791 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299: havoc main_~#rPool~0#1.base, main_~#rPool~0#1.offset; [2024-11-10 17:47:19,792 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299-1: SUMMARY for call ULTIMATE.dealloc(main_~#rPool~0#1.base, main_~#rPool~0#1.offset); srcloc: null [2024-11-10 17:47:19,792 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298: havoc main_~#tPool~0#1.base, main_~#tPool~0#1.offset; [2024-11-10 17:47:19,792 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298-1: SUMMARY for call ULTIMATE.dealloc(main_~#tPool~0#1.base, main_~#tPool~0#1.offset); srcloc: null [2024-11-10 17:47:19,793 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 17:47:19,793 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 17:47:19,895 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 17:47:19,896 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 17:47:19,896 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:19 BoogieIcfgContainer [2024-11-10 17:47:19,896 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 17:47:19,898 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 17:47:19,898 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 17:47:19,900 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 17:47:19,900 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 05:47:18" (1/3) ... [2024-11-10 17:47:19,901 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@223676e2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:19, skipping insertion in model container [2024-11-10 17:47:19,901 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:47:19" (2/3) ... [2024-11-10 17:47:19,901 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@223676e2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:47:19, skipping insertion in model container [2024-11-10 17:47:19,901 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:19" (3/3) ... [2024-11-10 17:47:19,902 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2024-11-10 17:47:19,914 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 17:47:19,914 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 12 error locations. [2024-11-10 17:47:19,914 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 17:47:19,955 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-10 17:47:19,978 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:20,029 INFO L124 PetriNetUnfolderBase]: 30/210 cut-off events. [2024-11-10 17:47:20,030 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2024-11-10 17:47:20,033 INFO L83 FinitePrefix]: Finished finitePrefix Result has 227 conditions, 210 events. 30/210 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1000 event pairs, 0 based on Foata normal form. 0/138 useless extension candidates. Maximal degree in co-relation 107. Up to 8 conditions per place. [2024-11-10 17:47:20,034 INFO L82 GeneralOperation]: Start removeDead. Operand has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:20,037 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 91 transitions, 202 flow [2024-11-10 17:47:20,043 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:47:20,048 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=None, 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;@74363e10, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:47:20,048 INFO L334 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2024-11-10 17:47:20,050 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:47:20,050 INFO L124 PetriNetUnfolderBase]: 1/6 cut-off events. [2024-11-10 17:47:20,050 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:47:20,051 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:20,051 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:47:20,051 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:20,055 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:20,055 INFO L85 PathProgramCache]: Analyzing trace with hash 14993693, now seen corresponding path program 1 times [2024-11-10 17:47:20,063 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:47:20,064 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [805110648] [2024-11-10 17:47:20,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:20,064 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:20,064 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:47:20,067 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:47:20,068 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2024-11-10 17:47:20,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:20,154 INFO L255 TraceCheckSpWp]: Trace formula consists of 27 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-10 17:47:20,157 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 17:47:20,169 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:20,169 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-10 17:47:20,169 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-10 17:47:20,170 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [805110648] [2024-11-10 17:47:20,170 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [805110648] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:20,170 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:20,170 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 17:47:20,171 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [34339112] [2024-11-10 17:47:20,172 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:20,177 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:47:20,181 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-10 17:47:20,199 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:47:20,199 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:47:20,200 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 91 [2024-11-10 17:47:20,202 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 91 transitions, 202 flow. Second operand has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 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-11-10 17:47:20,202 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:20,202 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 91 [2024-11-10 17:47:20,203 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:20,565 INFO L124 PetriNetUnfolderBase]: 1351/3052 cut-off events. [2024-11-10 17:47:20,565 INFO L125 PetriNetUnfolderBase]: For 128/224 co-relation queries the response was YES. [2024-11-10 17:47:20,572 INFO L83 FinitePrefix]: Finished finitePrefix Result has 5297 conditions, 3052 events. 1351/3052 cut-off events. For 128/224 co-relation queries the response was YES. Maximal size of possible extension queue 170. Compared 22790 event pairs, 1241 based on Foata normal form. 595/3350 useless extension candidates. Maximal degree in co-relation 4642. Up to 2160 conditions per place. [2024-11-10 17:47:20,582 INFO L140 encePairwiseOnDemand]: 82/91 looper letters, 39 selfloop transitions, 0 changer transitions 0/81 dead transitions. [2024-11-10 17:47:20,582 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 81 transitions, 260 flow [2024-11-10 17:47:20,583 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:47:20,585 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:47:20,590 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 132 transitions. [2024-11-10 17:47:20,591 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7252747252747253 [2024-11-10 17:47:20,592 INFO L175 Difference]: Start difference. First operand has 83 places, 91 transitions, 202 flow. Second operand 2 states and 132 transitions. [2024-11-10 17:47:20,593 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 81 transitions, 260 flow [2024-11-10 17:47:20,596 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 81 transitions, 260 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:47:20,597 INFO L231 Difference]: Finished difference. Result has 81 places, 81 transitions, 182 flow [2024-11-10 17:47:20,598 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=80, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=81, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=81, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=182, PETRI_PLACES=81, PETRI_TRANSITIONS=81} [2024-11-10 17:47:20,601 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, -2 predicate places. [2024-11-10 17:47:20,601 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 81 transitions, 182 flow [2024-11-10 17:47:20,601 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 43.0) internal successors, (86), 2 states have internal predecessors, (86), 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-11-10 17:47:20,601 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:20,601 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2024-11-10 17:47:20,605 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2024-11-10 17:47:20,803 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:20,804 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:20,804 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:20,804 INFO L85 PathProgramCache]: Analyzing trace with hash 1526905790, now seen corresponding path program 1 times [2024-11-10 17:47:20,805 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:47:20,805 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1297268991] [2024-11-10 17:47:20,805 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:20,805 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:20,805 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:47:20,814 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:47:20,815 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-11-10 17:47:20,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:20,894 INFO L255 TraceCheckSpWp]: Trace formula consists of 65 conjuncts, 4 conjuncts are in the unsatisfiable core [2024-11-10 17:47:20,896 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 17:47:20,985 INFO L349 Elim1Store]: treesize reduction 19, result has 26.9 percent of original size [2024-11-10 17:47:20,986 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 15 [2024-11-10 17:47:21,002 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,008 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,008 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 21 treesize of output 1 [2024-11-10 17:47:21,013 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,025 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,059 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,059 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 26 treesize of output 1 [2024-11-10 17:47:21,070 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,074 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,074 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 1 [2024-11-10 17:47:21,083 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,086 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,087 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 21 treesize of output 1 [2024-11-10 17:47:21,096 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,108 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,115 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,115 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 26 treesize of output 1 [2024-11-10 17:47:21,130 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,134 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,134 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 1 [2024-11-10 17:47:21,140 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,150 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,158 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,158 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 24 treesize of output 1 [2024-11-10 17:47:21,165 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,169 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,170 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 1 [2024-11-10 17:47:21,186 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,201 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,208 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,208 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 26 treesize of output 1 [2024-11-10 17:47:21,215 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,216 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,236 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,242 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,242 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 6 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 31 treesize of output 1 [2024-11-10 17:47:21,251 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,263 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:21,269 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2024-11-10 17:47:21,269 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 24 treesize of output 1 [2024-11-10 17:47:21,277 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:21,277 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-10 17:47:21,277 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-10 17:47:21,278 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1297268991] [2024-11-10 17:47:21,278 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1297268991] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:21,278 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:21,278 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:47:21,278 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1650517275] [2024-11-10 17:47:21,278 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:21,279 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 17:47:21,279 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-10 17:47:21,280 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 17:47:21,280 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 17:47:21,310 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 91 [2024-11-10 17:47:21,312 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 81 transitions, 182 flow. Second operand has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-11-10 17:47:21,312 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:21,312 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 91 [2024-11-10 17:47:21,312 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:21,758 INFO L124 PetriNetUnfolderBase]: 1632/3539 cut-off events. [2024-11-10 17:47:21,758 INFO L125 PetriNetUnfolderBase]: For 184/280 co-relation queries the response was YES. [2024-11-10 17:47:21,762 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6244 conditions, 3539 events. 1632/3539 cut-off events. For 184/280 co-relation queries the response was YES. Maximal size of possible extension queue 220. Compared 27147 event pairs, 990 based on Foata normal form. 0/3299 useless extension candidates. Maximal degree in co-relation 6239. Up to 1760 conditions per place. [2024-11-10 17:47:21,771 INFO L140 encePairwiseOnDemand]: 87/91 looper letters, 60 selfloop transitions, 2 changer transitions 0/100 dead transitions. [2024-11-10 17:47:21,771 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 100 transitions, 344 flow [2024-11-10 17:47:21,772 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 17:47:21,772 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 17:47:21,773 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 178 transitions. [2024-11-10 17:47:21,773 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.652014652014652 [2024-11-10 17:47:21,773 INFO L175 Difference]: Start difference. First operand has 81 places, 81 transitions, 182 flow. Second operand 3 states and 178 transitions. [2024-11-10 17:47:21,773 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 100 transitions, 344 flow [2024-11-10 17:47:21,774 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 100 transitions, 344 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:47:21,777 INFO L231 Difference]: Finished difference. Result has 81 places, 79 transitions, 182 flow [2024-11-10 17:47:21,777 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=79, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=77, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=182, PETRI_PLACES=81, PETRI_TRANSITIONS=79} [2024-11-10 17:47:21,779 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, -2 predicate places. [2024-11-10 17:47:21,779 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 79 transitions, 182 flow [2024-11-10 17:47:21,779 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.333333333333336) internal successors, (118), 3 states have internal predecessors, (118), 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-11-10 17:47:21,779 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:21,779 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2024-11-10 17:47:21,785 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Ended with exit code 0 [2024-11-10 17:47:21,979 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:21,980 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:21,981 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:21,981 INFO L85 PathProgramCache]: Analyzing trace with hash 1526905791, now seen corresponding path program 1 times [2024-11-10 17:47:21,982 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:47:21,982 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1621588990] [2024-11-10 17:47:21,982 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:21,982 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:21,982 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:47:21,985 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:47:21,986 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2024-11-10 17:47:22,051 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:47:22,052 INFO L255 TraceCheckSpWp]: Trace formula consists of 65 conjuncts, 8 conjuncts are in the unsatisfiable core [2024-11-10 17:47:22,054 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 17:47:22,094 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,095 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 5 [2024-11-10 17:47:22,100 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,104 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2024-11-10 17:47:22,122 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,123 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,131 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,132 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,133 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,143 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,150 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,151 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,156 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,167 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,168 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,173 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,181 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,183 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,184 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2024-11-10 17:47:22,192 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,193 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,197 INFO L173 IndexEqualityManager]: detected equality via solver [2024-11-10 17:47:22,203 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,205 INFO L190 IndexEqualityManager]: detected not equals via solver [2024-11-10 17:47:22,207 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2024-11-10 17:47:22,236 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:47:22,236 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-10 17:47:22,236 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-10 17:47:22,237 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1621588990] [2024-11-10 17:47:22,237 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1621588990] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:47:22,237 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:47:22,237 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:47:22,237 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [108264240] [2024-11-10 17:47:22,237 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:47:22,237 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-11-10 17:47:22,238 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-10 17:47:22,238 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-11-10 17:47:22,238 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-11-10 17:47:22,301 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 40 out of 91 [2024-11-10 17:47:22,302 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 79 transitions, 182 flow. Second operand has 4 states, 4 states have (on average 41.0) internal successors, (164), 4 states have internal predecessors, (164), 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-11-10 17:47:22,302 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:47:22,302 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 40 of 91 [2024-11-10 17:47:22,302 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:47:22,958 INFO L124 PetriNetUnfolderBase]: 3297/7691 cut-off events. [2024-11-10 17:47:22,958 INFO L125 PetriNetUnfolderBase]: For 776/1043 co-relation queries the response was YES. [2024-11-10 17:47:22,971 INFO L83 FinitePrefix]: Finished finitePrefix Result has 13434 conditions, 7691 events. 3297/7691 cut-off events. For 776/1043 co-relation queries the response was YES. Maximal size of possible extension queue 424. Compared 70632 event pairs, 2696 based on Foata normal form. 2/6962 useless extension candidates. Maximal degree in co-relation 13428. Up to 2622 conditions per place. [2024-11-10 17:47:23,001 INFO L140 encePairwiseOnDemand]: 83/91 looper letters, 99 selfloop transitions, 6 changer transitions 0/143 dead transitions. [2024-11-10 17:47:23,002 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 84 places, 143 transitions, 547 flow [2024-11-10 17:47:23,002 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-10 17:47:23,002 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-10 17:47:23,003 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 267 transitions. [2024-11-10 17:47:23,004 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7335164835164835 [2024-11-10 17:47:23,004 INFO L175 Difference]: Start difference. First operand has 81 places, 79 transitions, 182 flow. Second operand 4 states and 267 transitions. [2024-11-10 17:47:23,004 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 84 places, 143 transitions, 547 flow [2024-11-10 17:47:23,010 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 82 places, 143 transitions, 537 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 17:47:23,012 INFO L231 Difference]: Finished difference. Result has 84 places, 83 transitions, 220 flow [2024-11-10 17:47:23,012 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=91, PETRI_DIFFERENCE_MINUEND_FLOW=178, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=79, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=73, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=220, PETRI_PLACES=84, PETRI_TRANSITIONS=83} [2024-11-10 17:47:23,013 INFO L277 CegarLoopForPetriNet]: 83 programPoint places, 1 predicate places. [2024-11-10 17:47:23,013 INFO L471 AbstractCegarLoop]: Abstraction has has 84 places, 83 transitions, 220 flow [2024-11-10 17:47:23,013 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 41.0) internal successors, (164), 4 states have internal predecessors, (164), 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-11-10 17:47:23,014 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:47:23,014 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:47:23,024 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2024-11-10 17:47:23,214 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:23,215 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2024-11-10 17:47:23,216 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:47:23,216 INFO L85 PathProgramCache]: Analyzing trace with hash 918289437, now seen corresponding path program 1 times [2024-11-10 17:47:23,216 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:47:23,217 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [403426376] [2024-11-10 17:47:23,217 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:47:23,218 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:23,218 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:47:23,220 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:47:23,223 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2024-11-10 17:47:23,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:47:23,287 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:47:23,309 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:47:23,336 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-11-10 17:47:23,336 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:47:23,337 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 15 remaining) [2024-11-10 17:47:23,338 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX (13 of 15 remaining) [2024-11-10 17:47:23,338 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX (12 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 15 remaining) [2024-11-10 17:47:23,339 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 15 remaining) [2024-11-10 17:47:23,340 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 15 remaining) [2024-11-10 17:47:23,340 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 15 remaining) [2024-11-10 17:47:23,340 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 15 remaining) [2024-11-10 17:47:23,347 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Ended with exit code 0 [2024-11-10 17:47:23,540 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:47:23,541 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-10 17:47:23,561 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-10 17:47:23,561 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-10 17:47:23,564 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.11 05:47:23 BasicIcfg [2024-11-10 17:47:23,564 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-10 17:47:23,565 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-10 17:47:23,565 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-10 17:47:23,565 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-10 17:47:23,565 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:47:19" (3/4) ... [2024-11-10 17:47:23,567 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-10 17:47:23,568 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-10 17:47:23,568 INFO L158 Benchmark]: Toolchain (without parser) took 5099.77ms. Allocated memory was 62.9MB in the beginning and 419.4MB in the end (delta: 356.5MB). Free memory was 37.4MB in the beginning and 207.6MB in the end (delta: -170.2MB). Peak memory consumption was 186.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,568 INFO L158 Benchmark]: CDTParser took 4.71ms. Allocated memory is still 62.9MB. Free memory was 38.8MB in the beginning and 38.7MB in the end (delta: 73.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:47:23,569 INFO L158 Benchmark]: CACSL2BoogieTranslator took 648.16ms. Allocated memory was 62.9MB in the beginning and 81.8MB in the end (delta: 18.9MB). Free memory was 37.3MB in the beginning and 50.7MB in the end (delta: -13.4MB). Peak memory consumption was 27.0MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,569 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.61ms. Allocated memory is still 81.8MB. Free memory was 50.7MB in the beginning and 47.7MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,569 INFO L158 Benchmark]: Boogie Preprocessor took 59.47ms. Allocated memory is still 81.8MB. Free memory was 47.7MB in the beginning and 44.8MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,569 INFO L158 Benchmark]: IcfgBuilder took 660.77ms. Allocated memory is still 81.8MB. Free memory was 44.8MB in the beginning and 43.1MB in the end (delta: 1.7MB). Peak memory consumption was 22.8MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,570 INFO L158 Benchmark]: TraceAbstraction took 3666.69ms. Allocated memory was 81.8MB in the beginning and 419.4MB in the end (delta: 337.6MB). Free memory was 42.5MB in the beginning and 208.7MB in the end (delta: -166.2MB). Peak memory consumption was 169.9MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,570 INFO L158 Benchmark]: Witness Printer took 2.85ms. Allocated memory is still 419.4MB. Free memory was 208.7MB in the beginning and 207.6MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:47:23,572 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 4.71ms. Allocated memory is still 62.9MB. Free memory was 38.8MB in the beginning and 38.7MB in the end (delta: 73.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 648.16ms. Allocated memory was 62.9MB in the beginning and 81.8MB in the end (delta: 18.9MB). Free memory was 37.3MB in the beginning and 50.7MB in the end (delta: -13.4MB). Peak memory consumption was 27.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.61ms. Allocated memory is still 81.8MB. Free memory was 50.7MB in the beginning and 47.7MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 59.47ms. Allocated memory is still 81.8MB. Free memory was 47.7MB in the beginning and 44.8MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 660.77ms. Allocated memory is still 81.8MB. Free memory was 44.8MB in the beginning and 43.1MB in the end (delta: 1.7MB). Peak memory consumption was 22.8MB. Max. memory is 16.1GB. * TraceAbstraction took 3666.69ms. Allocated memory was 81.8MB in the beginning and 419.4MB in the end (delta: 337.6MB). Free memory was 42.5MB in the beginning and 208.7MB in the end (delta: -166.2MB). Peak memory consumption was 169.9MB. Max. memory is 16.1GB. * Witness Printer took 2.85ms. Allocated memory is still 419.4MB. Free memory was 208.7MB in the beginning and 207.6MB in the end (delta: 1.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: overapproximation of sscanf at line 1285. Possible FailurePath: [L1236] static int iTThreads = 2; [L1237] static int iRThreads = 1; [L1238] static int data1Value = 0; [L1239] static int data2Value = 0; [L1240] pthread_mutex_t *data1Lock; [L1241] pthread_mutex_t *data2Lock; [L1278] int i,err; VAL [\old(argc)=3, \old(argv)={6:5}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1279] COND TRUE argc != 1 VAL [\old(argc)=3, \old(argv)={6:5}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1280] COND FALSE !(argc != 3) VAL [\old(argc)=3, \old(argv)={6:5}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1284] argv[1] [L1285] argv[2] [L1288] data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1289] data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1290] EXPR err = pthread_mutex_init(data1Lock, ((void *)0)) [L1290] COND FALSE !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1294] EXPR err = pthread_mutex_init(data2Lock, ((void *)0)) [L1294] COND FALSE !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1298] pthread_t tPool[iTThreads]; [L1299] pthread_t rPool[iRThreads]; [L1300] i = 0 VAL [\old(argc)=3, \old(argv)={6:5}, argc=3, data1Lock={3:0}, data1Value=0, data2Lock={7:0}, data2Value=0, err=0, i=0, iRThreads=0, iTThreads=1073741824, rPool={47:0}, tPool={63:0}] [L1300] COND TRUE i < iTThreads - UnprovableResult [Line: 1284]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 1285]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1277]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1301]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1307]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 113 locations, 15 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 3.6s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.7s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 215 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 159 mSDsluCounter, 35 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 19 mSDsCounter, 8 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 283 IncrementalHoareTripleChecker+Invalid, 291 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 8 mSolverCounterUnsat, 16 mSDtfsCounter, 283 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 14 GetRequests, 10 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=220occurred in iteration=3, InterpolantAutomatonStates: 9, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 25 NumberOfCodeBlocks, 25 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 13 ConstructedInterpolants, 0 QuantifiedInterpolants, 68 SizeOfPredicates, 7 NumberOfNonLiveVariables, 157 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-10 17:47:23,596 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample