./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_41-trylock_racefree.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 4a390ef5 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_41-trylock_racefree.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-4a390ef-m [2024-10-24 19:11:11,435 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-24 19:11:11,516 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-10-24 19:11:11,523 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-24 19:11:11,524 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-24 19:11:11,556 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-24 19:11:11,557 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-24 19:11:11,558 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-24 19:11:11,558 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-24 19:11:11,559 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-24 19:11:11,560 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-24 19:11:11,560 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-24 19:11:11,561 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-24 19:11:11,561 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-24 19:11:11,561 INFO L153 SettingsManager]: * Use SBE=true [2024-10-24 19:11:11,562 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-24 19:11:11,562 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-24 19:11:11,562 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-24 19:11:11,562 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-24 19:11:11,563 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-24 19:11:11,563 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-24 19:11:11,567 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-24 19:11:11,567 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-24 19:11:11,567 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-24 19:11:11,568 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-24 19:11:11,568 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-24 19:11:11,568 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-24 19:11:11,568 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-24 19:11:11,568 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-24 19:11:11,569 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-24 19:11:11,569 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-24 19:11:11,569 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-24 19:11:11,569 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-24 19:11:11,570 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-24 19:11:11,570 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-24 19:11:11,571 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-24 19:11:11,572 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-24 19:11:11,572 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-24 19:11:11,573 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-24 19:11:11,573 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-24 19:11:11,573 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-24 19:11:11,573 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-24 19:11:11,573 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> af00d5f4cc6a18cb9fd8a5151467217fe3ddb5ee0fa30b2cfbd9dd374105ee15 [2024-10-24 19:11:11,829 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-24 19:11:11,856 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-24 19:11:11,860 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-24 19:11:11,861 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-24 19:11:11,862 INFO L274 PluginConnector]: CDTParser initialized [2024-10-24 19:11:11,863 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.i [2024-10-24 19:11:13,326 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-24 19:11:13,577 INFO L384 CDTParser]: Found 1 translation units. [2024-10-24 19:11:13,577 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_41-trylock_racefree.i [2024-10-24 19:11:13,593 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a4517698/8e39bdd387204458ba079106920ecb69/FLAGe4fc45e88 [2024-10-24 19:11:13,606 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2a4517698/8e39bdd387204458ba079106920ecb69 [2024-10-24 19:11:13,609 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-24 19:11:13,610 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-24 19:11:13,611 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-24 19:11:13,612 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-24 19:11:13,617 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-24 19:11:13,617 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.10 07:11:13" (1/1) ... [2024-10-24 19:11:13,619 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@479c309f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:13, skipping insertion in model container [2024-10-24 19:11:13,619 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 24.10 07:11:13" (1/1) ... [2024-10-24 19:11:13,681 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-24 19:11:14,022 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-24 19:11:14,036 INFO L200 MainTranslator]: Completed pre-run [2024-10-24 19:11:14,097 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-24 19:11:14,150 INFO L204 MainTranslator]: Completed translation [2024-10-24 19:11:14,151 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14 WrapperNode [2024-10-24 19:11:14,152 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-24 19:11:14,153 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-24 19:11:14,153 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-24 19:11:14,153 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-24 19:11:14,160 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,181 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,209 INFO L138 Inliner]: procedures = 172, calls = 36, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 83 [2024-10-24 19:11:14,211 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-24 19:11:14,212 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-24 19:11:14,212 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-24 19:11:14,213 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-24 19:11:14,223 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,224 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,226 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,251 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-24 19:11:14,251 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,252 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,261 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,272 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,274 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,280 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,282 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-24 19:11:14,283 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-24 19:11:14,287 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-24 19:11:14,287 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-24 19:11:14,288 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (1/1) ... [2024-10-24 19:11:14,295 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-24 19:11:14,306 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-24 19:11:14,327 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-24 19:11:14,331 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-24 19:11:14,380 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-10-24 19:11:14,381 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-10-24 19:11:14,381 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-10-24 19:11:14,381 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-10-24 19:11:14,381 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-24 19:11:14,382 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-24 19:11:14,384 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-10-24 19:11:14,384 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-10-24 19:11:14,384 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexTryLock [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-10-24 19:11:14,385 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-24 19:11:14,386 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-24 19:11:14,386 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-24 19:11:14,388 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-24 19:11:14,525 INFO L238 CfgBuilder]: Building ICFG [2024-10-24 19:11:14,527 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-24 19:11:14,756 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-24 19:11:14,757 INFO L287 CfgBuilder]: Performing block encoding [2024-10-24 19:11:14,901 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-24 19:11:14,902 INFO L314 CfgBuilder]: Removed 11 assume(true) statements. [2024-10-24 19:11:14,902 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.10 07:11:14 BoogieIcfgContainer [2024-10-24 19:11:14,902 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-24 19:11:14,905 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-24 19:11:14,905 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-24 19:11:14,908 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-24 19:11:14,909 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 24.10 07:11:13" (1/3) ... [2024-10-24 19:11:14,909 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3de71401 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.10 07:11:14, skipping insertion in model container [2024-10-24 19:11:14,910 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 24.10 07:11:14" (2/3) ... [2024-10-24 19:11:14,910 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3de71401 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 24.10 07:11:14, skipping insertion in model container [2024-10-24 19:11:14,910 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 24.10 07:11:14" (3/3) ... [2024-10-24 19:11:14,911 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_41-trylock_racefree.i [2024-10-24 19:11:14,928 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-24 19:11:14,928 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-10-24 19:11:14,929 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-24 19:11:14,969 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-10-24 19:11:15,001 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 52 places, 62 transitions, 131 flow [2024-10-24 19:11:15,044 INFO L124 PetriNetUnfolderBase]: 19/95 cut-off events. [2024-10-24 19:11:15,044 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-10-24 19:11:15,049 INFO L83 FinitePrefix]: Finished finitePrefix Result has 100 conditions, 95 events. 19/95 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 358 event pairs, 0 based on Foata normal form. 0/61 useless extension candidates. Maximal degree in co-relation 57. Up to 6 conditions per place. [2024-10-24 19:11:15,050 INFO L82 GeneralOperation]: Start removeDead. Operand has 52 places, 62 transitions, 131 flow [2024-10-24 19:11:15,054 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 52 places, 62 transitions, 131 flow [2024-10-24 19:11:15,065 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-24 19:11:15,073 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;@7e10be0b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-24 19:11:15,073 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-24 19:11:15,081 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-24 19:11:15,081 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-24 19:11:15,081 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-24 19:11:15,082 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:15,103 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:15,104 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:15,113 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:15,113 INFO L85 PathProgramCache]: Analyzing trace with hash 342964, now seen corresponding path program 1 times [2024-10-24 19:11:15,123 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:15,123 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [944448509] [2024-10-24 19:11:15,124 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:15,124 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:15,264 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:15,395 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-24 19:11:15,396 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:15,396 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [944448509] [2024-10-24 19:11:15,397 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [944448509] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:15,397 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:15,397 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:15,399 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1692316344] [2024-10-24 19:11:15,399 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:15,409 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:15,415 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:15,442 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:15,442 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:15,459 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 62 [2024-10-24 19:11:15,462 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 52 places, 62 transitions, 131 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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-24 19:11:15,463 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:15,463 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 62 [2024-10-24 19:11:15,464 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:15,687 INFO L124 PetriNetUnfolderBase]: 156/469 cut-off events. [2024-10-24 19:11:15,687 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-10-24 19:11:15,689 INFO L83 FinitePrefix]: Finished finitePrefix Result has 818 conditions, 469 events. 156/469 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 2311 event pairs, 126 based on Foata normal form. 98/537 useless extension candidates. Maximal degree in co-relation 760. Up to 303 conditions per place. [2024-10-24 19:11:15,695 INFO L140 encePairwiseOnDemand]: 47/62 looper letters, 36 selfloop transitions, 2 changer transitions 1/57 dead transitions. [2024-10-24 19:11:15,696 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 51 places, 57 transitions, 199 flow [2024-10-24 19:11:15,697 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:15,700 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:15,707 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 112 transitions. [2024-10-24 19:11:15,711 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6021505376344086 [2024-10-24 19:11:15,713 INFO L175 Difference]: Start difference. First operand has 52 places, 62 transitions, 131 flow. Second operand 3 states and 112 transitions. [2024-10-24 19:11:15,715 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 51 places, 57 transitions, 199 flow [2024-10-24 19:11:15,718 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 51 places, 57 transitions, 199 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-24 19:11:15,721 INFO L231 Difference]: Finished difference. Result has 51 places, 47 transitions, 105 flow [2024-10-24 19:11:15,725 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=103, PETRI_DIFFERENCE_MINUEND_PLACES=49, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=48, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=46, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=105, PETRI_PLACES=51, PETRI_TRANSITIONS=47} [2024-10-24 19:11:15,729 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -1 predicate places. [2024-10-24 19:11:15,731 INFO L471 AbstractCegarLoop]: Abstraction has has 51 places, 47 transitions, 105 flow [2024-10-24 19:11:15,732 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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-24 19:11:15,732 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:15,732 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:15,733 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-24 19:11:15,733 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:15,734 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:15,735 INFO L85 PathProgramCache]: Analyzing trace with hash 342965, now seen corresponding path program 1 times [2024-10-24 19:11:15,735 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:15,736 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [376899872] [2024-10-24 19:11:15,736 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:15,736 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:15,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:15,899 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-24 19:11:15,899 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:15,900 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [376899872] [2024-10-24 19:11:15,900 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [376899872] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:15,900 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:15,901 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:15,901 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [625379298] [2024-10-24 19:11:15,901 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:15,902 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:15,903 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:15,903 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:15,903 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:15,916 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 62 [2024-10-24 19:11:15,917 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 47 transitions, 105 flow. Second operand has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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-24 19:11:15,917 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:15,917 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 62 [2024-10-24 19:11:15,918 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:16,063 INFO L124 PetriNetUnfolderBase]: 136/414 cut-off events. [2024-10-24 19:11:16,064 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-10-24 19:11:16,066 INFO L83 FinitePrefix]: Finished finitePrefix Result has 724 conditions, 414 events. 136/414 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 2181 event pairs, 0 based on Foata normal form. 1/376 useless extension candidates. Maximal degree in co-relation 688. Up to 280 conditions per place. [2024-10-24 19:11:16,068 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 36 selfloop transitions, 2 changer transitions 0/57 dead transitions. [2024-10-24 19:11:16,068 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 52 places, 57 transitions, 201 flow [2024-10-24 19:11:16,069 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:16,069 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:16,070 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 103 transitions. [2024-10-24 19:11:16,070 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.553763440860215 [2024-10-24 19:11:16,070 INFO L175 Difference]: Start difference. First operand has 51 places, 47 transitions, 105 flow. Second operand 3 states and 103 transitions. [2024-10-24 19:11:16,070 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 52 places, 57 transitions, 201 flow [2024-10-24 19:11:16,072 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 50 places, 57 transitions, 197 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-24 19:11:16,076 INFO L231 Difference]: Finished difference. Result has 51 places, 47 transitions, 111 flow [2024-10-24 19:11:16,076 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=101, PETRI_DIFFERENCE_MINUEND_PLACES=48, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=47, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=45, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=111, PETRI_PLACES=51, PETRI_TRANSITIONS=47} [2024-10-24 19:11:16,077 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -1 predicate places. [2024-10-24 19:11:16,078 INFO L471 AbstractCegarLoop]: Abstraction has has 51 places, 47 transitions, 111 flow [2024-10-24 19:11:16,078 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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-24 19:11:16,078 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:16,079 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-24 19:11:16,080 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-24 19:11:16,080 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:16,080 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:16,082 INFO L85 PathProgramCache]: Analyzing trace with hash -1082694039, now seen corresponding path program 1 times [2024-10-24 19:11:16,082 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:16,082 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [687896116] [2024-10-24 19:11:16,083 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:16,083 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:16,113 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:16,297 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-24 19:11:16,299 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:16,299 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [687896116] [2024-10-24 19:11:16,299 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [687896116] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-24 19:11:16,299 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1986816575] [2024-10-24 19:11:16,300 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:16,300 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-24 19:11:16,300 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-24 19:11:16,302 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-24 19:11:16,304 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-24 19:11:16,384 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:16,386 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-24 19:11:16,390 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-24 19:11:16,470 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-24 19:11:16,554 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-24 19:11:16,555 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-24 19:11:16,647 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-24 19:11:16,647 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1986816575] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-24 19:11:16,647 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-24 19:11:16,649 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-10-24 19:11:16,650 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [683088783] [2024-10-24 19:11:16,650 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-24 19:11:16,650 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-10-24 19:11:16,650 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:16,651 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-10-24 19:11:16,652 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-10-24 19:11:16,739 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 62 [2024-10-24 19:11:16,741 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 51 places, 47 transitions, 111 flow. Second operand has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 states have internal predecessors, (201), 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-24 19:11:16,741 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:16,742 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 62 [2024-10-24 19:11:16,742 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:16,836 INFO L124 PetriNetUnfolderBase]: 27/88 cut-off events. [2024-10-24 19:11:16,837 INFO L125 PetriNetUnfolderBase]: For 9/9 co-relation queries the response was YES. [2024-10-24 19:11:16,838 INFO L83 FinitePrefix]: Finished finitePrefix Result has 186 conditions, 88 events. 27/88 cut-off events. For 9/9 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 231 event pairs, 0 based on Foata normal form. 20/104 useless extension candidates. Maximal degree in co-relation 160. Up to 57 conditions per place. [2024-10-24 19:11:16,839 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 23 selfloop transitions, 2 changer transitions 0/34 dead transitions. [2024-10-24 19:11:16,839 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 32 places, 34 transitions, 128 flow [2024-10-24 19:11:16,839 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-10-24 19:11:16,839 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-10-24 19:11:16,840 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 107 transitions. [2024-10-24 19:11:16,840 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4314516129032258 [2024-10-24 19:11:16,840 INFO L175 Difference]: Start difference. First operand has 51 places, 47 transitions, 111 flow. Second operand 4 states and 107 transitions. [2024-10-24 19:11:16,841 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 32 places, 34 transitions, 128 flow [2024-10-24 19:11:16,841 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 29 places, 34 transitions, 122 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-10-24 19:11:16,842 INFO L231 Difference]: Finished difference. Result has 29 places, 23 transitions, 54 flow [2024-10-24 19:11:16,842 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, 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-24 19:11:16,842 INFO L277 CegarLoopForPetriNet]: 52 programPoint places, -23 predicate places. [2024-10-24 19:11:16,843 INFO L471 AbstractCegarLoop]: Abstraction has has 29 places, 23 transitions, 54 flow [2024-10-24 19:11:16,843 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 states have internal predecessors, (201), 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-24 19:11:16,845 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:16,845 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-10-24 19:11:16,866 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-24 19:11:17,047 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-24 19:11:17,048 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:17,048 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:17,048 INFO L85 PathProgramCache]: Analyzing trace with hash 796223466, now seen corresponding path program 1 times [2024-10-24 19:11:17,049 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:17,049 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1492891921] [2024-10-24 19:11:17,049 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:17,049 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:17,074 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:17,074 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-24 19:11:17,087 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:17,111 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-24 19:11:17,111 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-24 19:11:17,112 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-24 19:11:17,114 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-24 19:11:17,114 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-24 19:11:17,117 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-10-24 19:11:17,117 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-24 19:11:17,118 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-10-24 19:11:17,118 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-24 19:11:17,118 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-10-24 19:11:17,118 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-24 19:11:17,121 WARN L239 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-24 19:11:17,122 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-10-24 19:11:17,150 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-10-24 19:11:17,156 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 72 places, 87 transitions, 190 flow [2024-10-24 19:11:17,170 INFO L124 PetriNetUnfolderBase]: 33/165 cut-off events. [2024-10-24 19:11:17,170 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-10-24 19:11:17,173 INFO L83 FinitePrefix]: Finished finitePrefix Result has 177 conditions, 165 events. 33/165 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 14. Compared 698 event pairs, 0 based on Foata normal form. 0/107 useless extension candidates. Maximal degree in co-relation 99. Up to 9 conditions per place. [2024-10-24 19:11:17,173 INFO L82 GeneralOperation]: Start removeDead. Operand has 72 places, 87 transitions, 190 flow [2024-10-24 19:11:17,175 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 72 places, 87 transitions, 190 flow [2024-10-24 19:11:17,176 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-24 19:11:17,177 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;@7e10be0b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-24 19:11:17,178 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-24 19:11:17,180 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-24 19:11:17,180 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-24 19:11:17,180 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-24 19:11:17,180 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:17,180 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:17,181 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:17,181 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:17,182 INFO L85 PathProgramCache]: Analyzing trace with hash 429355, now seen corresponding path program 1 times [2024-10-24 19:11:17,182 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:17,182 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [664919889] [2024-10-24 19:11:17,182 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:17,182 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:17,190 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:17,224 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-24 19:11:17,225 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:17,225 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [664919889] [2024-10-24 19:11:17,225 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [664919889] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:17,225 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:17,225 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:17,225 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [352501756] [2024-10-24 19:11:17,226 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:17,226 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:17,226 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:17,227 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:17,227 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:17,241 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 26 out of 87 [2024-10-24 19:11:17,241 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 72 places, 87 transitions, 190 flow. Second operand has 3 states, 3 states have (on average 27.0) internal successors, (81), 3 states have internal predecessors, (81), 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-24 19:11:17,241 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:17,241 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 26 of 87 [2024-10-24 19:11:17,241 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:17,917 INFO L124 PetriNetUnfolderBase]: 3291/6532 cut-off events. [2024-10-24 19:11:17,917 INFO L125 PetriNetUnfolderBase]: For 57/57 co-relation queries the response was YES. [2024-10-24 19:11:17,930 INFO L83 FinitePrefix]: Finished finitePrefix Result has 11828 conditions, 6532 events. 3291/6532 cut-off events. For 57/57 co-relation queries the response was YES. Maximal size of possible extension queue 216. Compared 48954 event pairs, 2772 based on Foata normal form. 1717/7881 useless extension candidates. Maximal degree in co-relation 8686. Up to 4600 conditions per place. [2024-10-24 19:11:17,959 INFO L140 encePairwiseOnDemand]: 66/87 looper letters, 56 selfloop transitions, 2 changer transitions 1/85 dead transitions. [2024-10-24 19:11:17,959 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 71 places, 85 transitions, 304 flow [2024-10-24 19:11:17,960 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:17,960 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:17,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 168 transitions. [2024-10-24 19:11:17,961 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6436781609195402 [2024-10-24 19:11:17,961 INFO L175 Difference]: Start difference. First operand has 72 places, 87 transitions, 190 flow. Second operand 3 states and 168 transitions. [2024-10-24 19:11:17,962 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 71 places, 85 transitions, 304 flow [2024-10-24 19:11:17,964 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 71 places, 85 transitions, 304 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-24 19:11:17,966 INFO L231 Difference]: Finished difference. Result has 71 places, 66 transitions, 152 flow [2024-10-24 19:11:17,966 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=150, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=67, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=65, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=152, PETRI_PLACES=71, PETRI_TRANSITIONS=66} [2024-10-24 19:11:17,967 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -1 predicate places. [2024-10-24 19:11:17,967 INFO L471 AbstractCegarLoop]: Abstraction has has 71 places, 66 transitions, 152 flow [2024-10-24 19:11:17,967 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 27.0) internal successors, (81), 3 states have internal predecessors, (81), 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-24 19:11:17,967 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:17,967 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:17,968 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-10-24 19:11:17,968 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:17,968 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:17,968 INFO L85 PathProgramCache]: Analyzing trace with hash 429356, now seen corresponding path program 1 times [2024-10-24 19:11:17,969 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:17,969 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [686565692] [2024-10-24 19:11:17,969 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:17,969 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:17,976 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:18,040 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-24 19:11:18,040 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:18,040 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [686565692] [2024-10-24 19:11:18,040 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [686565692] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:18,040 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:18,041 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:18,041 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [626447206] [2024-10-24 19:11:18,041 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:18,041 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:18,041 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:18,042 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:18,043 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:18,054 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 87 [2024-10-24 19:11:18,055 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 66 transitions, 152 flow. Second operand has 3 states, 3 states have (on average 30.0) internal successors, (90), 3 states have internal predecessors, (90), 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-24 19:11:18,055 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:18,055 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 87 [2024-10-24 19:11:18,056 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:18,663 INFO L124 PetriNetUnfolderBase]: 2893/5932 cut-off events. [2024-10-24 19:11:18,664 INFO L125 PetriNetUnfolderBase]: For 135/143 co-relation queries the response was YES. [2024-10-24 19:11:18,676 INFO L83 FinitePrefix]: Finished finitePrefix Result has 10701 conditions, 5932 events. 2893/5932 cut-off events. For 135/143 co-relation queries the response was YES. Maximal size of possible extension queue 207. Compared 44729 event pairs, 2599 based on Foata normal form. 1/5515 useless extension candidates. Maximal degree in co-relation 9833. Up to 4577 conditions per place. [2024-10-24 19:11:18,705 INFO L140 encePairwiseOnDemand]: 83/87 looper letters, 48 selfloop transitions, 2 changer transitions 0/77 dead transitions. [2024-10-24 19:11:18,706 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 72 places, 77 transitions, 274 flow [2024-10-24 19:11:18,706 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:18,706 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:18,709 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 139 transitions. [2024-10-24 19:11:18,710 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5325670498084292 [2024-10-24 19:11:18,711 INFO L175 Difference]: Start difference. First operand has 71 places, 66 transitions, 152 flow. Second operand 3 states and 139 transitions. [2024-10-24 19:11:18,711 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 72 places, 77 transitions, 274 flow [2024-10-24 19:11:18,718 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 70 places, 77 transitions, 270 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-24 19:11:18,720 INFO L231 Difference]: Finished difference. Result has 71 places, 67 transitions, 162 flow [2024-10-24 19:11:18,720 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=148, PETRI_DIFFERENCE_MINUEND_PLACES=68, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=162, PETRI_PLACES=71, PETRI_TRANSITIONS=67} [2024-10-24 19:11:18,721 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, -1 predicate places. [2024-10-24 19:11:18,721 INFO L471 AbstractCegarLoop]: Abstraction has has 71 places, 67 transitions, 162 flow [2024-10-24 19:11:18,722 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 30.0) internal successors, (90), 3 states have internal predecessors, (90), 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-24 19:11:18,722 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:18,722 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-24 19:11:18,722 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-10-24 19:11:18,722 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:18,723 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:18,723 INFO L85 PathProgramCache]: Analyzing trace with hash 1395160745, now seen corresponding path program 1 times [2024-10-24 19:11:18,723 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:18,724 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1929608548] [2024-10-24 19:11:18,724 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:18,724 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:18,738 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:18,858 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-24 19:11:18,858 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:18,859 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1929608548] [2024-10-24 19:11:18,859 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1929608548] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-24 19:11:18,859 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [769598779] [2024-10-24 19:11:18,859 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:18,859 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-24 19:11:18,860 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-24 19:11:18,862 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-24 19:11:18,863 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-24 19:11:18,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:18,940 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-24 19:11:18,941 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-24 19:11:18,955 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-24 19:11:19,013 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-24 19:11:19,013 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-24 19:11:19,083 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-24 19:11:19,083 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [769598779] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-24 19:11:19,084 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-24 19:11:19,084 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 5 [2024-10-24 19:11:19,084 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [711207873] [2024-10-24 19:11:19,084 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-24 19:11:19,085 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-24 19:11:19,085 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:19,086 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-24 19:11:19,086 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2024-10-24 19:11:19,122 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 87 [2024-10-24 19:11:19,123 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 67 transitions, 162 flow. Second operand has 7 states, 7 states have (on average 30.428571428571427) internal successors, (213), 7 states have internal predecessors, (213), 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-24 19:11:19,123 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:19,123 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 87 [2024-10-24 19:11:19,123 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:19,764 INFO L124 PetriNetUnfolderBase]: 2792/5577 cut-off events. [2024-10-24 19:11:19,765 INFO L125 PetriNetUnfolderBase]: For 311/311 co-relation queries the response was YES. [2024-10-24 19:11:19,775 INFO L83 FinitePrefix]: Finished finitePrefix Result has 10256 conditions, 5577 events. 2792/5577 cut-off events. For 311/311 co-relation queries the response was YES. Maximal size of possible extension queue 201. Compared 42851 event pairs, 97 based on Foata normal form. 120/5400 useless extension candidates. Maximal degree in co-relation 9145. Up to 3299 conditions per place. [2024-10-24 19:11:19,806 INFO L140 encePairwiseOnDemand]: 83/87 looper letters, 85 selfloop transitions, 4 changer transitions 0/115 dead transitions. [2024-10-24 19:11:19,806 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 115 transitions, 434 flow [2024-10-24 19:11:19,806 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-10-24 19:11:19,807 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-10-24 19:11:19,807 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 232 transitions. [2024-10-24 19:11:19,808 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5333333333333333 [2024-10-24 19:11:19,808 INFO L175 Difference]: Start difference. First operand has 71 places, 67 transitions, 162 flow. Second operand 5 states and 232 transitions. [2024-10-24 19:11:19,808 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 115 transitions, 434 flow [2024-10-24 19:11:19,809 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 115 transitions, 432 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-10-24 19:11:19,813 INFO L231 Difference]: Finished difference. Result has 73 places, 66 transitions, 164 flow [2024-10-24 19:11:19,814 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=87, PETRI_DIFFERENCE_MINUEND_FLOW=156, PETRI_DIFFERENCE_MINUEND_PLACES=69, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=4, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=62, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=164, PETRI_PLACES=73, PETRI_TRANSITIONS=66} [2024-10-24 19:11:19,815 INFO L277 CegarLoopForPetriNet]: 72 programPoint places, 1 predicate places. [2024-10-24 19:11:19,816 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 66 transitions, 164 flow [2024-10-24 19:11:19,816 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 30.428571428571427) internal successors, (213), 7 states have internal predecessors, (213), 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-24 19:11:19,816 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:19,816 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-10-24 19:11:19,838 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-24 19:11:20,017 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-24 19:11:20,018 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:20,018 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:20,018 INFO L85 PathProgramCache]: Analyzing trace with hash -102108100, now seen corresponding path program 1 times [2024-10-24 19:11:20,018 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:20,018 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [249825065] [2024-10-24 19:11:20,019 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:20,019 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:20,033 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:20,033 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-24 19:11:20,043 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:20,053 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-24 19:11:20,054 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-24 19:11:20,054 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-24 19:11:20,055 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-24 19:11:20,055 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-24 19:11:20,055 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-10-24 19:11:20,056 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-24 19:11:20,056 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-10-24 19:11:20,056 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-24 19:11:20,056 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-10-24 19:11:20,056 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-24 19:11:20,060 WARN L239 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-24 19:11:20,061 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-10-24 19:11:20,080 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-10-24 19:11:20,082 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 92 places, 112 transitions, 251 flow [2024-10-24 19:11:20,099 INFO L124 PetriNetUnfolderBase]: 50/256 cut-off events. [2024-10-24 19:11:20,099 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-10-24 19:11:20,101 INFO L83 FinitePrefix]: Finished finitePrefix Result has 281 conditions, 256 events. 50/256 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 1148 event pairs, 1 based on Foata normal form. 0/166 useless extension candidates. Maximal degree in co-relation 176. Up to 12 conditions per place. [2024-10-24 19:11:20,102 INFO L82 GeneralOperation]: Start removeDead. Operand has 92 places, 112 transitions, 251 flow [2024-10-24 19:11:20,104 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 92 places, 112 transitions, 251 flow [2024-10-24 19:11:20,105 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-24 19:11:20,105 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;@7e10be0b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-24 19:11:20,105 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-24 19:11:20,107 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-24 19:11:20,107 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-24 19:11:20,107 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-24 19:11:20,107 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:20,107 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:20,107 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:20,108 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:20,108 INFO L85 PathProgramCache]: Analyzing trace with hash 540571, now seen corresponding path program 1 times [2024-10-24 19:11:20,108 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:20,108 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1305539925] [2024-10-24 19:11:20,108 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:20,108 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:20,114 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:20,136 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-24 19:11:20,136 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:20,160 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1305539925] [2024-10-24 19:11:20,160 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1305539925] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:20,162 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:20,162 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:20,162 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1906027734] [2024-10-24 19:11:20,163 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:20,163 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:20,163 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:20,164 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:20,164 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:20,174 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 112 [2024-10-24 19:11:20,174 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 92 places, 112 transitions, 251 flow. Second operand has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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-24 19:11:20,175 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:20,175 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 112 [2024-10-24 19:11:20,175 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:26,581 INFO L124 PetriNetUnfolderBase]: 51447/84449 cut-off events. [2024-10-24 19:11:26,581 INFO L125 PetriNetUnfolderBase]: For 1236/1236 co-relation queries the response was YES. [2024-10-24 19:11:26,769 INFO L83 FinitePrefix]: Finished finitePrefix Result has 156793 conditions, 84449 events. 51447/84449 cut-off events. For 1236/1236 co-relation queries the response was YES. Maximal size of possible extension queue 2093. Compared 749987 event pairs, 43669 based on Foata normal form. 25091/105232 useless extension candidates. Maximal degree in co-relation 57162. Up to 62348 conditions per place. [2024-10-24 19:11:27,136 INFO L140 encePairwiseOnDemand]: 85/112 looper letters, 76 selfloop transitions, 2 changer transitions 1/113 dead transitions. [2024-10-24 19:11:27,136 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 91 places, 113 transitions, 411 flow [2024-10-24 19:11:27,136 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:27,137 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:27,137 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 224 transitions. [2024-10-24 19:11:27,138 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6666666666666666 [2024-10-24 19:11:27,138 INFO L175 Difference]: Start difference. First operand has 92 places, 112 transitions, 251 flow. Second operand 3 states and 224 transitions. [2024-10-24 19:11:27,138 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 91 places, 113 transitions, 411 flow [2024-10-24 19:11:27,141 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 91 places, 113 transitions, 411 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-24 19:11:27,143 INFO L231 Difference]: Finished difference. Result has 91 places, 85 transitions, 201 flow [2024-10-24 19:11:27,146 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=199, PETRI_DIFFERENCE_MINUEND_PLACES=89, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=86, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=84, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=201, PETRI_PLACES=91, PETRI_TRANSITIONS=85} [2024-10-24 19:11:27,147 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -1 predicate places. [2024-10-24 19:11:27,147 INFO L471 AbstractCegarLoop]: Abstraction has has 91 places, 85 transitions, 201 flow [2024-10-24 19:11:27,147 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 35.0) internal successors, (105), 3 states have internal predecessors, (105), 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-24 19:11:27,147 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:27,147 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:27,148 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-10-24 19:11:27,148 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:27,148 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:27,148 INFO L85 PathProgramCache]: Analyzing trace with hash 540572, now seen corresponding path program 1 times [2024-10-24 19:11:27,148 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:27,149 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2070868778] [2024-10-24 19:11:27,149 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:27,149 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:27,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:27,207 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-24 19:11:27,207 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:27,207 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2070868778] [2024-10-24 19:11:27,208 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2070868778] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:27,208 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:27,208 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:27,208 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [997463841] [2024-10-24 19:11:27,208 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:27,208 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:27,209 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:27,209 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:27,210 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:27,220 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 37 out of 112 [2024-10-24 19:11:27,221 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 85 transitions, 201 flow. Second operand has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-24 19:11:27,221 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:27,221 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 37 of 112 [2024-10-24 19:11:27,221 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:32,324 INFO L124 PetriNetUnfolderBase]: 44911/74973 cut-off events. [2024-10-24 19:11:32,325 INFO L125 PetriNetUnfolderBase]: For 2262/2336 co-relation queries the response was YES. [2024-10-24 19:11:32,493 INFO L83 FinitePrefix]: Finished finitePrefix Result has 139442 conditions, 74973 events. 44911/74973 cut-off events. For 2262/2336 co-relation queries the response was YES. Maximal size of possible extension queue 1919. Compared 665249 event pairs, 43660 based on Foata normal form. 1/70602 useless extension candidates. Maximal degree in co-relation 127839. Up to 62325 conditions per place. [2024-10-24 19:11:32,787 INFO L140 encePairwiseOnDemand]: 108/112 looper letters, 59 selfloop transitions, 2 changer transitions 0/96 dead transitions. [2024-10-24 19:11:32,787 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 92 places, 96 transitions, 345 flow [2024-10-24 19:11:32,788 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-24 19:11:32,788 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-24 19:11:32,788 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 174 transitions. [2024-10-24 19:11:32,789 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5178571428571429 [2024-10-24 19:11:32,789 INFO L175 Difference]: Start difference. First operand has 91 places, 85 transitions, 201 flow. Second operand 3 states and 174 transitions. [2024-10-24 19:11:32,789 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 92 places, 96 transitions, 345 flow [2024-10-24 19:11:32,921 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 90 places, 96 transitions, 341 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-10-24 19:11:32,922 INFO L231 Difference]: Finished difference. Result has 91 places, 86 transitions, 211 flow [2024-10-24 19:11:32,922 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, PETRI_DIFFERENCE_MINUEND_FLOW=197, PETRI_DIFFERENCE_MINUEND_PLACES=88, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=85, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=83, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=211, PETRI_PLACES=91, PETRI_TRANSITIONS=86} [2024-10-24 19:11:32,923 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -1 predicate places. [2024-10-24 19:11:32,923 INFO L471 AbstractCegarLoop]: Abstraction has has 91 places, 86 transitions, 211 flow [2024-10-24 19:11:32,923 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 38.0) internal successors, (114), 3 states have internal predecessors, (114), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-24 19:11:32,923 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:32,923 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-10-24 19:11:32,923 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-10-24 19:11:32,924 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:32,924 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:32,924 INFO L85 PathProgramCache]: Analyzing trace with hash 1030390178, now seen corresponding path program 1 times [2024-10-24 19:11:32,924 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:32,924 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1340789523] [2024-10-24 19:11:32,924 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:32,924 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:32,933 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:33,030 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-24 19:11:33,031 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:33,031 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1340789523] [2024-10-24 19:11:33,031 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1340789523] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-24 19:11:33,031 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [793841836] [2024-10-24 19:11:33,032 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:33,032 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-24 19:11:33,032 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-24 19:11:33,034 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-24 19:11:33,035 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-24 19:11:33,108 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:33,110 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-10-24 19:11:33,111 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-24 19:11:33,122 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-24 19:11:33,173 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-24 19:11:33,173 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-10-24 19:11:33,225 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-24 19:11:33,225 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [793841836] provided 0 perfect and 2 imperfect interpolant sequences [2024-10-24 19:11:33,225 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-10-24 19:11:33,226 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-10-24 19:11:33,226 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1502905422] [2024-10-24 19:11:33,226 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-10-24 19:11:33,226 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-10-24 19:11:33,227 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:33,227 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-10-24 19:11:33,227 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-10-24 19:11:33,462 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 36 out of 112 [2024-10-24 19:11:33,462 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 91 places, 86 transitions, 211 flow. Second operand has 9 states, 9 states have (on average 38.333333333333336) internal successors, (345), 9 states have internal predecessors, (345), 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-24 19:11:33,463 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:33,463 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 36 of 112 [2024-10-24 19:11:33,463 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-24 19:11:34,754 INFO L124 PetriNetUnfolderBase]: 10557/18088 cut-off events. [2024-10-24 19:11:34,754 INFO L125 PetriNetUnfolderBase]: For 4009/4009 co-relation queries the response was YES. [2024-10-24 19:11:34,784 INFO L83 FinitePrefix]: Finished finitePrefix Result has 34648 conditions, 18088 events. 10557/18088 cut-off events. For 4009/4009 co-relation queries the response was YES. Maximal size of possible extension queue 572. Compared 140241 event pairs, 1800 based on Foata normal form. 2220/20164 useless extension candidates. Maximal degree in co-relation 3548. Up to 11100 conditions per place. [2024-10-24 19:11:34,856 INFO L140 encePairwiseOnDemand]: 108/112 looper letters, 92 selfloop transitions, 4 changer transitions 0/121 dead transitions. [2024-10-24 19:11:34,856 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 121 transitions, 462 flow [2024-10-24 19:11:34,856 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-24 19:11:34,857 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-10-24 19:11:34,858 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 318 transitions. [2024-10-24 19:11:34,858 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4732142857142857 [2024-10-24 19:11:34,858 INFO L175 Difference]: Start difference. First operand has 91 places, 86 transitions, 211 flow. Second operand 6 states and 318 transitions. [2024-10-24 19:11:34,858 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 121 transitions, 462 flow [2024-10-24 19:11:34,860 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 121 transitions, 458 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-10-24 19:11:34,862 INFO L231 Difference]: Finished difference. Result has 73 places, 61 transitions, 154 flow [2024-10-24 19:11:34,862 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=112, 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-24 19:11:34,863 INFO L277 CegarLoopForPetriNet]: 92 programPoint places, -19 predicate places. [2024-10-24 19:11:34,863 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 61 transitions, 154 flow [2024-10-24 19:11:34,863 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 38.333333333333336) internal successors, (345), 9 states have internal predecessors, (345), 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-24 19:11:34,864 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:34,864 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-10-24 19:11:34,881 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2024-10-24 19:11:35,064 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-24 19:11:35,065 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:35,065 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:35,065 INFO L85 PathProgramCache]: Analyzing trace with hash -671413955, now seen corresponding path program 1 times [2024-10-24 19:11:35,065 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:35,066 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [743016482] [2024-10-24 19:11:35,066 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:35,066 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:35,086 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:35,088 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-24 19:11:35,101 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-24 19:11:35,110 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-24 19:11:35,112 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-24 19:11:35,112 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-10-24 19:11:35,112 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-10-24 19:11:35,113 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-10-24 19:11:35,113 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 7 remaining) [2024-10-24 19:11:35,113 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-10-24 19:11:35,114 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (1 of 7 remaining) [2024-10-24 19:11:35,114 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-10-24 19:11:35,114 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-10-24 19:11:35,114 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-10-24 19:11:35,115 WARN L239 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-10-24 19:11:35,115 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-10-24 19:11:35,149 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-24 19:11:35,152 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 112 places, 137 transitions, 314 flow [2024-10-24 19:11:35,194 INFO L124 PetriNetUnfolderBase]: 75/391 cut-off events. [2024-10-24 19:11:35,194 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-10-24 19:11:35,198 INFO L83 FinitePrefix]: Finished finitePrefix Result has 442 conditions, 391 events. 75/391 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 18. Compared 1884 event pairs, 6 based on Foata normal form. 0/253 useless extension candidates. Maximal degree in co-relation 280. Up to 32 conditions per place. [2024-10-24 19:11:35,198 INFO L82 GeneralOperation]: Start removeDead. Operand has 112 places, 137 transitions, 314 flow [2024-10-24 19:11:35,202 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 112 places, 137 transitions, 314 flow [2024-10-24 19:11:35,203 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-24 19:11:35,204 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;@7e10be0b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-24 19:11:35,204 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-10-24 19:11:35,205 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-24 19:11:35,205 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-10-24 19:11:35,206 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-10-24 19:11:35,206 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-24 19:11:35,206 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-10-24 19:11:35,206 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 4 more)] === [2024-10-24 19:11:35,206 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-24 19:11:35,207 INFO L85 PathProgramCache]: Analyzing trace with hash 676612, now seen corresponding path program 1 times [2024-10-24 19:11:35,207 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-24 19:11:35,207 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [921961157] [2024-10-24 19:11:35,207 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-24 19:11:35,207 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-24 19:11:35,215 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-24 19:11:35,243 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-24 19:11:35,247 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-24 19:11:35,247 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [921961157] [2024-10-24 19:11:35,247 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [921961157] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-24 19:11:35,248 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-24 19:11:35,248 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-24 19:11:35,248 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [784909346] [2024-10-24 19:11:35,248 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-24 19:11:35,248 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-24 19:11:35,248 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-24 19:11:35,249 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-24 19:11:35,249 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-24 19:11:35,263 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 42 out of 137 [2024-10-24 19:11:35,263 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 112 places, 137 transitions, 314 flow. Second operand has 3 states, 3 states have (on average 43.0) internal successors, (129), 3 states have internal predecessors, (129), 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-24 19:11:35,263 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-24 19:11:35,264 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 42 of 137 [2024-10-24 19:11:35,264 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand