./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.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/goblint-regression/28-race_reach_41-trylock_racefree.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 af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-023d838-m [2024-11-10 18:09:02,702 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-10 18:09:02,813 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-10 18:09:02,818 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-10 18:09:02,820 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-10 18:09:02,852 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-10 18:09:02,854 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-10 18:09:02,855 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-10 18:09:02,855 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-10 18:09:02,857 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-10 18:09:02,858 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-10 18:09:02,858 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-10 18:09:02,859 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-10 18:09:02,859 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-10 18:09:02,859 INFO L153 SettingsManager]: * Use SBE=true [2024-11-10 18:09:02,860 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-10 18:09:02,860 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-10 18:09:02,860 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-10 18:09:02,861 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-10 18:09:02,861 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-10 18:09:02,866 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-10 18:09:02,866 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-10 18:09:02,867 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-10 18:09:02,867 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-10 18:09:02,868 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-10 18:09:02,868 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-10 18:09:02,869 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-10 18:09:02,869 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-10 18:09:02,869 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-10 18:09:02,870 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-10 18:09:02,870 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-10 18:09:02,870 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-10 18:09:02,870 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-10 18:09:02,871 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 18:09:02,871 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-10 18:09:02,872 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-10 18:09:02,872 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-10 18:09:02,872 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-10 18:09:02,873 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-10 18:09:02,874 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-10 18:09:02,874 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-10 18:09:02,874 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-10 18:09:02,875 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 -> af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 [2024-11-10 18:09:03,235 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 18:09:03,262 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 18:09:03,265 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 18:09:03,266 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 18:09:03,267 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 18:09:03,269 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.i [2024-11-10 18:09:04,978 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 18:09:05,327 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 18:09:05,328 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.i [2024-11-10 18:09:05,353 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/072119221/65627959b1aa4f7a8739927226e52b7b/FLAG7ef86c547 [2024-11-10 18:09:05,373 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/072119221/65627959b1aa4f7a8739927226e52b7b [2024-11-10 18:09:05,375 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 18:09:05,379 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 18:09:05,381 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 18:09:05,383 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 18:09:05,388 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 18:09:05,389 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 06:09:05" (1/1) ... [2024-11-10 18:09:05,390 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4b340c25 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:05, skipping insertion in model container [2024-11-10 18:09:05,391 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 06:09:05" (1/1) ... [2024-11-10 18:09:05,441 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 18:09:05,906 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 18:09:05,927 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 18:09:05,971 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 18:09:06,010 INFO L204 MainTranslator]: Completed translation [2024-11-10 18:09:06,011 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06 WrapperNode [2024-11-10 18:09:06,011 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 18:09:06,013 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 18:09:06,013 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 18:09:06,013 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 18:09:06,021 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,039 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,073 INFO L138 Inliner]: procedures = 172, calls = 36, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 79 [2024-11-10 18:09:06,075 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 18:09:06,076 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 18:09:06,077 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 18:09:06,077 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 18:09:06,089 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,089 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,093 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,142 INFO L175 MemorySlicer]: Split 14 memory accesses to 4 slices as follows [2, 5, 5, 2]. 36 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 1]. [2024-11-10 18:09:06,142 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,143 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,154 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,155 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,156 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,158 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,161 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 18:09:06,162 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 18:09:06,162 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 18:09:06,162 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 18:09:06,163 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (1/1) ... [2024-11-10 18:09:06,175 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 18:09:06,191 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 18:09:06,214 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 18:09:06,218 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 18:09:06,294 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-10 18:09:06,295 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-10 18:09:06,295 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-10 18:09:06,295 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-10 18:09:06,296 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-10 18:09:06,296 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-10 18:09:06,296 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-10 18:09:06,296 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-10 18:09:06,297 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-10 18:09:06,297 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 18:09:06,297 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-10 18:09:06,297 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-10 18:09:06,299 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-10 18:09:06,299 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-10 18:09:06,299 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2024-11-10 18:09:06,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-10 18:09:06,299 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-10 18:09:06,300 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-10 18:09:06,300 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-10 18:09:06,300 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-10 18:09:06,300 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 18:09:06,300 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 18:09:06,302 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 18:09:06,494 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 18:09:06,497 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 18:09:06,734 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L706: havoc main_~#t_ids~0#1.base, main_~#t_ids~0#1.offset; [2024-11-10 18:09:06,734 INFO L1247 $ProcedureCfgBuilder]: dead code at ProgramPoint L706-1: SUMMARY for call ULTIMATE.dealloc(main_~#t_ids~0#1.base, main_~#t_ids~0#1.offset); srcloc: null [2024-11-10 18:09:06,787 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 18:09:06,787 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 18:09:06,944 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 18:09:06,944 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 18:09:06,945 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 06:09:06 BoogieIcfgContainer [2024-11-10 18:09:06,946 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 18:09:06,948 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 18:09:06,948 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 18:09:06,952 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 18:09:06,952 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 06:09:05" (1/3) ... [2024-11-10 18:09:06,953 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@420e144d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 06:09:06, skipping insertion in model container [2024-11-10 18:09:06,953 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 06:09:06" (2/3) ... [2024-11-10 18:09:06,954 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@420e144d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 06:09:06, skipping insertion in model container [2024-11-10 18:09:06,954 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 06:09:06" (3/3) ... [2024-11-10 18:09:06,956 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_41-trylock_racefree.i [2024-11-10 18:09:06,975 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 18:09:06,975 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-11-10 18:09:06,975 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 18:09:07,023 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-10 18:09:07,064 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 60 places, 72 transitions, 151 flow [2024-11-10 18:09:07,122 INFO L124 PetriNetUnfolderBase]: 23/113 cut-off events. [2024-11-10 18:09:07,123 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-10 18:09:07,128 INFO L83 FinitePrefix]: Finished finitePrefix Result has 118 conditions, 113 events. 23/113 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 425 event pairs, 0 based on Foata normal form. 0/75 useless extension candidates. Maximal degree in co-relation 67. Up to 6 conditions per place. [2024-11-10 18:09:07,129 INFO L82 GeneralOperation]: Start removeDead. Operand has 60 places, 72 transitions, 151 flow [2024-11-10 18:09:07,133 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 60 places, 72 transitions, 151 flow [2024-11-10 18:09:07,143 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 18:09:07,152 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;@cde637c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 18:09:07,152 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-10 18:09:07,157 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 18:09:07,157 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 18:09:07,157 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 18:09:07,157 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:07,159 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:07,160 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:07,165 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:07,166 INFO L85 PathProgramCache]: Analyzing trace with hash 9470498, now seen corresponding path program 1 times [2024-11-10 18:09:07,177 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:07,178 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [816303956] [2024-11-10 18:09:07,178 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:07,179 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:07,312 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:07,515 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 18:09:07,516 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:07,516 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [816303956] [2024-11-10 18:09:07,517 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [816303956] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:07,517 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:07,517 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:07,519 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [496505027] [2024-11-10 18:09:07,520 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:07,530 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:07,535 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:07,564 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:07,565 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:07,593 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 72 [2024-11-10 18:09:07,596 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 60 places, 72 transitions, 151 flow. Second operand has 3 states, 3 states have (on average 28.0) internal successors, (84), 3 states have internal predecessors, (84), 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 18:09:07,596 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:07,597 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 72 [2024-11-10 18:09:07,598 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:07,906 INFO L124 PetriNetUnfolderBase]: 153/513 cut-off events. [2024-11-10 18:09:07,906 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-10 18:09:07,908 INFO L83 FinitePrefix]: Finished finitePrefix Result has 855 conditions, 513 events. 153/513 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 2694 event pairs, 123 based on Foata normal form. 178/665 useless extension candidates. Maximal degree in co-relation 792. Up to 296 conditions per place. [2024-11-10 18:09:07,915 INFO L140 encePairwiseOnDemand]: 55/72 looper letters, 35 selfloop transitions, 2 changer transitions 1/65 dead transitions. [2024-11-10 18:09:07,915 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 59 places, 65 transitions, 213 flow [2024-11-10 18:09:07,917 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:07,919 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:07,932 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 140 transitions. [2024-11-10 18:09:07,935 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6481481481481481 [2024-11-10 18:09:07,937 INFO L175 Difference]: Start difference. First operand has 60 places, 72 transitions, 151 flow. Second operand 3 states and 140 transitions. [2024-11-10 18:09:07,938 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 59 places, 65 transitions, 213 flow [2024-11-10 18:09:07,941 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 59 places, 65 transitions, 213 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 18:09:07,944 INFO L231 Difference]: Finished difference. Result has 59 places, 55 transitions, 121 flow [2024-11-10 18:09:07,946 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=72, PETRI_DIFFERENCE_MINUEND_FLOW=119, PETRI_DIFFERENCE_MINUEND_PLACES=57, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=56, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=54, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=121, PETRI_PLACES=59, PETRI_TRANSITIONS=55} [2024-11-10 18:09:07,950 INFO L277 CegarLoopForPetriNet]: 60 programPoint places, -1 predicate places. [2024-11-10 18:09:07,950 INFO L471 AbstractCegarLoop]: Abstraction has has 59 places, 55 transitions, 121 flow [2024-11-10 18:09:07,951 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.0) internal successors, (84), 3 states have internal predecessors, (84), 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 18:09:07,951 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:07,951 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:07,952 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-10 18:09:07,952 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:07,953 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:07,953 INFO L85 PathProgramCache]: Analyzing trace with hash 9470499, now seen corresponding path program 1 times [2024-11-10 18:09:07,953 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:07,953 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [903019318] [2024-11-10 18:09:07,954 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:07,954 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:07,993 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:08,168 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 18:09:08,169 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:08,169 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [903019318] [2024-11-10 18:09:08,169 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [903019318] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:08,169 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:08,170 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:08,170 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [845160437] [2024-11-10 18:09:08,171 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:08,172 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:08,172 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:08,173 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:08,173 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:08,198 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 72 [2024-11-10 18:09:08,199 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 55 transitions, 121 flow. Second operand has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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 18:09:08,200 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:08,200 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 72 [2024-11-10 18:09:08,200 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:08,418 INFO L124 PetriNetUnfolderBase]: 145/489 cut-off events. [2024-11-10 18:09:08,419 INFO L125 PetriNetUnfolderBase]: For 15/16 co-relation queries the response was YES. [2024-11-10 18:09:08,424 INFO L83 FinitePrefix]: Finished finitePrefix Result has 818 conditions, 489 events. 145/489 cut-off events. For 15/16 co-relation queries the response was YES. Maximal size of possible extension queue 24. Compared 2505 event pairs, 112 based on Foata normal form. 1/443 useless extension candidates. Maximal degree in co-relation 786. Up to 299 conditions per place. [2024-11-10 18:09:08,428 INFO L140 encePairwiseOnDemand]: 68/72 looper letters, 37 selfloop transitions, 2 changer transitions 0/65 dead transitions. [2024-11-10 18:09:08,428 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 60 places, 65 transitions, 219 flow [2024-11-10 18:09:08,429 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:08,429 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:08,430 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 125 transitions. [2024-11-10 18:09:08,430 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5787037037037037 [2024-11-10 18:09:08,430 INFO L175 Difference]: Start difference. First operand has 59 places, 55 transitions, 121 flow. Second operand 3 states and 125 transitions. [2024-11-10 18:09:08,430 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 60 places, 65 transitions, 219 flow [2024-11-10 18:09:08,432 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 58 places, 65 transitions, 215 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 18:09:08,436 INFO L231 Difference]: Finished difference. Result has 59 places, 55 transitions, 127 flow [2024-11-10 18:09:08,437 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=72, PETRI_DIFFERENCE_MINUEND_FLOW=117, PETRI_DIFFERENCE_MINUEND_PLACES=56, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=55, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=53, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=127, PETRI_PLACES=59, PETRI_TRANSITIONS=55} [2024-11-10 18:09:08,437 INFO L277 CegarLoopForPetriNet]: 60 programPoint places, -1 predicate places. [2024-11-10 18:09:08,438 INFO L471 AbstractCegarLoop]: Abstraction has has 59 places, 55 transitions, 127 flow [2024-11-10 18:09:08,438 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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 18:09:08,440 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:08,441 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1, 1] [2024-11-10 18:09:08,441 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-10 18:09:08,441 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:08,442 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:08,442 INFO L85 PathProgramCache]: Analyzing trace with hash -99870207, now seen corresponding path program 1 times [2024-11-10 18:09:08,442 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:08,442 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2080357629] [2024-11-10 18:09:08,442 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:08,443 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:08,482 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:08,715 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:08,716 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:08,716 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2080357629] [2024-11-10 18:09:08,716 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2080357629] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-10 18:09:08,716 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [611159164] [2024-11-10 18:09:08,717 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:08,717 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-10 18:09:08,717 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 18:09:08,719 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-10 18:09:08,721 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-11-10 18:09:08,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:08,818 INFO L255 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-10 18:09:08,824 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 18:09:08,900 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 0 case distinctions, treesize of input 8 treesize of output 1 [2024-11-10 18:09:09,042 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:09,044 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-10 18:09:09,201 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:09,201 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [611159164] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-10 18:09:09,201 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-10 18:09:09,202 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-10 18:09:09,202 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [645735367] [2024-11-10 18:09:09,202 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-10 18:09:09,202 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-10 18:09:09,203 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:09,203 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-10 18:09:09,203 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-10 18:09:09,267 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 72 [2024-11-10 18:09:09,268 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 59 places, 55 transitions, 127 flow. Second operand has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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 18:09:09,268 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:09,268 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 72 [2024-11-10 18:09:09,268 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:09,371 INFO L124 PetriNetUnfolderBase]: 27/101 cut-off events. [2024-11-10 18:09:09,372 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-10 18:09:09,372 INFO L83 FinitePrefix]: Finished finitePrefix Result has 199 conditions, 101 events. 27/101 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 283 event pairs, 0 based on Foata normal form. 20/118 useless extension candidates. Maximal degree in co-relation 172. Up to 57 conditions per place. [2024-11-10 18:09:09,373 INFO L140 encePairwiseOnDemand]: 68/72 looper letters, 23 selfloop transitions, 2 changer transitions 0/37 dead transitions. [2024-11-10 18:09:09,373 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 37 transitions, 134 flow [2024-11-10 18:09:09,378 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-10 18:09:09,378 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-10 18:09:09,379 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 135 transitions. [2024-11-10 18:09:09,380 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.46875 [2024-11-10 18:09:09,382 INFO L175 Difference]: Start difference. First operand has 59 places, 55 transitions, 127 flow. Second operand 4 states and 135 transitions. [2024-11-10 18:09:09,383 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 37 transitions, 134 flow [2024-11-10 18:09:09,383 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 32 places, 37 transitions, 128 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-10 18:09:09,384 INFO L231 Difference]: Finished difference. Result has 32 places, 26 transitions, 60 flow [2024-11-10 18:09:09,384 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=72, PETRI_DIFFERENCE_MINUEND_FLOW=56, PETRI_DIFFERENCE_MINUEND_PLACES=29, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=24, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=60, PETRI_PLACES=32, PETRI_TRANSITIONS=26} [2024-11-10 18:09:09,385 INFO L277 CegarLoopForPetriNet]: 60 programPoint places, -28 predicate places. [2024-11-10 18:09:09,386 INFO L471 AbstractCegarLoop]: Abstraction has has 32 places, 26 transitions, 60 flow [2024-11-10 18:09:09,387 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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 18:09:09,387 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:09,387 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 2, 1, 1, 1, 1] [2024-11-10 18:09:09,410 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-10 18:09:09,591 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-10 18:09:09,592 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:09,592 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:09,593 INFO L85 PathProgramCache]: Analyzing trace with hash 1198991139, now seen corresponding path program 1 times [2024-11-10 18:09:09,593 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:09,593 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1749209312] [2024-11-10 18:09:09,593 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:09,593 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:09,613 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:09,615 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 18:09:09,632 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:09,659 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 18:09:09,659 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 18:09:09,662 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-10 18:09:09,665 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-10 18:09:09,665 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-10 18:09:09,665 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-10 18:09:09,666 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-10 18:09:09,666 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-10 18:09:09,666 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-10 18:09:09,666 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-10 18:09:09,667 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-10 18:09:09,670 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-10 18:09:09,671 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-10 18:09:09,694 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-10 18:09:09,699 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 82 places, 99 transitions, 214 flow [2024-11-10 18:09:09,723 INFO L124 PetriNetUnfolderBase]: 40/196 cut-off events. [2024-11-10 18:09:09,723 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-10 18:09:09,727 INFO L83 FinitePrefix]: Finished finitePrefix Result has 208 conditions, 196 events. 40/196 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 814 event pairs, 0 based on Foata normal form. 0/131 useless extension candidates. Maximal degree in co-relation 117. Up to 9 conditions per place. [2024-11-10 18:09:09,727 INFO L82 GeneralOperation]: Start removeDead. Operand has 82 places, 99 transitions, 214 flow [2024-11-10 18:09:09,729 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 82 places, 99 transitions, 214 flow [2024-11-10 18:09:09,731 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 18:09:09,731 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;@cde637c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 18:09:09,732 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-10 18:09:09,733 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 18:09:09,733 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 18:09:09,734 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 18:09:09,734 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:09,734 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:09,734 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:09,735 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:09,735 INFO L85 PathProgramCache]: Analyzing trace with hash 12518114, now seen corresponding path program 1 times [2024-11-10 18:09:09,735 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:09,735 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1982174779] [2024-11-10 18:09:09,736 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:09,736 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:09,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:09,774 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 18:09:09,774 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:09,775 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1982174779] [2024-11-10 18:09:09,775 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1982174779] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:09,775 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:09,775 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:09,775 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1449681876] [2024-11-10 18:09:09,775 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:09,776 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:09,776 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:09,776 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:09,776 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:09,791 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 37 out of 99 [2024-11-10 18:09:09,792 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 82 places, 99 transitions, 214 flow. Second operand has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 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 18:09:09,792 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:09,792 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 37 of 99 [2024-11-10 18:09:09,792 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:10,728 INFO L124 PetriNetUnfolderBase]: 3270/6818 cut-off events. [2024-11-10 18:09:10,729 INFO L125 PetriNetUnfolderBase]: For 57/57 co-relation queries the response was YES. [2024-11-10 18:09:10,748 INFO L83 FinitePrefix]: Finished finitePrefix Result has 12080 conditions, 6818 events. 3270/6818 cut-off events. For 57/57 co-relation queries the response was YES. Maximal size of possible extension queue 227. Compared 53769 event pairs, 2751 based on Foata normal form. 2910/9403 useless extension candidates. Maximal degree in co-relation 8853. Up to 4566 conditions per place. [2024-11-10 18:09:10,789 INFO L140 encePairwiseOnDemand]: 76/99 looper letters, 55 selfloop transitions, 2 changer transitions 1/95 dead transitions. [2024-11-10 18:09:10,789 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 95 transitions, 322 flow [2024-11-10 18:09:10,791 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:10,791 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:10,792 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 202 transitions. [2024-11-10 18:09:10,793 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6801346801346801 [2024-11-10 18:09:10,793 INFO L175 Difference]: Start difference. First operand has 82 places, 99 transitions, 214 flow. Second operand 3 states and 202 transitions. [2024-11-10 18:09:10,793 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 95 transitions, 322 flow [2024-11-10 18:09:10,795 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 95 transitions, 322 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 18:09:10,797 INFO L231 Difference]: Finished difference. Result has 81 places, 76 transitions, 172 flow [2024-11-10 18:09:10,797 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=99, PETRI_DIFFERENCE_MINUEND_FLOW=170, PETRI_DIFFERENCE_MINUEND_PLACES=79, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=77, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=75, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=172, PETRI_PLACES=81, PETRI_TRANSITIONS=76} [2024-11-10 18:09:10,798 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, -1 predicate places. [2024-11-10 18:09:10,798 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 76 transitions, 172 flow [2024-11-10 18:09:10,798 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 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 18:09:10,798 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:10,798 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:10,799 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-10 18:09:10,799 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:10,799 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:10,799 INFO L85 PathProgramCache]: Analyzing trace with hash 12518115, now seen corresponding path program 1 times [2024-11-10 18:09:10,800 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:10,800 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1924546368] [2024-11-10 18:09:10,800 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:10,800 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:10,810 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:10,869 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 18:09:10,869 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:10,870 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1924546368] [2024-11-10 18:09:10,870 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1924546368] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:10,871 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:10,871 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:10,871 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1171739667] [2024-11-10 18:09:10,871 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:10,871 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:10,872 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:10,872 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:10,873 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:10,886 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 38 out of 99 [2024-11-10 18:09:10,887 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 76 transitions, 172 flow. Second operand has 3 states, 3 states have (on average 39.0) internal successors, (117), 3 states have internal predecessors, (117), 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 18:09:10,887 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:10,888 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 38 of 99 [2024-11-10 18:09:10,888 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:11,634 INFO L124 PetriNetUnfolderBase]: 3082/6718 cut-off events. [2024-11-10 18:09:11,635 INFO L125 PetriNetUnfolderBase]: For 228/228 co-relation queries the response was YES. [2024-11-10 18:09:11,654 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11786 conditions, 6718 events. 3082/6718 cut-off events. For 228/228 co-relation queries the response was YES. Maximal size of possible extension queue 235. Compared 55290 event pairs, 1377 based on Foata normal form. 1/6248 useless extension candidates. Maximal degree in co-relation 10908. Up to 4876 conditions per place. [2024-11-10 18:09:11,786 INFO L140 encePairwiseOnDemand]: 95/99 looper letters, 49 selfloop transitions, 2 changer transitions 0/87 dead transitions. [2024-11-10 18:09:11,786 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 82 places, 87 transitions, 296 flow [2024-11-10 18:09:11,787 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:11,787 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:11,788 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 167 transitions. [2024-11-10 18:09:11,788 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5622895622895623 [2024-11-10 18:09:11,788 INFO L175 Difference]: Start difference. First operand has 81 places, 76 transitions, 172 flow. Second operand 3 states and 167 transitions. [2024-11-10 18:09:11,788 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 82 places, 87 transitions, 296 flow [2024-11-10 18:09:11,797 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 80 places, 87 transitions, 292 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 18:09:11,800 INFO L231 Difference]: Finished difference. Result has 81 places, 77 transitions, 182 flow [2024-11-10 18:09:11,801 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=99, PETRI_DIFFERENCE_MINUEND_FLOW=168, PETRI_DIFFERENCE_MINUEND_PLACES=78, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=76, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=74, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=182, PETRI_PLACES=81, PETRI_TRANSITIONS=77} [2024-11-10 18:09:11,802 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, -1 predicate places. [2024-11-10 18:09:11,803 INFO L471 AbstractCegarLoop]: Abstraction has has 81 places, 77 transitions, 182 flow [2024-11-10 18:09:11,804 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 39.0) internal successors, (117), 3 states have internal predecessors, (117), 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 18:09:11,804 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:11,804 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1, 1] [2024-11-10 18:09:11,804 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-10 18:09:11,804 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:11,805 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:11,805 INFO L85 PathProgramCache]: Analyzing trace with hash -1584270211, now seen corresponding path program 1 times [2024-11-10 18:09:11,805 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:11,805 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1644325245] [2024-11-10 18:09:11,805 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:11,806 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:11,821 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:11,937 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:11,938 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:11,938 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1644325245] [2024-11-10 18:09:11,938 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1644325245] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-10 18:09:11,939 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1469274111] [2024-11-10 18:09:11,939 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:11,939 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-10 18:09:11,939 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 18:09:11,941 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-10 18:09:11,943 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-11-10 18:09:12,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:12,026 INFO L255 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-10 18:09:12,027 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 18:09:12,038 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 0 case distinctions, treesize of input 8 treesize of output 1 [2024-11-10 18:09:12,116 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:12,117 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-10 18:09:12,197 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:12,197 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1469274111] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-10 18:09:12,197 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-10 18:09:12,197 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-10 18:09:12,198 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [633272121] [2024-11-10 18:09:12,198 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-10 18:09:12,198 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-10 18:09:12,198 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:12,199 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-10 18:09:12,199 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-10 18:09:12,261 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 37 out of 99 [2024-11-10 18:09:12,261 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 81 places, 77 transitions, 182 flow. Second operand has 9 states, 9 states have (on average 39.333333333333336) internal successors, (354), 9 states have internal predecessors, (354), 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 18:09:12,261 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:12,262 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 37 of 99 [2024-11-10 18:09:12,262 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:12,595 INFO L124 PetriNetUnfolderBase]: 657/1495 cut-off events. [2024-11-10 18:09:12,595 INFO L125 PetriNetUnfolderBase]: For 367/367 co-relation queries the response was YES. [2024-11-10 18:09:12,599 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2754 conditions, 1495 events. 657/1495 cut-off events. For 367/367 co-relation queries the response was YES. Maximal size of possible extension queue 58. Compared 9247 event pairs, 276 based on Foata normal form. 220/1691 useless extension candidates. Maximal degree in co-relation 2395. Up to 840 conditions per place. [2024-11-10 18:09:12,608 INFO L140 encePairwiseOnDemand]: 95/99 looper letters, 53 selfloop transitions, 3 changer transitions 0/78 dead transitions. [2024-11-10 18:09:12,609 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 58 places, 78 transitions, 286 flow [2024-11-10 18:09:12,609 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-10 18:09:12,609 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-10 18:09:12,610 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 245 transitions. [2024-11-10 18:09:12,611 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.494949494949495 [2024-11-10 18:09:12,611 INFO L175 Difference]: Start difference. First operand has 81 places, 77 transitions, 182 flow. Second operand 5 states and 245 transitions. [2024-11-10 18:09:12,611 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 58 places, 78 transitions, 286 flow [2024-11-10 18:09:12,613 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 57 places, 78 transitions, 284 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-10 18:09:12,614 INFO L231 Difference]: Finished difference. Result has 57 places, 47 transitions, 116 flow [2024-11-10 18:09:12,615 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=99, PETRI_DIFFERENCE_MINUEND_FLOW=110, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=47, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=44, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=116, PETRI_PLACES=57, PETRI_TRANSITIONS=47} [2024-11-10 18:09:12,616 INFO L277 CegarLoopForPetriNet]: 82 programPoint places, -25 predicate places. [2024-11-10 18:09:12,616 INFO L471 AbstractCegarLoop]: Abstraction has has 57 places, 47 transitions, 116 flow [2024-11-10 18:09:12,617 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 39.333333333333336) internal successors, (354), 9 states have internal predecessors, (354), 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 18:09:12,617 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:12,617 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 3, 2, 1, 1, 1, 1] [2024-11-10 18:09:12,640 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-11-10 18:09:12,823 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable6 [2024-11-10 18:09:12,824 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:12,825 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:12,825 INFO L85 PathProgramCache]: Analyzing trace with hash 1576749916, now seen corresponding path program 1 times [2024-11-10 18:09:12,825 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:12,825 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1555775713] [2024-11-10 18:09:12,825 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:12,825 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:12,843 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:12,844 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 18:09:12,855 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:12,867 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 18:09:12,868 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 18:09:12,869 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-10 18:09:12,869 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-10 18:09:12,869 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-10 18:09:12,869 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-10 18:09:12,871 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-10 18:09:12,874 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-10 18:09:12,875 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-10 18:09:12,875 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-10 18:09:12,875 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-10 18:09:12,876 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-10 18:09:12,876 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-10 18:09:12,907 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-10 18:09:12,910 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 104 places, 126 transitions, 279 flow [2024-11-10 18:09:12,939 INFO L124 PetriNetUnfolderBase]: 62/306 cut-off events. [2024-11-10 18:09:12,940 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-10 18:09:12,944 INFO L83 FinitePrefix]: Finished finitePrefix Result has 331 conditions, 306 events. 62/306 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 1312 event pairs, 1 based on Foata normal form. 0/204 useless extension candidates. Maximal degree in co-relation 207. Up to 16 conditions per place. [2024-11-10 18:09:12,944 INFO L82 GeneralOperation]: Start removeDead. Operand has 104 places, 126 transitions, 279 flow [2024-11-10 18:09:12,947 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 104 places, 126 transitions, 279 flow [2024-11-10 18:09:12,949 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 18:09:12,949 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;@cde637c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 18:09:12,950 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-10 18:09:12,951 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 18:09:12,952 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 18:09:12,952 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 18:09:12,952 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:12,952 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:12,952 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:12,953 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:12,953 INFO L85 PathProgramCache]: Analyzing trace with hash 16396898, now seen corresponding path program 1 times [2024-11-10 18:09:12,953 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:12,953 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1052258582] [2024-11-10 18:09:12,954 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:12,954 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:12,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:12,984 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 18:09:12,985 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:12,985 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1052258582] [2024-11-10 18:09:12,985 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1052258582] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:12,985 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:12,985 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:12,986 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1514388461] [2024-11-10 18:09:12,986 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:12,986 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:12,986 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:12,987 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:12,987 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:13,000 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 126 [2024-11-10 18:09:13,001 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 104 places, 126 transitions, 279 flow. Second operand has 3 states, 3 states have (on average 48.0) internal successors, (144), 3 states have internal predecessors, (144), 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 18:09:13,002 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:13,002 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 126 [2024-11-10 18:09:13,002 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:22,165 INFO L124 PetriNetUnfolderBase]: 51264/86532 cut-off events. [2024-11-10 18:09:22,166 INFO L125 PetriNetUnfolderBase]: For 1236/1236 co-relation queries the response was YES. [2024-11-10 18:09:22,558 INFO L83 FinitePrefix]: Finished finitePrefix Result has 158626 conditions, 86532 events. 51264/86532 cut-off events. For 1236/1236 co-relation queries the response was YES. Maximal size of possible extension queue 2183. Compared 802135 event pairs, 43486 based on Foata normal form. 41192/124127 useless extension candidates. Maximal degree in co-relation 57744. Up to 62098 conditions per place. [2024-11-10 18:09:23,047 INFO L140 encePairwiseOnDemand]: 97/126 looper letters, 75 selfloop transitions, 2 changer transitions 1/125 dead transitions. [2024-11-10 18:09:23,047 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 103 places, 125 transitions, 433 flow [2024-11-10 18:09:23,048 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:23,048 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:23,049 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 264 transitions. [2024-11-10 18:09:23,049 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6984126984126984 [2024-11-10 18:09:23,049 INFO L175 Difference]: Start difference. First operand has 104 places, 126 transitions, 279 flow. Second operand 3 states and 264 transitions. [2024-11-10 18:09:23,050 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 103 places, 125 transitions, 433 flow [2024-11-10 18:09:23,056 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 103 places, 125 transitions, 433 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 18:09:23,058 INFO L231 Difference]: Finished difference. Result has 103 places, 97 transitions, 225 flow [2024-11-10 18:09:23,061 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=126, PETRI_DIFFERENCE_MINUEND_FLOW=223, PETRI_DIFFERENCE_MINUEND_PLACES=101, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=98, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=96, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=225, PETRI_PLACES=103, PETRI_TRANSITIONS=97} [2024-11-10 18:09:23,062 INFO L277 CegarLoopForPetriNet]: 104 programPoint places, -1 predicate places. [2024-11-10 18:09:23,062 INFO L471 AbstractCegarLoop]: Abstraction has has 103 places, 97 transitions, 225 flow [2024-11-10 18:09:23,063 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 48.0) internal successors, (144), 3 states have internal predecessors, (144), 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 18:09:23,063 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:23,063 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:23,063 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-11-10 18:09:23,063 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:23,064 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:23,064 INFO L85 PathProgramCache]: Analyzing trace with hash 16396899, now seen corresponding path program 1 times [2024-11-10 18:09:23,064 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:23,064 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1826069881] [2024-11-10 18:09:23,064 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:23,065 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:23,080 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:23,135 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 18:09:23,136 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:23,136 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1826069881] [2024-11-10 18:09:23,136 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1826069881] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:23,136 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:23,136 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:23,137 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [642564403] [2024-11-10 18:09:23,137 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:23,137 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:23,137 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:23,138 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:23,138 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:23,151 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 48 out of 126 [2024-11-10 18:09:23,152 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 103 places, 97 transitions, 225 flow. Second operand has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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 18:09:23,152 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:23,152 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 48 of 126 [2024-11-10 18:09:23,152 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:30,111 INFO L124 PetriNetUnfolderBase]: 47800/83259 cut-off events. [2024-11-10 18:09:30,111 INFO L125 PetriNetUnfolderBase]: For 2921/2921 co-relation queries the response was YES. [2024-11-10 18:09:30,425 INFO L83 FinitePrefix]: Finished finitePrefix Result has 151727 conditions, 83259 events. 47800/83259 cut-off events. For 2921/2921 co-relation queries the response was YES. Maximal size of possible extension queue 2167. Compared 799872 event pairs, 30214 based on Foata normal form. 1/78353 useless extension candidates. Maximal degree in co-relation 140000. Up to 66324 conditions per place. [2024-11-10 18:09:30,930 INFO L140 encePairwiseOnDemand]: 122/126 looper letters, 60 selfloop transitions, 2 changer transitions 0/108 dead transitions. [2024-11-10 18:09:30,930 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 104 places, 108 transitions, 371 flow [2024-11-10 18:09:30,931 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-10 18:09:30,931 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-10 18:09:30,932 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 208 transitions. [2024-11-10 18:09:30,932 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5502645502645502 [2024-11-10 18:09:30,932 INFO L175 Difference]: Start difference. First operand has 103 places, 97 transitions, 225 flow. Second operand 3 states and 208 transitions. [2024-11-10 18:09:30,933 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 104 places, 108 transitions, 371 flow [2024-11-10 18:09:31,087 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 102 places, 108 transitions, 367 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-10 18:09:31,088 INFO L231 Difference]: Finished difference. Result has 103 places, 98 transitions, 235 flow [2024-11-10 18:09:31,089 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=126, PETRI_DIFFERENCE_MINUEND_FLOW=221, PETRI_DIFFERENCE_MINUEND_PLACES=100, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=97, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=95, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=235, PETRI_PLACES=103, PETRI_TRANSITIONS=98} [2024-11-10 18:09:31,089 INFO L277 CegarLoopForPetriNet]: 104 programPoint places, -1 predicate places. [2024-11-10 18:09:31,090 INFO L471 AbstractCegarLoop]: Abstraction has has 103 places, 98 transitions, 235 flow [2024-11-10 18:09:31,090 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 49.0) internal successors, (147), 3 states have internal predecessors, (147), 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 18:09:31,090 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:31,090 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1, 1] [2024-11-10 18:09:31,090 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-11-10 18:09:31,091 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:31,091 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:31,091 INFO L85 PathProgramCache]: Analyzing trace with hash -1527545452, now seen corresponding path program 1 times [2024-11-10 18:09:31,091 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:31,092 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1921245201] [2024-11-10 18:09:31,092 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:31,092 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:31,103 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:31,206 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:31,207 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:31,207 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1921245201] [2024-11-10 18:09:31,207 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1921245201] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-10 18:09:31,208 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [56285631] [2024-11-10 18:09:31,208 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:31,208 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-10 18:09:31,208 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 18:09:31,210 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-10 18:09:31,215 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2024-11-10 18:09:31,300 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:31,303 INFO L255 TraceCheckSpWp]: Trace formula consists of 99 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-10 18:09:31,304 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 18:09:31,318 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 0 case distinctions, treesize of input 8 treesize of output 1 [2024-11-10 18:09:31,393 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:31,394 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-10 18:09:31,468 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 18:09:31,468 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [56285631] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-10 18:09:31,468 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-10 18:09:31,468 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2024-11-10 18:09:31,469 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [315651409] [2024-11-10 18:09:31,469 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-10 18:09:31,469 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-10 18:09:31,469 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:31,470 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-10 18:09:31,470 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2024-11-10 18:09:31,508 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 47 out of 126 [2024-11-10 18:09:31,509 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 103 places, 98 transitions, 235 flow. Second operand has 7 states, 7 states have (on average 49.42857142857143) internal successors, (346), 7 states have internal predecessors, (346), 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 18:09:31,510 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:31,510 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 47 of 126 [2024-11-10 18:09:31,510 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 18:09:38,756 INFO L124 PetriNetUnfolderBase]: 47690/85927 cut-off events. [2024-11-10 18:09:38,757 INFO L125 PetriNetUnfolderBase]: For 5136/5136 co-relation queries the response was YES. [2024-11-10 18:09:39,065 INFO L83 FinitePrefix]: Finished finitePrefix Result has 155076 conditions, 85927 events. 47690/85927 cut-off events. For 5136/5136 co-relation queries the response was YES. Maximal size of possible extension queue 2257. Compared 866117 event pairs, 2507 based on Foata normal form. 1120/82812 useless extension candidates. Maximal degree in co-relation 139414. Up to 47147 conditions per place. [2024-11-10 18:09:39,474 INFO L140 encePairwiseOnDemand]: 121/126 looper letters, 136 selfloop transitions, 6 changer transitions 0/187 dead transitions. [2024-11-10 18:09:39,474 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 107 places, 187 transitions, 699 flow [2024-11-10 18:09:39,475 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-10 18:09:39,475 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-10 18:09:39,476 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 428 transitions. [2024-11-10 18:09:39,477 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5661375661375662 [2024-11-10 18:09:39,477 INFO L175 Difference]: Start difference. First operand has 103 places, 98 transitions, 235 flow. Second operand 6 states and 428 transitions. [2024-11-10 18:09:39,477 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 107 places, 187 transitions, 699 flow [2024-11-10 18:09:39,480 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 106 places, 187 transitions, 697 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-10 18:09:39,482 INFO L231 Difference]: Finished difference. Result has 107 places, 99 transitions, 251 flow [2024-11-10 18:09:39,483 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=126, PETRI_DIFFERENCE_MINUEND_FLOW=229, PETRI_DIFFERENCE_MINUEND_PLACES=101, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=97, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=93, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=251, PETRI_PLACES=107, PETRI_TRANSITIONS=99} [2024-11-10 18:09:39,483 INFO L277 CegarLoopForPetriNet]: 104 programPoint places, 3 predicate places. [2024-11-10 18:09:39,484 INFO L471 AbstractCegarLoop]: Abstraction has has 107 places, 99 transitions, 251 flow [2024-11-10 18:09:39,484 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 49.42857142857143) internal successors, (346), 7 states have internal predecessors, (346), 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 18:09:39,484 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:39,485 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 4, 3, 1, 1, 1, 1, 1] [2024-11-10 18:09:39,506 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2024-11-10 18:09:39,685 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-10 18:09:39,686 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:39,686 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:39,687 INFO L85 PathProgramCache]: Analyzing trace with hash 1691252130, now seen corresponding path program 1 times [2024-11-10 18:09:39,687 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:39,687 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [763504535] [2024-11-10 18:09:39,687 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:39,687 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:39,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:39,705 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 18:09:39,716 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 18:09:39,728 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 18:09:39,729 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 18:09:39,729 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-10 18:09:39,729 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-10 18:09:39,732 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-10 18:09:39,732 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-10 18:09:39,732 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-10 18:09:39,733 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-10 18:09:39,733 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-10 18:09:39,733 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-11-10 18:09:39,733 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-10 18:09:39,734 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-10 18:09:39,734 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-10 18:09:39,770 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-10 18:09:39,774 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 126 places, 153 transitions, 346 flow [2024-11-10 18:09:39,815 INFO L124 PetriNetUnfolderBase]: 96/472 cut-off events. [2024-11-10 18:09:39,816 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-10 18:09:39,823 INFO L83 FinitePrefix]: Finished finitePrefix Result has 523 conditions, 472 events. 96/472 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 2206 event pairs, 6 based on Foata normal form. 0/313 useless extension candidates. Maximal degree in co-relation 330. Up to 32 conditions per place. [2024-11-10 18:09:39,823 INFO L82 GeneralOperation]: Start removeDead. Operand has 126 places, 153 transitions, 346 flow [2024-11-10 18:09:39,829 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 126 places, 153 transitions, 346 flow [2024-11-10 18:09:39,831 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 18:09:39,831 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;@cde637c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 18:09:39,831 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-10 18:09:39,834 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 18:09:39,834 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 18:09:39,834 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 18:09:39,834 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 18:09:39,834 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 18:09:39,835 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-10 18:09:39,835 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 18:09:39,835 INFO L85 PathProgramCache]: Analyzing trace with hash 21106850, now seen corresponding path program 1 times [2024-11-10 18:09:39,835 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 18:09:39,835 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2132325195] [2024-11-10 18:09:39,836 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 18:09:39,836 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 18:09:39,844 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 18:09:39,875 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 18:09:39,876 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 18:09:39,876 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2132325195] [2024-11-10 18:09:39,876 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2132325195] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 18:09:39,876 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 18:09:39,876 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-10 18:09:39,876 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [557482088] [2024-11-10 18:09:39,877 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 18:09:39,877 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-10 18:09:39,877 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 18:09:39,877 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-10 18:09:39,878 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-10 18:09:39,892 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 57 out of 153 [2024-11-10 18:09:39,892 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 126 places, 153 transitions, 346 flow. Second operand has 3 states, 3 states have (on average 58.0) internal successors, (174), 3 states have internal predecessors, (174), 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 18:09:39,893 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 18:09:39,893 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 57 of 153 [2024-11-10 18:09:39,893 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand