./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/valid-memsafety.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_08-cond_racefree.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version a046e57d Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_08-cond_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 b4439281d7e12bca3fd2bd39ebda4196e341f38fedf1c370a96bdabb4944cfe7 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 12:30:43,726 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 12:30:43,830 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-10-13 12:30:43,838 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 12:30:43,839 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 12:30:43,858 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 12:30:43,859 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 12:30:43,860 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 12:30:43,860 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 12:30:43,861 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 12:30:43,861 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-13 12:30:43,861 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-13 12:30:43,862 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 12:30:43,862 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 12:30:43,863 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 12:30:43,863 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 12:30:43,864 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-13 12:30:43,864 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 12:30:43,864 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-13 12:30:43,865 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 12:30:43,865 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-13 12:30:43,866 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-13 12:30:43,866 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-13 12:30:43,866 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-13 12:30:43,866 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-13 12:30:43,867 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 12:30:43,867 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 12:30:43,867 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-13 12:30:43,868 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 12:30:43,868 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 12:30:43,868 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 12:30:43,868 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-13 12:30:43,869 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-13 12:30:43,869 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:30:43,874 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 12:30:43,874 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-13 12:30:43,874 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-13 12:30:43,875 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-13 12:30:43,877 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-13 12:30:43,877 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-13 12:30:43,877 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-13 12:30:43,878 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-13 12:30:43,878 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 -> b4439281d7e12bca3fd2bd39ebda4196e341f38fedf1c370a96bdabb4944cfe7 [2024-10-13 12:30:44,184 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 12:30:44,219 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 12:30:44,222 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 12:30:44,224 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 12:30:44,227 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 12:30:44,229 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_08-cond_racefree.i [2024-10-13 12:30:46,138 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 12:30:46,400 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 12:30:46,401 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_08-cond_racefree.i [2024-10-13 12:30:46,418 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6853b4165/bb0602cbb9a349fcb38a1a3301a39d34/FLAG469fc281d [2024-10-13 12:30:46,718 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/6853b4165/bb0602cbb9a349fcb38a1a3301a39d34 [2024-10-13 12:30:46,721 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 12:30:46,722 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 12:30:46,724 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 12:30:46,724 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 12:30:46,729 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 12:30:46,730 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:30:46" (1/1) ... [2024-10-13 12:30:46,731 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6bccc506 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:46, skipping insertion in model container [2024-10-13 12:30:46,732 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:30:46" (1/1) ... [2024-10-13 12:30:46,773 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 12:30:47,521 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:30:47,539 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 12:30:47,580 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:30:47,687 INFO L204 MainTranslator]: Completed translation [2024-10-13 12:30:47,688 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47 WrapperNode [2024-10-13 12:30:47,688 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 12:30:47,689 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 12:30:47,689 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 12:30:47,690 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 12:30:47,698 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,725 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,756 INFO L138 Inliner]: procedures = 271, calls = 36, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 97 [2024-10-13 12:30:47,759 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 12:30:47,760 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 12:30:47,760 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 12:30:47,760 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 12:30:47,772 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,773 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,778 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,811 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-10-13 12:30:47,814 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,814 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,824 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,834 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,837 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,841 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,844 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 12:30:47,848 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 12:30:47,849 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 12:30:47,849 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 12:30:47,850 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (1/1) ... [2024-10-13 12:30:47,856 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:30:47,868 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:30:47,894 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-10-13 12:30:47,907 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-10-13 12:30:47,951 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-13 12:30:47,952 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-13 12:30:47,952 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-13 12:30:47,952 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-10-13 12:30:47,952 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-10-13 12:30:47,952 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-13 12:30:47,953 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-10-13 12:30:47,954 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-10-13 12:30:47,954 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-13 12:30:47,954 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-13 12:30:47,954 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-13 12:30:47,954 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-10-13 12:30:47,954 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 12:30:47,954 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 12:30:47,956 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-13 12:30:48,098 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 12:30:48,101 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 12:30:48,321 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-13 12:30:48,321 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 12:30:48,456 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 12:30:48,457 INFO L314 CfgBuilder]: Removed 10 assume(true) statements. [2024-10-13 12:30:48,457 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:30:48 BoogieIcfgContainer [2024-10-13 12:30:48,457 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 12:30:48,460 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-13 12:30:48,460 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-13 12:30:48,465 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-13 12:30:48,466 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.10 12:30:46" (1/3) ... [2024-10-13 12:30:48,466 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@64e44771 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:30:48, skipping insertion in model container [2024-10-13 12:30:48,467 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:30:47" (2/3) ... [2024-10-13 12:30:48,468 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@64e44771 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:30:48, skipping insertion in model container [2024-10-13 12:30:48,469 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:30:48" (3/3) ... [2024-10-13 12:30:48,470 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_08-cond_racefree.i [2024-10-13 12:30:48,490 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-13 12:30:48,490 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-10-13 12:30:48,491 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-13 12:30:48,545 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-10-13 12:30:48,587 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 56 places, 67 transitions, 141 flow [2024-10-13 12:30:48,645 INFO L124 PetriNetUnfolderBase]: 21/105 cut-off events. [2024-10-13 12:30:48,645 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-10-13 12:30:48,651 INFO L83 FinitePrefix]: Finished finitePrefix Result has 110 conditions, 105 events. 21/105 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 379 event pairs, 0 based on Foata normal form. 0/69 useless extension candidates. Maximal degree in co-relation 62. Up to 6 conditions per place. [2024-10-13 12:30:48,652 INFO L82 GeneralOperation]: Start removeDead. Operand has 56 places, 67 transitions, 141 flow [2024-10-13 12:30:48,659 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 56 places, 67 transitions, 141 flow [2024-10-13 12:30:48,673 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:30:48,684 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;@30bb64e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:30:48,684 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-13 12:30:48,690 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:30:48,694 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:30:48,694 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:30:48,695 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:48,695 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:30:48,696 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:48,707 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:48,708 INFO L85 PathProgramCache]: Analyzing trace with hash 375844, now seen corresponding path program 1 times [2024-10-13 12:30:48,719 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:48,719 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [172286694] [2024-10-13 12:30:48,720 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:48,720 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:48,866 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:49,183 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:49,184 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:49,184 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [172286694] [2024-10-13 12:30:49,185 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [172286694] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:30:49,185 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:30:49,186 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:30:49,188 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [195167762] [2024-10-13 12:30:49,189 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:30:49,197 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:30:49,203 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:49,234 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:30:49,235 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:30:49,258 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 25 out of 67 [2024-10-13 12:30:49,261 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 56 places, 67 transitions, 141 flow. Second operand has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:49,264 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:49,264 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 25 of 67 [2024-10-13 12:30:49,265 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:49,481 INFO L124 PetriNetUnfolderBase]: 179/511 cut-off events. [2024-10-13 12:30:49,481 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-10-13 12:30:49,483 INFO L83 FinitePrefix]: Finished finitePrefix Result has 871 conditions, 511 events. 179/511 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 29. Compared 2727 event pairs, 120 based on Foata normal form. 97/577 useless extension candidates. Maximal degree in co-relation 808. Up to 307 conditions per place. [2024-10-13 12:30:49,490 INFO L140 encePairwiseOnDemand]: 53/67 looper letters, 35 selfloop transitions, 2 changer transitions 1/63 dead transitions. [2024-10-13 12:30:49,491 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 63 transitions, 209 flow [2024-10-13 12:30:49,492 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:30:49,496 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:30:49,504 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 131 transitions. [2024-10-13 12:30:49,509 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6517412935323383 [2024-10-13 12:30:49,513 INFO L175 Difference]: Start difference. First operand has 56 places, 67 transitions, 141 flow. Second operand 3 states and 131 transitions. [2024-10-13 12:30:49,514 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 63 transitions, 209 flow [2024-10-13 12:30:49,518 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 55 places, 63 transitions, 209 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:30:49,521 INFO L231 Difference]: Finished difference. Result has 55 places, 53 transitions, 117 flow [2024-10-13 12:30:49,525 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=67, PETRI_DIFFERENCE_MINUEND_FLOW=115, PETRI_DIFFERENCE_MINUEND_PLACES=53, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=54, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=52, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=117, PETRI_PLACES=55, PETRI_TRANSITIONS=53} [2024-10-13 12:30:49,532 INFO L277 CegarLoopForPetriNet]: 56 programPoint places, -1 predicate places. [2024-10-13 12:30:49,532 INFO L471 AbstractCegarLoop]: Abstraction has has 55 places, 53 transitions, 117 flow [2024-10-13 12:30:49,532 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:49,533 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:49,533 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:30:49,533 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-13 12:30:49,533 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:49,534 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:49,534 INFO L85 PathProgramCache]: Analyzing trace with hash 375845, now seen corresponding path program 1 times [2024-10-13 12:30:49,534 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:49,534 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1985186851] [2024-10-13 12:30:49,534 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:49,535 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:49,573 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:49,770 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:49,770 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:49,770 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1985186851] [2024-10-13 12:30:49,771 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1985186851] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:30:49,771 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:30:49,772 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:30:49,772 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [205184349] [2024-10-13 12:30:49,772 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:30:49,774 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:30:49,774 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:49,775 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:30:49,775 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:30:49,797 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 67 [2024-10-13 12:30:49,798 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 55 places, 53 transitions, 117 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-10-13 12:30:49,798 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:49,798 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 67 [2024-10-13 12:30:49,798 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:49,933 INFO L124 PetriNetUnfolderBase]: 141/445 cut-off events. [2024-10-13 12:30:49,933 INFO L125 PetriNetUnfolderBase]: For 17/17 co-relation queries the response was YES. [2024-10-13 12:30:49,936 INFO L83 FinitePrefix]: Finished finitePrefix Result has 747 conditions, 445 events. 141/445 cut-off events. For 17/17 co-relation queries the response was YES. Maximal size of possible extension queue 26. Compared 2417 event pairs, 61 based on Foata normal form. 1/405 useless extension candidates. Maximal degree in co-relation 712. Up to 267 conditions per place. [2024-10-13 12:30:49,941 INFO L140 encePairwiseOnDemand]: 63/67 looper letters, 35 selfloop transitions, 2 changer transitions 0/63 dead transitions. [2024-10-13 12:30:49,943 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 56 places, 63 transitions, 211 flow [2024-10-13 12:30:49,944 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:30:49,944 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:30:49,945 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 123 transitions. [2024-10-13 12:30:49,945 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6119402985074627 [2024-10-13 12:30:49,945 INFO L175 Difference]: Start difference. First operand has 55 places, 53 transitions, 117 flow. Second operand 3 states and 123 transitions. [2024-10-13 12:30:49,945 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 56 places, 63 transitions, 211 flow [2024-10-13 12:30:49,947 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 63 transitions, 207 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-13 12:30:49,952 INFO L231 Difference]: Finished difference. Result has 55 places, 53 transitions, 123 flow [2024-10-13 12:30:49,954 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=67, PETRI_DIFFERENCE_MINUEND_FLOW=113, PETRI_DIFFERENCE_MINUEND_PLACES=52, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=53, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=51, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=123, PETRI_PLACES=55, PETRI_TRANSITIONS=53} [2024-10-13 12:30:49,955 INFO L277 CegarLoopForPetriNet]: 56 programPoint places, -1 predicate places. [2024-10-13 12:30:49,955 INFO L471 AbstractCegarLoop]: Abstraction has has 55 places, 53 transitions, 123 flow [2024-10-13 12:30:49,956 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-10-13 12:30:49,956 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:49,956 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-13 12:30:49,956 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-13 12:30:49,956 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:49,957 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:49,957 INFO L85 PathProgramCache]: Analyzing trace with hash -780730766, now seen corresponding path program 1 times [2024-10-13 12:30:49,957 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:49,957 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [711394015] [2024-10-13 12:30:49,958 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:49,958 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:49,991 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:50,130 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:50,131 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:50,131 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [711394015] [2024-10-13 12:30:50,131 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [711394015] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-13 12:30:50,131 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [92902786] [2024-10-13 12:30:50,133 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:50,133 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-13 12:30:50,133 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:30:50,139 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-10-13 12:30:50,151 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-10-13 12:30:50,385 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:50,392 INFO L255 TraceCheckSpWp]: Trace formula consists of 110 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-13 12:30:50,401 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 12:30:50,542 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-10-13 12:30:50,672 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:50,672 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-13 12:30:50,855 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:50,856 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [92902786] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-13 12:30:50,856 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-13 12:30:50,856 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-10-13 12:30:50,856 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1127103122] [2024-10-13 12:30:50,857 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-13 12:30:50,857 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-10-13 12:30:50,859 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:50,860 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-10-13 12:30:50,863 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-10-13 12:30:51,026 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 67 [2024-10-13 12:30:51,027 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 55 places, 53 transitions, 123 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-10-13 12:30:51,034 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:51,034 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 67 [2024-10-13 12:30:51,035 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:51,196 INFO L124 PetriNetUnfolderBase]: 27/100 cut-off events. [2024-10-13 12:30:51,197 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-10-13 12:30:51,197 INFO L83 FinitePrefix]: Finished finitePrefix Result has 198 conditions, 100 events. 27/100 cut-off events. For 27/27 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 225 event pairs, 18 based on Foata normal form. 20/119 useless extension candidates. Maximal degree in co-relation 179. Up to 57 conditions per place. [2024-10-13 12:30:51,198 INFO L140 encePairwiseOnDemand]: 63/67 looper letters, 23 selfloop transitions, 2 changer transitions 0/34 dead transitions. [2024-10-13 12:30:51,198 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 34 transitions, 128 flow [2024-10-13 12:30:51,199 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-10-13 12:30:51,199 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-10-13 12:30:51,200 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 135 transitions. [2024-10-13 12:30:51,201 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.503731343283582 [2024-10-13 12:30:51,202 INFO L175 Difference]: Start difference. First operand has 55 places, 53 transitions, 123 flow. Second operand 4 states and 135 transitions. [2024-10-13 12:30:51,202 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 34 transitions, 128 flow [2024-10-13 12:30:51,203 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 34 transitions, 122 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-10-13 12:30:51,204 INFO L231 Difference]: Finished difference. Result has 29 places, 23 transitions, 54 flow [2024-10-13 12:30:51,204 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=67, PETRI_DIFFERENCE_MINUEND_FLOW=50, PETRI_DIFFERENCE_MINUEND_PLACES=26, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=23, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=21, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=54, PETRI_PLACES=29, PETRI_TRANSITIONS=23} [2024-10-13 12:30:51,205 INFO L277 CegarLoopForPetriNet]: 56 programPoint places, -27 predicate places. [2024-10-13 12:30:51,206 INFO L471 AbstractCegarLoop]: Abstraction has has 29 places, 23 transitions, 54 flow [2024-10-13 12:30:51,206 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-10-13 12:30:51,206 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:51,207 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-10-13 12:30:51,231 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-10-13 12:30:51,411 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-10-13 12:30:51,413 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:51,415 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:51,415 INFO L85 PathProgramCache]: Analyzing trace with hash 1567150381, now seen corresponding path program 1 times [2024-10-13 12:30:51,416 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:51,416 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1969106513] [2024-10-13 12:30:51,417 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:51,417 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:51,438 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:30:51,440 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:30:51,456 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:30:51,486 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:30:51,487 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:30:51,490 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-13 12:30:51,492 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-13 12:30:51,493 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-13 12:30:51,494 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-10-13 12:30:51,494 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-13 12:30:51,494 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-10-13 12:30:51,494 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-13 12:30:51,495 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-13 12:30:51,495 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-13 12:30:51,498 WARN L239 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:30:51,499 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-10-13 12:30:51,533 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-10-13 12:30:51,538 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 76 places, 92 transitions, 200 flow [2024-10-13 12:30:51,561 INFO L124 PetriNetUnfolderBase]: 36/180 cut-off events. [2024-10-13 12:30:51,562 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-10-13 12:30:51,566 INFO L83 FinitePrefix]: Finished finitePrefix Result has 192 conditions, 180 events. 36/180 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 748 event pairs, 0 based on Foata normal form. 0/119 useless extension candidates. Maximal degree in co-relation 109. Up to 9 conditions per place. [2024-10-13 12:30:51,567 INFO L82 GeneralOperation]: Start removeDead. Operand has 76 places, 92 transitions, 200 flow [2024-10-13 12:30:51,571 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 76 places, 92 transitions, 200 flow [2024-10-13 12:30:51,572 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:30:51,577 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;@30bb64e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:30:51,577 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-13 12:30:51,581 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:30:51,583 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:30:51,583 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:30:51,583 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:51,583 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:30:51,584 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:51,584 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:51,584 INFO L85 PathProgramCache]: Analyzing trace with hash 467200, now seen corresponding path program 1 times [2024-10-13 12:30:51,585 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:51,585 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [245932323] [2024-10-13 12:30:51,585 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:51,586 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:51,599 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:51,624 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:51,625 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:51,625 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [245932323] [2024-10-13 12:30:51,625 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [245932323] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:30:51,625 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:30:51,625 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:30:51,626 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [953262427] [2024-10-13 12:30:51,626 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:30:51,626 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:30:51,626 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:51,627 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:30:51,627 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:30:51,639 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 33 out of 92 [2024-10-13 12:30:51,640 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 76 places, 92 transitions, 200 flow. Second operand has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:51,640 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:51,640 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 33 of 92 [2024-10-13 12:30:51,640 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:52,456 INFO L124 PetriNetUnfolderBase]: 3559/6891 cut-off events. [2024-10-13 12:30:52,456 INFO L125 PetriNetUnfolderBase]: For 57/57 co-relation queries the response was YES. [2024-10-13 12:30:52,538 INFO L83 FinitePrefix]: Finished finitePrefix Result has 12422 conditions, 6891 events. 3559/6891 cut-off events. For 57/57 co-relation queries the response was YES. Maximal size of possible extension queue 254. Compared 52391 event pairs, 2735 based on Foata normal form. 1720/8315 useless extension candidates. Maximal degree in co-relation 9137. Up to 4731 conditions per place. [2024-10-13 12:30:52,575 INFO L140 encePairwiseOnDemand]: 72/92 looper letters, 55 selfloop transitions, 2 changer transitions 1/91 dead transitions. [2024-10-13 12:30:52,576 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 75 places, 91 transitions, 314 flow [2024-10-13 12:30:52,576 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:30:52,577 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:30:52,577 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 187 transitions. [2024-10-13 12:30:52,578 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.677536231884058 [2024-10-13 12:30:52,578 INFO L175 Difference]: Start difference. First operand has 76 places, 92 transitions, 200 flow. Second operand 3 states and 187 transitions. [2024-10-13 12:30:52,578 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 75 places, 91 transitions, 314 flow [2024-10-13 12:30:52,585 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 75 places, 91 transitions, 314 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:30:52,587 INFO L231 Difference]: Finished difference. Result has 75 places, 72 transitions, 164 flow [2024-10-13 12:30:52,588 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=92, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=73, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=71, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=164, PETRI_PLACES=75, PETRI_TRANSITIONS=72} [2024-10-13 12:30:52,589 INFO L277 CegarLoopForPetriNet]: 76 programPoint places, -1 predicate places. [2024-10-13 12:30:52,590 INFO L471 AbstractCegarLoop]: Abstraction has has 75 places, 72 transitions, 164 flow [2024-10-13 12:30:52,591 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 34.0) internal successors, (102), 3 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:52,591 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:52,591 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:30:52,591 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-10-13 12:30:52,595 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:52,596 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:52,596 INFO L85 PathProgramCache]: Analyzing trace with hash 467201, now seen corresponding path program 1 times [2024-10-13 12:30:52,596 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:52,596 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1985549834] [2024-10-13 12:30:52,596 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:52,596 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:52,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:52,709 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:52,710 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:52,710 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1985549834] [2024-10-13 12:30:52,710 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1985549834] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:30:52,710 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:30:52,710 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:30:52,711 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1001453599] [2024-10-13 12:30:52,711 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:30:52,712 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:30:52,712 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:52,713 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:30:52,714 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:30:52,725 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 36 out of 92 [2024-10-13 12:30:52,725 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 72 transitions, 164 flow. Second operand has 3 states, 3 states have (on average 37.0) internal successors, (111), 3 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:52,729 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:52,729 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 36 of 92 [2024-10-13 12:30:52,729 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:53,396 INFO L124 PetriNetUnfolderBase]: 2998/6181 cut-off events. [2024-10-13 12:30:53,396 INFO L125 PetriNetUnfolderBase]: For 318/318 co-relation queries the response was YES. [2024-10-13 12:30:53,413 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11022 conditions, 6181 events. 2998/6181 cut-off events. For 318/318 co-relation queries the response was YES. Maximal size of possible extension queue 230. Compared 49078 event pairs, 1227 based on Foata normal form. 1/5817 useless extension candidates. Maximal degree in co-relation 9944. Up to 4562 conditions per place. [2024-10-13 12:30:53,448 INFO L140 encePairwiseOnDemand]: 88/92 looper letters, 47 selfloop transitions, 2 changer transitions 0/83 dead transitions. [2024-10-13 12:30:53,449 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 83 transitions, 284 flow [2024-10-13 12:30:53,449 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:30:53,450 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:30:53,450 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 159 transitions. [2024-10-13 12:30:53,451 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5760869565217391 [2024-10-13 12:30:53,451 INFO L175 Difference]: Start difference. First operand has 75 places, 72 transitions, 164 flow. Second operand 3 states and 159 transitions. [2024-10-13 12:30:53,451 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 83 transitions, 284 flow [2024-10-13 12:30:53,456 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 83 transitions, 280 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-13 12:30:53,458 INFO L231 Difference]: Finished difference. Result has 75 places, 73 transitions, 174 flow [2024-10-13 12:30:53,458 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=92, PETRI_DIFFERENCE_MINUEND_FLOW=160, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=72, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=70, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=174, PETRI_PLACES=75, PETRI_TRANSITIONS=73} [2024-10-13 12:30:53,459 INFO L277 CegarLoopForPetriNet]: 76 programPoint places, -1 predicate places. [2024-10-13 12:30:53,459 INFO L471 AbstractCegarLoop]: Abstraction has has 75 places, 73 transitions, 174 flow [2024-10-13 12:30:53,459 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 37.0) internal successors, (111), 3 states have internal predecessors, (111), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:53,459 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:53,459 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-13 12:30:53,459 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-10-13 12:30:53,460 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:53,460 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:53,460 INFO L85 PathProgramCache]: Analyzing trace with hash 1987592407, now seen corresponding path program 1 times [2024-10-13 12:30:53,461 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:53,461 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1010577409] [2024-10-13 12:30:53,461 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:53,461 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:53,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:53,565 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:53,566 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:53,566 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1010577409] [2024-10-13 12:30:53,566 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1010577409] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-13 12:30:53,566 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [2114020478] [2024-10-13 12:30:53,567 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:53,567 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-13 12:30:53,567 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:30:53,571 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-10-13 12:30:53,580 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-10-13 12:30:53,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:53,654 INFO L255 TraceCheckSpWp]: Trace formula consists of 110 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-13 12:30:53,656 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 12:30:53,673 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-10-13 12:30:53,737 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:53,737 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-13 12:30:53,794 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:53,795 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [2114020478] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-13 12:30:53,795 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-13 12:30:53,795 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-10-13 12:30:53,795 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1696934302] [2024-10-13 12:30:53,795 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-13 12:30:53,796 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-10-13 12:30:53,796 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:53,797 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-10-13 12:30:53,797 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-10-13 12:30:53,859 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 92 [2024-10-13 12:30:53,859 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 73 transitions, 174 flow. Second operand has 9 states, 9 states have (on average 37.333333333333336) internal successors, (336), 9 states have internal predecessors, (336), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:53,860 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:53,860 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 92 [2024-10-13 12:30:53,860 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:30:54,110 INFO L124 PetriNetUnfolderBase]: 657/1295 cut-off events. [2024-10-13 12:30:54,111 INFO L125 PetriNetUnfolderBase]: For 245/245 co-relation queries the response was YES. [2024-10-13 12:30:54,114 INFO L83 FinitePrefix]: Finished finitePrefix Result has 2554 conditions, 1295 events. 657/1295 cut-off events. For 245/245 co-relation queries the response was YES. Maximal size of possible extension queue 53. Compared 7534 event pairs, 96 based on Foata normal form. 220/1456 useless extension candidates. Maximal degree in co-relation 2218. Up to 840 conditions per place. [2024-10-13 12:30:54,121 INFO L140 encePairwiseOnDemand]: 88/92 looper letters, 53 selfloop transitions, 3 changer transitions 0/73 dead transitions. [2024-10-13 12:30:54,122 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 73 transitions, 276 flow [2024-10-13 12:30:54,122 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-13 12:30:54,123 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-10-13 12:30:54,123 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 235 transitions. [2024-10-13 12:30:54,124 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5108695652173914 [2024-10-13 12:30:54,124 INFO L175 Difference]: Start difference. First operand has 75 places, 73 transitions, 174 flow. Second operand 5 states and 235 transitions. [2024-10-13 12:30:54,124 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 73 transitions, 276 flow [2024-10-13 12:30:54,125 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 73 transitions, 274 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-10-13 12:30:54,126 INFO L231 Difference]: Finished difference. Result has 52 places, 42 transitions, 106 flow [2024-10-13 12:30:54,126 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=92, PETRI_DIFFERENCE_MINUEND_FLOW=100, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=42, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=39, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=106, PETRI_PLACES=52, PETRI_TRANSITIONS=42} [2024-10-13 12:30:54,127 INFO L277 CegarLoopForPetriNet]: 76 programPoint places, -24 predicate places. [2024-10-13 12:30:54,127 INFO L471 AbstractCegarLoop]: Abstraction has has 52 places, 42 transitions, 106 flow [2024-10-13 12:30:54,128 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 37.333333333333336) internal successors, (336), 9 states have internal predecessors, (336), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:54,128 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:54,128 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-10-13 12:30:54,148 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-10-13 12:30:54,329 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-10-13 12:30:54,330 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:54,331 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:54,331 INFO L85 PathProgramCache]: Analyzing trace with hash -1808447162, now seen corresponding path program 1 times [2024-10-13 12:30:54,331 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:54,331 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [550395254] [2024-10-13 12:30:54,331 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:54,332 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:54,346 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:30:54,347 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:30:54,356 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:30:54,361 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:30:54,362 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:30:54,362 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-13 12:30:54,362 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-13 12:30:54,362 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-13 12:30:54,363 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-10-13 12:30:54,363 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-13 12:30:54,363 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-10-13 12:30:54,363 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-13 12:30:54,363 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-10-13 12:30:54,364 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-13 12:30:54,364 WARN L239 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:30:54,364 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-10-13 12:30:54,386 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-10-13 12:30:54,389 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 117 transitions, 261 flow [2024-10-13 12:30:54,413 INFO L124 PetriNetUnfolderBase]: 54/276 cut-off events. [2024-10-13 12:30:54,413 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-10-13 12:30:54,416 INFO L83 FinitePrefix]: Finished finitePrefix Result has 301 conditions, 276 events. 54/276 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1225 event pairs, 1 based on Foata normal form. 0/182 useless extension candidates. Maximal degree in co-relation 191. Up to 12 conditions per place. [2024-10-13 12:30:54,416 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 117 transitions, 261 flow [2024-10-13 12:30:54,419 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 117 transitions, 261 flow [2024-10-13 12:30:54,420 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:30:54,421 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;@30bb64e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:30:54,421 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-13 12:30:54,423 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:30:54,423 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:30:54,423 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:30:54,424 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:30:54,424 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:30:54,424 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:30:54,424 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:30:54,425 INFO L85 PathProgramCache]: Analyzing trace with hash 583381, now seen corresponding path program 1 times [2024-10-13 12:30:54,425 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:30:54,425 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [336658956] [2024-10-13 12:30:54,425 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:30:54,425 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:30:54,433 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:30:54,454 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:30:54,455 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:30:54,455 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [336658956] [2024-10-13 12:30:54,455 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [336658956] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:30:54,455 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:30:54,455 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:30:54,456 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1650214199] [2024-10-13 12:30:54,456 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:30:54,456 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:30:54,456 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:30:54,457 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:30:54,457 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:30:54,467 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 41 out of 117 [2024-10-13 12:30:54,468 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 96 places, 117 transitions, 261 flow. Second operand has 3 states, 3 states have (on average 42.0) internal successors, (126), 3 states have internal predecessors, (126), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:30:54,468 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:30:54,468 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 41 of 117 [2024-10-13 12:30:54,469 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:31:04,982 INFO L124 PetriNetUnfolderBase]: 53626/87325 cut-off events. [2024-10-13 12:31:04,982 INFO L125 PetriNetUnfolderBase]: For 1236/1236 co-relation queries the response was YES. [2024-10-13 12:31:05,301 INFO L83 FinitePrefix]: Finished finitePrefix Result has 161738 conditions, 87325 events. 53626/87325 cut-off events. For 1236/1236 co-relation queries the response was YES. Maximal size of possible extension queue 2347. Compared 781289 event pairs, 43458 based on Foata normal form. 25258/109403 useless extension candidates. Maximal degree in co-relation 58750. Up to 63282 conditions per place. [2024-10-13 12:31:05,775 INFO L140 encePairwiseOnDemand]: 91/117 looper letters, 75 selfloop transitions, 2 changer transitions 1/119 dead transitions. [2024-10-13 12:31:05,777 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 95 places, 119 transitions, 421 flow [2024-10-13 12:31:05,778 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:31:05,778 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:31:05,779 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 243 transitions. [2024-10-13 12:31:05,779 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6923076923076923 [2024-10-13 12:31:05,780 INFO L175 Difference]: Start difference. First operand has 96 places, 117 transitions, 261 flow. Second operand 3 states and 243 transitions. [2024-10-13 12:31:05,780 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 95 places, 119 transitions, 421 flow [2024-10-13 12:31:05,792 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 119 transitions, 421 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:31:05,795 INFO L231 Difference]: Finished difference. Result has 95 places, 91 transitions, 213 flow [2024-10-13 12:31:05,797 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=117, PETRI_DIFFERENCE_MINUEND_FLOW=211, PETRI_DIFFERENCE_MINUEND_PLACES=93, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=92, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=90, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=213, PETRI_PLACES=95, PETRI_TRANSITIONS=91} [2024-10-13 12:31:05,798 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-10-13 12:31:05,798 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 91 transitions, 213 flow [2024-10-13 12:31:05,798 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 42.0) internal successors, (126), 3 states have internal predecessors, (126), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:05,798 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:31:05,798 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:31:05,799 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-10-13 12:31:05,799 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:31:05,800 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:31:05,800 INFO L85 PathProgramCache]: Analyzing trace with hash 583382, now seen corresponding path program 1 times [2024-10-13 12:31:05,800 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:31:05,800 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [39133772] [2024-10-13 12:31:05,801 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:31:05,801 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:31:05,811 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:31:05,880 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:31:05,881 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:31:05,882 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [39133772] [2024-10-13 12:31:05,882 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [39133772] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:31:05,882 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:31:05,882 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:31:05,883 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [24662718] [2024-10-13 12:31:05,883 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:31:05,883 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:31:05,883 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:31:05,884 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:31:05,884 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:31:05,895 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 44 out of 117 [2024-10-13 12:31:05,896 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 91 transitions, 213 flow. Second operand has 3 states, 3 states have (on average 45.0) internal successors, (135), 3 states have internal predecessors, (135), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:05,896 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:31:05,896 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 44 of 117 [2024-10-13 12:31:05,896 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:31:12,736 INFO L124 PetriNetUnfolderBase]: 46695/77911 cut-off events. [2024-10-13 12:31:12,736 INFO L125 PetriNetUnfolderBase]: For 4252/4252 co-relation queries the response was YES. [2024-10-13 12:31:13,005 INFO L83 FinitePrefix]: Finished finitePrefix Result has 145198 conditions, 77911 events. 46695/77911 cut-off events. For 4252/4252 co-relation queries the response was YES. Maximal size of possible extension queue 2097. Compared 708376 event pairs, 27954 based on Foata normal form. 1/74614 useless extension candidates. Maximal degree in co-relation 130511. Up to 63779 conditions per place. [2024-10-13 12:31:13,340 INFO L140 encePairwiseOnDemand]: 113/117 looper letters, 58 selfloop transitions, 2 changer transitions 0/102 dead transitions. [2024-10-13 12:31:13,341 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 102 transitions, 355 flow [2024-10-13 12:31:13,341 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:31:13,342 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:31:13,342 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 194 transitions. [2024-10-13 12:31:13,342 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5527065527065527 [2024-10-13 12:31:13,343 INFO L175 Difference]: Start difference. First operand has 95 places, 91 transitions, 213 flow. Second operand 3 states and 194 transitions. [2024-10-13 12:31:13,343 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 102 transitions, 355 flow [2024-10-13 12:31:13,596 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 94 places, 102 transitions, 351 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-13 12:31:13,598 INFO L231 Difference]: Finished difference. Result has 95 places, 92 transitions, 223 flow [2024-10-13 12:31:13,598 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=117, PETRI_DIFFERENCE_MINUEND_FLOW=209, PETRI_DIFFERENCE_MINUEND_PLACES=92, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=91, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=89, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=223, PETRI_PLACES=95, PETRI_TRANSITIONS=92} [2024-10-13 12:31:13,599 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-10-13 12:31:13,599 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 92 transitions, 223 flow [2024-10-13 12:31:13,599 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 45.0) internal successors, (135), 3 states have internal predecessors, (135), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:13,599 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:31:13,599 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-13 12:31:13,600 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-10-13 12:31:13,600 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:31:13,600 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:31:13,600 INFO L85 PathProgramCache]: Analyzing trace with hash 1913290229, now seen corresponding path program 1 times [2024-10-13 12:31:13,600 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:31:13,601 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1615604453] [2024-10-13 12:31:13,601 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:31:13,601 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:31:13,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:31:13,695 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:31:13,696 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:31:13,696 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1615604453] [2024-10-13 12:31:13,696 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1615604453] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-13 12:31:13,696 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [526699945] [2024-10-13 12:31:13,697 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:31:13,697 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-13 12:31:13,697 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:31:13,700 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-10-13 12:31:13,703 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-10-13 12:31:13,789 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:31:13,790 INFO L255 TraceCheckSpWp]: Trace formula consists of 110 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-13 12:31:13,791 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 12:31:13,807 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-10-13 12:31:13,861 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:31:13,861 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-13 12:31:13,917 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:31:13,918 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [526699945] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-13 12:31:13,918 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-13 12:31:13,918 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-10-13 12:31:13,919 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2083844613] [2024-10-13 12:31:13,919 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-13 12:31:13,919 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-10-13 12:31:13,920 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:31:13,920 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-10-13 12:31:13,920 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-10-13 12:31:13,971 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 43 out of 117 [2024-10-13 12:31:13,972 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 92 transitions, 223 flow. Second operand has 9 states, 9 states have (on average 45.333333333333336) internal successors, (408), 9 states have internal predecessors, (408), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:13,973 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:31:13,973 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 43 of 117 [2024-10-13 12:31:13,973 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:31:15,718 INFO L124 PetriNetUnfolderBase]: 10557/16958 cut-off events. [2024-10-13 12:31:15,719 INFO L125 PetriNetUnfolderBase]: For 4739/4739 co-relation queries the response was YES. [2024-10-13 12:31:15,787 INFO L83 FinitePrefix]: Finished finitePrefix Result has 33518 conditions, 16958 events. 10557/16958 cut-off events. For 4739/4739 co-relation queries the response was YES. Maximal size of possible extension queue 527. Compared 126434 event pairs, 960 based on Foata normal form. 2220/18584 useless extension candidates. Maximal degree in co-relation 3435. Up to 11100 conditions per place. [2024-10-13 12:31:15,882 INFO L140 encePairwiseOnDemand]: 113/117 looper letters, 92 selfloop transitions, 4 changer transitions 0/121 dead transitions. [2024-10-13 12:31:15,883 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 121 transitions, 462 flow [2024-10-13 12:31:15,883 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-13 12:31:15,884 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-10-13 12:31:15,885 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 360 transitions. [2024-10-13 12:31:15,887 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5128205128205128 [2024-10-13 12:31:15,887 INFO L175 Difference]: Start difference. First operand has 95 places, 92 transitions, 223 flow. Second operand 6 states and 360 transitions. [2024-10-13 12:31:15,887 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 121 transitions, 462 flow [2024-10-13 12:31:15,891 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 121 transitions, 458 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-10-13 12:31:15,896 INFO L231 Difference]: Finished difference. Result has 73 places, 61 transitions, 154 flow [2024-10-13 12:31:15,897 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=117, PETRI_DIFFERENCE_MINUEND_FLOW=142, PETRI_DIFFERENCE_MINUEND_PLACES=68, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=60, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=57, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=154, PETRI_PLACES=73, PETRI_TRANSITIONS=61} [2024-10-13 12:31:15,898 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -23 predicate places. [2024-10-13 12:31:15,898 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 61 transitions, 154 flow [2024-10-13 12:31:15,898 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 45.333333333333336) internal successors, (408), 9 states have internal predecessors, (408), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:15,899 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:31:15,899 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-10-13 12:31:15,941 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2024-10-13 12:31:16,099 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-10-13 12:31:16,100 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:31:16,101 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:31:16,101 INFO L85 PathProgramCache]: Analyzing trace with hash 279830798, now seen corresponding path program 1 times [2024-10-13 12:31:16,101 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:31:16,104 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [70670407] [2024-10-13 12:31:16,104 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:31:16,104 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:31:16,126 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:31:16,126 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:31:16,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:31:16,152 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:31:16,155 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:31:16,156 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-13 12:31:16,156 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-13 12:31:16,156 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-13 12:31:16,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-10-13 12:31:16,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-13 12:31:16,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-10-13 12:31:16,157 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-13 12:31:16,157 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-10-13 12:31:16,157 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-13 12:31:16,158 WARN L239 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-13 12:31:16,158 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-10-13 12:31:16,194 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-13 12:31:16,196 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 116 places, 142 transitions, 324 flow [2024-10-13 12:31:16,241 INFO L124 PetriNetUnfolderBase]: 80/416 cut-off events. [2024-10-13 12:31:16,242 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-10-13 12:31:16,247 INFO L83 FinitePrefix]: Finished finitePrefix Result has 467 conditions, 416 events. 80/416 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 2025 event pairs, 6 based on Foata normal form. 0/273 useless extension candidates. Maximal degree in co-relation 300. Up to 32 conditions per place. [2024-10-13 12:31:16,247 INFO L82 GeneralOperation]: Start removeDead. Operand has 116 places, 142 transitions, 324 flow [2024-10-13 12:31:16,251 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 116 places, 142 transitions, 324 flow [2024-10-13 12:31:16,253 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:31:16,254 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;@30bb64e3, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:31:16,254 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-13 12:31:16,256 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:31:16,256 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-13 12:31:16,256 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-13 12:31:16,256 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:31:16,257 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-13 12:31:16,338 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-10-13 12:31:16,338 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:31:16,339 INFO L85 PathProgramCache]: Analyzing trace with hash 724387, now seen corresponding path program 1 times [2024-10-13 12:31:16,339 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:31:16,339 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1898677724] [2024-10-13 12:31:16,339 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:31:16,339 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:31:16,347 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:31:16,389 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:31:16,389 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:31:16,390 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1898677724] [2024-10-13 12:31:16,390 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1898677724] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:31:16,390 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:31:16,390 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:31:16,390 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1761753797] [2024-10-13 12:31:16,390 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:31:16,394 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:31:16,394 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:31:16,395 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:31:16,395 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:31:16,410 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 49 out of 142 [2024-10-13 12:31:16,411 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 116 places, 142 transitions, 324 flow. Second operand has 3 states, 3 states have (on average 50.0) internal successors, (150), 3 states have internal predecessors, (150), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-13 12:31:16,411 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:31:16,411 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 49 of 142 [2024-10-13 12:31:16,411 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand