./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_racefree.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version b8dbc81d Calling Ultimate with: /usr/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 ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_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.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 50de8acec85b0b2508f1f33521d9ab6717fa1b5141d6b9e2d08fcb4af894112b --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-29 21:36:12,215 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 21:36:12,217 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 21:36:12,253 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 21:36:12,253 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 21:36:12,255 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 21:36:12,257 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 21:36:12,259 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 21:36:12,260 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 21:36:12,264 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 21:36:12,264 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 21:36:12,266 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 21:36:12,267 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 21:36:12,268 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 21:36:12,269 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 21:36:12,273 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 21:36:12,274 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 21:36:12,275 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 21:36:12,276 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 21:36:12,279 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 21:36:12,280 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 21:36:12,281 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 21:36:12,282 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 21:36:12,282 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 21:36:12,287 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 21:36:12,287 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 21:36:12,287 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 21:36:12,289 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 21:36:12,289 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 21:36:12,290 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 21:36:12,290 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 21:36:12,291 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 21:36:12,292 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 21:36:12,293 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 21:36:12,293 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 21:36:12,294 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 21:36:12,294 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 21:36:12,294 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 21:36:12,294 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 21:36:12,295 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 21:36:12,295 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 21:36:12,297 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-29 21:36:12,320 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 21:36:12,320 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 21:36:12,321 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 21:36:12,321 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 21:36:12,322 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 21:36:12,322 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 21:36:12,323 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 21:36:12,323 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 21:36:12,323 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 21:36:12,323 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 21:36:12,324 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 21:36:12,325 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 21:36:12,325 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 21:36:12,326 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 21:36:12,326 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 21:36:12,326 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:12,326 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 21:36:12,326 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 21:36:12,326 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 21:36:12,327 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 21:36:12,327 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 21:36:12,327 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 21:36:12,327 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 21:36:12,327 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 21:36:12,327 INFO L138 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.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 50de8acec85b0b2508f1f33521d9ab6717fa1b5141d6b9e2d08fcb4af894112b Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> AFTER [2023-08-29 21:36:12,580 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 21:36:12,598 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 21:36:12,600 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 21:36:12,601 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 21:36:12,601 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 21:36:12,602 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_racefree.i [2023-08-29 21:36:13,549 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 21:36:13,789 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 21:36:13,795 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_racefree.i [2023-08-29 21:36:13,810 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2456daa5d/bc45ac2bc0e446e09b8f3b5427df8602/FLAGa14f734b7 [2023-08-29 21:36:13,819 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/2456daa5d/bc45ac2bc0e446e09b8f3b5427df8602 [2023-08-29 21:36:13,820 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 21:36:13,821 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 21:36:13,822 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:13,822 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 21:36:13,825 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 21:36:13,826 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:13" (1/1) ... [2023-08-29 21:36:13,826 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5f36191a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:13, skipping insertion in model container [2023-08-29 21:36:13,827 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 09:36:13" (1/1) ... [2023-08-29 21:36:13,831 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 21:36:13,865 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 21:36:14,107 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_racefree.i[30176,30189] [2023-08-29 21:36:14,127 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:14,141 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 21:36:14,169 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_04-munge_racefree.i[30176,30189] [2023-08-29 21:36:14,186 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 21:36:14,218 INFO L208 MainTranslator]: Completed translation [2023-08-29 21:36:14,219 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14 WrapperNode [2023-08-29 21:36:14,219 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 21:36:14,220 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:14,220 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 21:36:14,220 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 21:36:14,224 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,246 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,271 INFO L138 Inliner]: procedures = 172, calls = 37, calls flagged for inlining = 5, calls inlined = 6, statements flattened = 202 [2023-08-29 21:36:14,272 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 21:36:14,272 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 21:36:14,273 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 21:36:14,273 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 21:36:14,278 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,279 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,292 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,293 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,298 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,307 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,309 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,315 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,318 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 21:36:14,321 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 21:36:14,321 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 21:36:14,321 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 21:36:14,321 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (1/1) ... [2023-08-29 21:36:14,326 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 21:36:14,332 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:14,343 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-29 21:36:14,366 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-29 21:36:14,373 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-08-29 21:36:14,373 INFO L130 BoogieDeclarations]: Found specification of procedure t2_fun [2023-08-29 21:36:14,373 INFO L138 BoogieDeclarations]: Found implementation of procedure t2_fun [2023-08-29 21:36:14,373 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure t1_fun [2023-08-29 21:36:14,374 INFO L138 BoogieDeclarations]: Found implementation of procedure t1_fun [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 21:36:14,374 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 21:36:14,374 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 21:36:14,375 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 21:36:14,526 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 21:36:14,540 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 21:36:14,736 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 21:36:14,752 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 21:36:14,754 INFO L302 CfgBuilder]: Removed 24 assume(true) statements. [2023-08-29 21:36:14,756 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:14 BoogieIcfgContainer [2023-08-29 21:36:14,757 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 21:36:14,758 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 21:36:14,758 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 21:36:14,761 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 21:36:14,761 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 09:36:13" (1/3) ... [2023-08-29 21:36:14,761 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@500fbe71 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:14, skipping insertion in model container [2023-08-29 21:36:14,762 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 09:36:14" (2/3) ... [2023-08-29 21:36:14,762 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@500fbe71 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 09:36:14, skipping insertion in model container [2023-08-29 21:36:14,762 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 09:36:14" (3/3) ... [2023-08-29 21:36:14,763 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_04-munge_racefree.i [2023-08-29 21:36:14,775 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 21:36:14,775 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 11 error locations. [2023-08-29 21:36:14,775 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 21:36:14,841 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-08-29 21:36:14,867 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:14,977 INFO L130 PetriNetUnfolder]: 58/399 cut-off events. [2023-08-29 21:36:14,978 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:14,993 INFO L83 FinitePrefix]: Finished finitePrefix Result has 419 conditions, 399 events. 58/399 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1791 event pairs, 0 based on Foata normal form. 0/300 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:14,994 INFO L82 GeneralOperation]: Start removeDead. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:14,999 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:15,002 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:15,011 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:15,017 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:15,017 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:15,068 INFO L130 PetriNetUnfolder]: 58/399 cut-off events. [2023-08-29 21:36:15,069 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:15,071 INFO L83 FinitePrefix]: Finished finitePrefix Result has 419 conditions, 399 events. 58/399 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1791 event pairs, 0 based on Foata normal form. 0/300 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:15,079 INFO L119 LiptonReduction]: Number of co-enabled transitions 18036 [2023-08-29 21:36:18,277 INFO L134 LiptonReduction]: Checked pairs total: 35591 [2023-08-29 21:36:18,278 INFO L136 LiptonReduction]: Total number of compositions: 160 [2023-08-29 21:36:18,287 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:18,291 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@3465949f, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:18,291 INFO L358 AbstractCegarLoop]: Starting to check reachability of 13 error locations. [2023-08-29 21:36:18,293 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:36:18,293 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:18,294 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:18,294 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:18,294 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:18,297 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:18,297 INFO L85 PathProgramCache]: Analyzing trace with hash 27138, now seen corresponding path program 1 times [2023-08-29 21:36:18,305 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:18,305 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [797995094] [2023-08-29 21:36:18,305 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:18,305 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:18,378 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:18,515 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:18,515 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:18,516 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [797995094] [2023-08-29 21:36:18,516 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [797995094] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:18,517 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:18,517 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:18,518 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [337890252] [2023-08-29 21:36:18,518 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:18,523 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:18,526 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:18,541 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:18,541 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:18,587 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 173 out of 372 [2023-08-29 21:36:18,590 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 91 transitions, 204 flow. Second operand has 3 states, 3 states have (on average 173.66666666666666) internal successors, (521), 3 states have internal predecessors, (521), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:18,590 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:18,590 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 173 of 372 [2023-08-29 21:36:18,590 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:19,258 INFO L130 PetriNetUnfolder]: 5533/9583 cut-off events. [2023-08-29 21:36:19,258 INFO L131 PetriNetUnfolder]: For 108/108 co-relation queries the response was YES. [2023-08-29 21:36:19,266 INFO L83 FinitePrefix]: Finished finitePrefix Result has 18210 conditions, 9583 events. 5533/9583 cut-off events. For 108/108 co-relation queries the response was YES. Maximal size of possible extension queue 454. Compared 71784 event pairs, 2522 based on Foata normal form. 1545/8150 useless extension candidates. Maximal degree in co-relation 17394. Up to 8496 conditions per place. [2023-08-29 21:36:19,303 INFO L137 encePairwiseOnDemand]: 347/372 looper letters, 65 selfloop transitions, 2 changer transitions 0/83 dead transitions. [2023-08-29 21:36:19,304 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 70 places, 83 transitions, 322 flow [2023-08-29 21:36:19,305 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:19,306 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:19,312 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 620 transitions. [2023-08-29 21:36:19,314 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5555555555555556 [2023-08-29 21:36:19,314 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 620 transitions. [2023-08-29 21:36:19,314 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 620 transitions. [2023-08-29 21:36:19,316 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:19,317 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 620 transitions. [2023-08-29 21:36:19,320 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 206.66666666666666) internal successors, (620), 3 states have internal predecessors, (620), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:19,323 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:19,324 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:19,325 INFO L175 Difference]: Start difference. First operand has 69 places, 91 transitions, 204 flow. Second operand 3 states and 620 transitions. [2023-08-29 21:36:19,326 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 70 places, 83 transitions, 322 flow [2023-08-29 21:36:19,328 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 70 places, 83 transitions, 322 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 21:36:19,330 INFO L231 Difference]: Finished difference. Result has 71 places, 69 transitions, 170 flow [2023-08-29 21:36:19,331 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=372, PETRI_DIFFERENCE_MINUEND_FLOW=160, PETRI_DIFFERENCE_MINUEND_PLACES=68, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=170, PETRI_PLACES=71, PETRI_TRANSITIONS=69} [2023-08-29 21:36:19,333 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, 2 predicate places. [2023-08-29 21:36:19,333 INFO L495 AbstractCegarLoop]: Abstraction has has 71 places, 69 transitions, 170 flow [2023-08-29 21:36:19,334 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 173.66666666666666) internal successors, (521), 3 states have internal predecessors, (521), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:19,334 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:19,334 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:19,334 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 21:36:19,334 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:19,335 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:19,335 INFO L85 PathProgramCache]: Analyzing trace with hash 27137, now seen corresponding path program 1 times [2023-08-29 21:36:19,335 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:19,335 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [10543793] [2023-08-29 21:36:19,336 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:19,336 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:19,350 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:19,398 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:19,398 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:19,398 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [10543793] [2023-08-29 21:36:19,399 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [10543793] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:19,399 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:19,399 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:19,399 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [791767871] [2023-08-29 21:36:19,399 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:19,400 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:19,400 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:19,401 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:19,401 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:19,432 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 169 out of 372 [2023-08-29 21:36:19,433 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 71 places, 69 transitions, 170 flow. Second operand has 3 states, 3 states have (on average 169.66666666666666) internal successors, (509), 3 states have internal predecessors, (509), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:19,433 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:19,433 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 169 of 372 [2023-08-29 21:36:19,434 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:19,972 INFO L130 PetriNetUnfolder]: 5325/9142 cut-off events. [2023-08-29 21:36:19,972 INFO L131 PetriNetUnfolder]: For 139/139 co-relation queries the response was YES. [2023-08-29 21:36:19,981 INFO L83 FinitePrefix]: Finished finitePrefix Result has 17379 conditions, 9142 events. 5325/9142 cut-off events. For 139/139 co-relation queries the response was YES. Maximal size of possible extension queue 417. Compared 66563 event pairs, 4184 based on Foata normal form. 0/6333 useless extension candidates. Maximal degree in co-relation 17281. Up to 6915 conditions per place. [2023-08-29 21:36:20,013 INFO L137 encePairwiseOnDemand]: 367/372 looper letters, 73 selfloop transitions, 3 changer transitions 0/92 dead transitions. [2023-08-29 21:36:20,014 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 71 places, 92 transitions, 368 flow [2023-08-29 21:36:20,014 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:20,014 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:20,015 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 585 transitions. [2023-08-29 21:36:20,016 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5241935483870968 [2023-08-29 21:36:20,016 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 585 transitions. [2023-08-29 21:36:20,016 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 585 transitions. [2023-08-29 21:36:20,017 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:20,017 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 585 transitions. [2023-08-29 21:36:20,018 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 195.0) internal successors, (585), 3 states have internal predecessors, (585), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,020 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,021 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,022 INFO L175 Difference]: Start difference. First operand has 71 places, 69 transitions, 170 flow. Second operand 3 states and 585 transitions. [2023-08-29 21:36:20,022 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 71 places, 92 transitions, 368 flow [2023-08-29 21:36:20,024 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 69 places, 92 transitions, 364 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:20,026 INFO L231 Difference]: Finished difference. Result has 69 places, 67 transitions, 168 flow [2023-08-29 21:36:20,026 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=372, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=67, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=67, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=64, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=168, PETRI_PLACES=69, PETRI_TRANSITIONS=67} [2023-08-29 21:36:20,026 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, 0 predicate places. [2023-08-29 21:36:20,027 INFO L495 AbstractCegarLoop]: Abstraction has has 69 places, 67 transitions, 168 flow [2023-08-29 21:36:20,027 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 169.66666666666666) internal successors, (509), 3 states have internal predecessors, (509), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,027 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:20,027 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2023-08-29 21:36:20,027 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 21:36:20,028 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:20,029 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:20,030 INFO L85 PathProgramCache]: Analyzing trace with hash 809151194, now seen corresponding path program 1 times [2023-08-29 21:36:20,030 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:20,030 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1372838716] [2023-08-29 21:36:20,031 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:20,031 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:20,058 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:20,150 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:20,150 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:20,150 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1372838716] [2023-08-29 21:36:20,151 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1372838716] provided 0 perfect and 1 imperfect interpolant sequences [2023-08-29 21:36:20,151 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [331538227] [2023-08-29 21:36:20,151 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:20,152 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:20,152 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 21:36:20,158 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) [2023-08-29 21:36:20,180 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2023-08-29 21:36:20,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:20,229 INFO L263 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 9 conjunts are in the unsatisfiable core [2023-08-29 21:36:20,232 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 21:36:20,287 INFO L350 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 6 treesize of output 5 [2023-08-29 21:36:20,340 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:20,340 INFO L328 TraceCheckSpWp]: Computing backward predicates... [2023-08-29 21:36:20,413 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:20,414 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [331538227] provided 0 perfect and 2 imperfect interpolant sequences [2023-08-29 21:36:20,414 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2023-08-29 21:36:20,414 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [2, 2, 2] total 6 [2023-08-29 21:36:20,414 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [473817838] [2023-08-29 21:36:20,414 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2023-08-29 21:36:20,414 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 8 states [2023-08-29 21:36:20,415 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:20,415 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2023-08-29 21:36:20,415 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2023-08-29 21:36:20,530 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 168 out of 372 [2023-08-29 21:36:20,531 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 67 transitions, 168 flow. Second operand has 8 states, 8 states have (on average 169.875) internal successors, (1359), 8 states have internal predecessors, (1359), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,532 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:20,532 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 168 of 372 [2023-08-29 21:36:20,532 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:20,600 INFO L130 PetriNetUnfolder]: 25/85 cut-off events. [2023-08-29 21:36:20,600 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:20,600 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 85 events. 25/85 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 289 event pairs, 0 based on Foata normal form. 13/91 useless extension candidates. Maximal degree in co-relation 179. Up to 50 conditions per place. [2023-08-29 21:36:20,601 INFO L137 encePairwiseOnDemand]: 368/372 looper letters, 9 selfloop transitions, 2 changer transitions 24/37 dead transitions. [2023-08-29 21:36:20,601 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 37 transitions, 141 flow [2023-08-29 21:36:20,601 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2023-08-29 21:36:20,601 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2023-08-29 21:36:20,602 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 703 transitions. [2023-08-29 21:36:20,602 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.4724462365591398 [2023-08-29 21:36:20,603 INFO L72 ComplementDD]: Start complementDD. Operand 4 states and 703 transitions. [2023-08-29 21:36:20,603 INFO L73 IsDeterministic]: Start isDeterministic. Operand 4 states and 703 transitions. [2023-08-29 21:36:20,603 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:20,603 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 4 states and 703 transitions. [2023-08-29 21:36:20,604 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 5 states, 4 states have (on average 175.75) internal successors, (703), 4 states have internal predecessors, (703), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,606 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 5 states, 5 states have (on average 372.0) internal successors, (1860), 5 states have internal predecessors, (1860), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,607 INFO L81 ComplementDD]: Finished complementDD. Result has 5 states, 5 states have (on average 372.0) internal successors, (1860), 5 states have internal predecessors, (1860), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,607 INFO L175 Difference]: Start difference. First operand has 69 places, 67 transitions, 168 flow. Second operand 4 states and 703 transitions. [2023-08-29 21:36:20,607 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 37 transitions, 141 flow [2023-08-29 21:36:20,608 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 31 places, 37 transitions, 138 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:20,608 INFO L231 Difference]: Finished difference. Result has 31 places, 9 transitions, 28 flow [2023-08-29 21:36:20,608 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=372, PETRI_DIFFERENCE_MINUEND_FLOW=54, PETRI_DIFFERENCE_MINUEND_PLACES=28, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=28, PETRI_PLACES=31, PETRI_TRANSITIONS=9} [2023-08-29 21:36:20,609 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -38 predicate places. [2023-08-29 21:36:20,609 INFO L495 AbstractCegarLoop]: Abstraction has has 31 places, 9 transitions, 28 flow [2023-08-29 21:36:20,610 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 8 states, 8 states have (on average 169.875) internal successors, (1359), 8 states have internal predecessors, (1359), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,610 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:20,610 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2023-08-29 21:36:20,617 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2023-08-29 21:36:20,817 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2023-08-29 21:36:20,817 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 10 more)] === [2023-08-29 21:36:20,817 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:20,817 INFO L85 PathProgramCache]: Analyzing trace with hash 205462615, now seen corresponding path program 1 times [2023-08-29 21:36:20,818 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:20,818 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1576583162] [2023-08-29 21:36:20,818 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:20,818 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:20,829 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:20,863 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:20,864 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:20,864 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1576583162] [2023-08-29 21:36:20,864 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1576583162] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:20,864 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:20,864 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:20,865 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [215230927] [2023-08-29 21:36:20,865 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:20,865 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:20,865 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:20,866 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:20,866 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:20,876 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 173 out of 372 [2023-08-29 21:36:20,877 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 31 places, 9 transitions, 28 flow. Second operand has 3 states, 3 states have (on average 175.0) internal successors, (525), 3 states have internal predecessors, (525), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,877 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:20,877 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 173 of 372 [2023-08-29 21:36:20,877 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 21:36:20,887 INFO L130 PetriNetUnfolder]: 4/19 cut-off events. [2023-08-29 21:36:20,887 INFO L131 PetriNetUnfolder]: For 2/2 co-relation queries the response was YES. [2023-08-29 21:36:20,887 INFO L83 FinitePrefix]: Finished finitePrefix Result has 47 conditions, 19 events. 4/19 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 27 event pairs, 4 based on Foata normal form. 3/22 useless extension candidates. Maximal degree in co-relation 42. Up to 15 conditions per place. [2023-08-29 21:36:20,888 INFO L137 encePairwiseOnDemand]: 370/372 looper letters, 0 selfloop transitions, 0 changer transitions 8/8 dead transitions. [2023-08-29 21:36:20,888 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 18 places, 8 transitions, 38 flow [2023-08-29 21:36:20,888 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 21:36:20,888 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 21:36:20,889 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 526 transitions. [2023-08-29 21:36:20,889 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.471326164874552 [2023-08-29 21:36:20,889 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 526 transitions. [2023-08-29 21:36:20,890 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 526 transitions. [2023-08-29 21:36:20,890 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 21:36:20,890 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 526 transitions. [2023-08-29 21:36:20,891 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 175.33333333333334) internal successors, (526), 3 states have internal predecessors, (526), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,893 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,893 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 372.0) internal successors, (1488), 4 states have internal predecessors, (1488), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,893 INFO L175 Difference]: Start difference. First operand has 31 places, 9 transitions, 28 flow. Second operand 3 states and 526 transitions. [2023-08-29 21:36:20,893 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 18 places, 8 transitions, 38 flow [2023-08-29 21:36:20,894 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 16 places, 8 transitions, 35 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-08-29 21:36:20,894 INFO L231 Difference]: Finished difference. Result has 16 places, 0 transitions, 0 flow [2023-08-29 21:36:20,894 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=372, PETRI_DIFFERENCE_MINUEND_FLOW=23, PETRI_DIFFERENCE_MINUEND_PLACES=14, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=8, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=8, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=16, PETRI_TRANSITIONS=0} [2023-08-29 21:36:20,895 INFO L281 CegarLoopForPetriNet]: 69 programPoint places, -53 predicate places. [2023-08-29 21:36:20,895 INFO L495 AbstractCegarLoop]: Abstraction has has 16 places, 0 transitions, 0 flow [2023-08-29 21:36:20,895 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 175.0) internal successors, (525), 3 states have internal predecessors, (525), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:20,897 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 13 remaining) [2023-08-29 21:36:20,897 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (11 of 13 remaining) [2023-08-29 21:36:20,897 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (8 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK (7 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 13 remaining) [2023-08-29 21:36:20,898 INFO L805 garLoopResultBuilder]: Registering result SAFE for location t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 13 remaining) [2023-08-29 21:36:20,899 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr8ASSERT_VIOLATIONMEMORY_LEAK (3 of 13 remaining) [2023-08-29 21:36:20,899 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 13 remaining) [2023-08-29 21:36:20,899 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 13 remaining) [2023-08-29 21:36:20,899 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 13 remaining) [2023-08-29 21:36:20,899 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 21:36:20,900 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 21:36:20,901 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE,SAFE (1/2) [2023-08-29 21:36:20,913 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,944 INFO L130 PetriNetUnfolder]: 58/399 cut-off events. [2023-08-29 21:36:20,944 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:20,946 INFO L83 FinitePrefix]: Finished finitePrefix Result has 419 conditions, 399 events. 58/399 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1791 event pairs, 0 based on Foata normal form. 0/300 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:20,946 INFO L82 GeneralOperation]: Start removeDead. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,948 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,948 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:20,948 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,949 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,950 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 185 places, 212 transitions, 446 flow [2023-08-29 21:36:20,977 INFO L130 PetriNetUnfolder]: 58/399 cut-off events. [2023-08-29 21:36:20,977 INFO L131 PetriNetUnfolder]: For 8/8 co-relation queries the response was YES. [2023-08-29 21:36:20,979 INFO L83 FinitePrefix]: Finished finitePrefix Result has 419 conditions, 399 events. 58/399 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 21. Compared 1791 event pairs, 0 based on Foata normal form. 0/300 useless extension candidates. Maximal degree in co-relation 209. Up to 8 conditions per place. [2023-08-29 21:36:20,986 INFO L119 LiptonReduction]: Number of co-enabled transitions 18036 [2023-08-29 21:36:23,830 INFO L134 LiptonReduction]: Checked pairs total: 32471 [2023-08-29 21:36:23,830 INFO L136 LiptonReduction]: Total number of compositions: 161 [2023-08-29 21:36:23,831 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-08-29 21:36:23,832 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@3465949f, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:23,832 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-08-29 21:36:23,835 INFO L130 PetriNetUnfolder]: 1/32 cut-off events. [2023-08-29 21:36:23,835 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:23,835 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:23,835 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-08-29 21:36:23,835 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-08-29 21:36:23,835 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:23,836 INFO L85 PathProgramCache]: Analyzing trace with hash -246037076, now seen corresponding path program 1 times [2023-08-29 21:36:23,836 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:23,836 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1856663524] [2023-08-29 21:36:23,836 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:23,836 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:23,845 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:23,845 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 21:36:23,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 21:36:23,861 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 21:36:23,861 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 21:36:23,861 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-08-29 21:36:23,861 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-08-29 21:36:23,862 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-08-29 21:36:23,862 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-08-29 21:36:23,862 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (2/2) [2023-08-29 21:36:23,863 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-08-29 21:36:23,863 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-08-29 21:36:23,890 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-08-29 21:36:23,893 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,040 INFO L130 PetriNetUnfolder]: 197/1183 cut-off events. [2023-08-29 21:36:24,041 INFO L131 PetriNetUnfolder]: For 72/75 co-relation queries the response was YES. [2023-08-29 21:36:24,055 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1280 conditions, 1183 events. 197/1183 cut-off events. For 72/75 co-relation queries the response was YES. Maximal size of possible extension queue 34. Compared 7207 event pairs, 1 based on Foata normal form. 0/887 useless extension candidates. Maximal degree in co-relation 722. Up to 32 conditions per place. [2023-08-29 21:36:24,055 INFO L82 GeneralOperation]: Start removeDead. Operand has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,062 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,063 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 21:36:24,063 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,063 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,063 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 275 places, 326 transitions, 700 flow [2023-08-29 21:36:24,174 INFO L130 PetriNetUnfolder]: 197/1183 cut-off events. [2023-08-29 21:36:24,174 INFO L131 PetriNetUnfolder]: For 72/75 co-relation queries the response was YES. [2023-08-29 21:36:24,191 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1280 conditions, 1183 events. 197/1183 cut-off events. For 72/75 co-relation queries the response was YES. Maximal size of possible extension queue 34. Compared 7207 event pairs, 1 based on Foata normal form. 0/887 useless extension candidates. Maximal degree in co-relation 722. Up to 32 conditions per place. [2023-08-29 21:36:24,226 INFO L119 LiptonReduction]: Number of co-enabled transitions 61560 [2023-08-29 21:36:27,593 INFO L134 LiptonReduction]: Checked pairs total: 147031 [2023-08-29 21:36:27,593 INFO L136 LiptonReduction]: Total number of compositions: 226 [2023-08-29 21:36:27,601 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 21:36:27,605 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@3465949f, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 21:36:27,605 INFO L358 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2023-08-29 21:36:27,606 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 21:36:27,606 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 21:36:27,606 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 21:36:27,606 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 21:36:27,607 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [t2_funErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE, t1_funErr0ASSERT_VIOLATIONMEMORY_LEAK (and 12 more)] === [2023-08-29 21:36:27,607 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 21:36:27,607 INFO L85 PathProgramCache]: Analyzing trace with hash 53516, now seen corresponding path program 1 times [2023-08-29 21:36:27,607 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 21:36:27,607 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [603204343] [2023-08-29 21:36:27,607 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 21:36:27,607 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 21:36:27,614 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 21:36:27,675 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 21:36:27,675 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 21:36:27,676 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [603204343] [2023-08-29 21:36:27,676 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [603204343] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 21:36:27,677 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 21:36:27,678 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 21:36:27,678 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1948240098] [2023-08-29 21:36:27,678 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 21:36:27,678 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 21:36:27,679 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 21:36:27,679 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 21:36:27,679 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 21:36:27,704 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 257 out of 552 [2023-08-29 21:36:27,706 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 115 places, 161 transitions, 370 flow. Second operand has 3 states, 3 states have (on average 257.6666666666667) internal successors, (773), 3 states have internal predecessors, (773), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 21:36:27,706 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 21:36:27,706 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 257 of 552 [2023-08-29 21:36:27,707 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand