./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-memsafety/fillarray1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 6ae2ee47 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 ../../../trunk/examples/svcomp/pthread-memsafety/fillarray1.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 0d955c319d131d508b8618ef571ba23da865842e29989ccda626762130a6dda2 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 16:47:48,077 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 16:47:48,148 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-11-22 16:47:48,153 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 16:47:48,153 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 16:47:48,175 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 16:47:48,176 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 16:47:48,177 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 16:47:48,177 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 16:47:48,180 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 16:47:48,181 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 16:47:48,181 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 16:47:48,181 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 16:47:48,182 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 16:47:48,183 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 16:47:48,183 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 16:47:48,183 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 16:47:48,183 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 16:47:48,183 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-22 16:47:48,184 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-22 16:47:48,184 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-22 16:47:48,184 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 16:47:48,184 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-22 16:47:48,185 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-22 16:47:48,185 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 16:47:48,185 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 16:47:48,185 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 16:47:48,186 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 16:47:48,186 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 16:47:48,186 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 16:47:48,187 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:47:48,187 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 16:47:48,187 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 16:47:48,187 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2023-11-22 16:47:48,188 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-22 16:47:48,188 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 16:47:48,188 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 16:47:48,188 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 16:47:48,188 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 16:47:48,188 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 -> 0d955c319d131d508b8618ef571ba23da865842e29989ccda626762130a6dda2 [2023-11-22 16:47:48,399 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 16:47:48,425 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 16:47:48,427 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 16:47:48,428 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 16:47:48,428 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 16:47:48,429 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-memsafety/fillarray1.i [2023-11-22 16:47:49,550 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 16:47:49,761 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 16:47:49,762 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-memsafety/fillarray1.i [2023-11-22 16:47:49,776 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/df14bbb70/b02d4039bc8f4647860730b6d0762406/FLAG65aefdd55 [2023-11-22 16:47:49,791 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/df14bbb70/b02d4039bc8f4647860730b6d0762406 [2023-11-22 16:47:49,794 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 16:47:49,795 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 16:47:49,796 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 16:47:49,796 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 16:47:49,801 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 16:47:49,801 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:47:49" (1/1) ... [2023-11-22 16:47:49,802 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@78acc05a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:49, skipping insertion in model container [2023-11-22 16:47:49,802 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:47:49" (1/1) ... [2023-11-22 16:47:49,852 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 16:47:50,169 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:47:50,177 ERROR L324 MainTranslator]: Unsupported Syntax: Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) [2023-11-22 16:47:50,178 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieTranslatorObserver@756eeb12 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:50, skipping insertion in model container [2023-11-22 16:47:50,178 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 16:47:50,179 INFO L186 ToolchainWalker]: Toolchain execution was canceled (user or tool) before executing de.uni_freiburg.informatik.ultimate.boogie.procedureinliner [2023-11-22 16:47:50,180 INFO L158 Benchmark]: Toolchain (without parser) took 384.64ms. Allocated memory is still 153.1MB. Free memory was 81.5MB in the beginning and 67.4MB in the end (delta: 14.1MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-22 16:47:50,181 INFO L158 Benchmark]: CDTParser took 0.25ms. Allocated memory is still 117.4MB. Free memory was 78.3MB in the beginning and 78.3MB in the end (delta: 20.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-11-22 16:47:50,181 INFO L158 Benchmark]: CACSL2BoogieTranslator took 382.98ms. Allocated memory is still 153.1MB. Free memory was 81.3MB in the beginning and 67.4MB in the end (delta: 13.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. [2023-11-22 16:47:50,183 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.25ms. Allocated memory is still 117.4MB. Free memory was 78.3MB in the beginning and 78.3MB in the end (delta: 20.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 382.98ms. Allocated memory is still 153.1MB. Free memory was 81.3MB in the beginning and 67.4MB in the end (delta: 13.8MB). Peak memory consumption was 14.7MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - UnsupportedSyntaxResult [Line: 1044]: Unsupported Syntax Found a cast between two array/pointer types of different sizes while using memory model HoenickeLindenmann_Original (while Not using bitvector translation) RESULT: Ultimate could not prove your program: Toolchain returned no result. Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/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 ../../../trunk/examples/svcomp/pthread-memsafety/fillarray1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 0d955c319d131d508b8618ef571ba23da865842e29989ccda626762130a6dda2 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-6ae2ee4-m [2023-11-22 16:47:52,121 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-22 16:47:52,201 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2023-11-22 16:47:52,209 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-22 16:47:52,210 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2023-11-22 16:47:52,231 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-22 16:47:52,231 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-11-22 16:47:52,232 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-11-22 16:47:52,232 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-11-22 16:47:52,235 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-11-22 16:47:52,236 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-22 16:47:52,236 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-22 16:47:52,236 INFO L153 SettingsManager]: * Use SBE=true [2023-11-22 16:47:52,237 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-22 16:47:52,238 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-22 16:47:52,238 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-22 16:47:52,238 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-22 16:47:52,238 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-22 16:47:52,239 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-22 16:47:52,239 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-22 16:47:52,239 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-22 16:47:52,240 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-22 16:47:52,240 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-11-22 16:47:52,240 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2023-11-22 16:47:52,241 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2023-11-22 16:47:52,241 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-22 16:47:52,241 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-22 16:47:52,241 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-22 16:47:52,242 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-22 16:47:52,242 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-11-22 16:47:52,243 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2023-11-22 16:47:52,243 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2023-11-22 16:47:52,243 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:47:52,244 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-22 16:47:52,244 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-22 16:47:52,244 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2023-11-22 16:47:52,244 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2023-11-22 16:47:52,244 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2023-11-22 16:47:52,245 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-11-22 16:47:52,245 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-11-22 16:47:52,246 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-11-22 16:47:52,246 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2023-11-22 16:47:52,246 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 -> 0d955c319d131d508b8618ef571ba23da865842e29989ccda626762130a6dda2 [2023-11-22 16:47:52,690 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-22 16:47:52,706 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-22 16:47:52,708 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-22 16:47:52,709 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-22 16:47:52,709 INFO L274 PluginConnector]: CDTParser initialized [2023-11-22 16:47:52,710 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-memsafety/fillarray1.i [2023-11-22 16:47:53,978 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-22 16:47:54,234 INFO L384 CDTParser]: Found 1 translation units. [2023-11-22 16:47:54,234 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-memsafety/fillarray1.i [2023-11-22 16:47:54,274 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/050b86122/95ae8b2273a747228cf96951e1ea3d9f/FLAG7f31b9bd0 [2023-11-22 16:47:54,287 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/050b86122/95ae8b2273a747228cf96951e1ea3d9f [2023-11-22 16:47:54,289 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-22 16:47:54,290 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-22 16:47:54,293 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-22 16:47:54,294 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-22 16:47:54,298 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-22 16:47:54,301 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:54,302 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6808d1 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54, skipping insertion in model container [2023-11-22 16:47:54,302 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:54,354 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 16:47:54,756 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:47:54,765 INFO L199 MainTranslator]: Restarting translation with changed settings: SettingsChange [mNewPreferredMemoryModel=HoenickeLindenmann_1ByteResolution] [2023-11-22 16:47:54,776 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-22 16:47:54,821 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:47:54,833 INFO L202 MainTranslator]: Completed pre-run [2023-11-22 16:47:54,882 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-22 16:47:54,938 INFO L206 MainTranslator]: Completed translation [2023-11-22 16:47:54,938 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54 WrapperNode [2023-11-22 16:47:54,939 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-22 16:47:54,940 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-22 16:47:54,940 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-22 16:47:54,940 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-22 16:47:54,945 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:54,975 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,000 INFO L138 Inliner]: procedures = 263, calls = 16, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 51 [2023-11-22 16:47:55,001 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-22 16:47:55,002 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-22 16:47:55,002 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-22 16:47:55,002 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-22 16:47:55,009 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,010 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,016 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,016 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,036 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,050 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,052 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,054 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,071 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-22 16:47:55,072 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-22 16:47:55,072 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-22 16:47:55,072 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-22 16:47:55,073 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (1/1) ... [2023-11-22 16:47:55,084 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-11-22 16:47:55,092 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-11-22 16:47:55,103 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-11-22 16:47:55,123 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-11-22 16:47:55,148 INFO L130 BoogieDeclarations]: Found specification of procedure t1 [2023-11-22 16:47:55,149 INFO L138 BoogieDeclarations]: Found implementation of procedure t1 [2023-11-22 16:47:55,149 INFO L130 BoogieDeclarations]: Found specification of procedure t2 [2023-11-22 16:47:55,149 INFO L138 BoogieDeclarations]: Found implementation of procedure t2 [2023-11-22 16:47:55,149 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-22 16:47:55,150 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-22 16:47:55,150 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-11-22 16:47:55,150 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-11-22 16:47:55,150 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-22 16:47:55,150 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-22 16:47:55,153 WARN L213 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-11-22 16:47:55,279 INFO L241 CfgBuilder]: Building ICFG [2023-11-22 16:47:55,280 INFO L267 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-22 16:47:55,491 INFO L282 CfgBuilder]: Performing block encoding [2023-11-22 16:47:55,586 INFO L304 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-22 16:47:55,587 INFO L309 CfgBuilder]: Removed 4 assume(true) statements. [2023-11-22 16:47:55,587 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:47:55 BoogieIcfgContainer [2023-11-22 16:47:55,587 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-22 16:47:55,589 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-11-22 16:47:55,589 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2023-11-22 16:47:55,592 INFO L274 PluginConnector]: TraceAbstraction initialized [2023-11-22 16:47:55,593 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.11 04:47:54" (1/3) ... [2023-11-22 16:47:55,593 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6ce93bea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:47:55, skipping insertion in model container [2023-11-22 16:47:55,593 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.11 04:47:54" (2/3) ... [2023-11-22 16:47:55,593 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6ce93bea and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.11 04:47:55, skipping insertion in model container [2023-11-22 16:47:55,593 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:47:55" (3/3) ... [2023-11-22 16:47:55,594 INFO L112 eAbstractionObserver]: Analyzing ICFG fillarray1.i [2023-11-22 16:47:55,622 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-11-22 16:47:55,622 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 12 error locations. [2023-11-22 16:47:55,622 INFO L514 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-11-22 16:47:55,675 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-11-22 16:47:55,721 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 41 places, 39 transitions, 86 flow [2023-11-22 16:47:55,746 INFO L124 PetriNetUnfolderBase]: 4/39 cut-off events. [2023-11-22 16:47:55,747 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:47:55,752 INFO L83 FinitePrefix]: Finished finitePrefix Result has 46 conditions, 39 events. 4/39 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 77 event pairs, 0 based on Foata normal form. 0/21 useless extension candidates. Maximal degree in co-relation 32. Up to 2 conditions per place. [2023-11-22 16:47:55,753 INFO L82 GeneralOperation]: Start removeDead. Operand has 41 places, 39 transitions, 86 flow [2023-11-22 16:47:55,760 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 39 places, 37 transitions, 80 flow [2023-11-22 16:47:55,768 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-11-22 16:47:55,775 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;@7d090e7e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2023-11-22 16:47:55,775 INFO L358 AbstractCegarLoop]: Starting to check reachability of 18 error locations. [2023-11-22 16:47:55,778 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2023-11-22 16:47:55,778 INFO L124 PetriNetUnfolderBase]: 0/3 cut-off events. [2023-11-22 16:47:55,778 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2023-11-22 16:47:55,778 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:55,778 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:47:55,779 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:55,782 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:55,782 INFO L85 PathProgramCache]: Analyzing trace with hash 261495, now seen corresponding path program 1 times [2023-11-22 16:47:55,791 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:55,791 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1183228106] [2023-11-22 16:47:55,791 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:55,792 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:55,792 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:55,794 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:55,820 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2023-11-22 16:47:55,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:55,855 INFO L262 TraceCheckSpWp]: Trace formula consists of 19 conjuncts, 2 conjunts are in the unsatisfiable core [2023-11-22 16:47:55,858 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:55,879 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:55,879 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:55,880 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:55,880 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1183228106] [2023-11-22 16:47:55,880 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1183228106] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:55,880 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:55,881 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-11-22 16:47:55,882 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [511399884] [2023-11-22 16:47:55,882 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:55,888 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:47:55,891 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:55,908 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:47:55,909 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:47:55,936 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 39 [2023-11-22 16:47:55,938 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 37 transitions, 80 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) [2023-11-22 16:47:55,938 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:55,938 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 39 [2023-11-22 16:47:55,939 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:56,086 INFO L124 PetriNetUnfolderBase]: 208/442 cut-off events. [2023-11-22 16:47:56,087 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2023-11-22 16:47:56,090 INFO L83 FinitePrefix]: Finished finitePrefix Result has 781 conditions, 442 events. 208/442 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 42. Compared 2069 event pairs, 144 based on Foata normal form. 0/286 useless extension candidates. Maximal degree in co-relation 762. Up to 256 conditions per place. [2023-11-22 16:47:56,095 INFO L140 encePairwiseOnDemand]: 35/39 looper letters, 22 selfloop transitions, 3 changer transitions 2/46 dead transitions. [2023-11-22 16:47:56,096 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 41 places, 46 transitions, 152 flow [2023-11-22 16:47:56,097 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:47:56,099 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:47:56,103 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 91 transitions. [2023-11-22 16:47:56,105 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.7777777777777778 [2023-11-22 16:47:56,105 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 91 transitions. [2023-11-22 16:47:56,106 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 91 transitions. [2023-11-22 16:47:56,106 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:56,108 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 91 transitions. [2023-11-22 16:47:56,110 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 30.333333333333332) internal successors, (91), 3 states have internal predecessors, (91), 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-11-22 16:47:56,114 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:56,114 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:56,116 INFO L175 Difference]: Start difference. First operand has 39 places, 37 transitions, 80 flow. Second operand 3 states and 91 transitions. [2023-11-22 16:47:56,117 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 41 places, 46 transitions, 152 flow [2023-11-22 16:47:56,119 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 39 places, 46 transitions, 150 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 16:47:56,120 INFO L231 Difference]: Finished difference. Result has 40 places, 36 transitions, 87 flow [2023-11-22 16:47:56,121 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=78, PETRI_DIFFERENCE_MINUEND_PLACES=37, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=34, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=87, PETRI_PLACES=40, PETRI_TRANSITIONS=36} [2023-11-22 16:47:56,124 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, 1 predicate places. [2023-11-22 16:47:56,124 INFO L495 AbstractCegarLoop]: Abstraction has has 40 places, 36 transitions, 87 flow [2023-11-22 16:47:56,124 INFO L496 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) [2023-11-22 16:47:56,125 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:56,125 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:47:56,138 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2023-11-22 16:47:56,327 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:56,327 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:56,328 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:56,328 INFO L85 PathProgramCache]: Analyzing trace with hash 261516, now seen corresponding path program 1 times [2023-11-22 16:47:56,328 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:56,329 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [794458761] [2023-11-22 16:47:56,329 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:56,329 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:56,329 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:56,337 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:56,366 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2023-11-22 16:47:56,417 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:56,418 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-22 16:47:56,419 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:56,487 INFO L349 Elim1Store]: treesize reduction 19, result has 26.9 percent of original size [2023-11-22 16:47:56,488 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 21 treesize of output 15 [2023-11-22 16:47:56,511 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:56,515 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2023-11-22 16:47:56,516 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 1 [2023-11-22 16:47:56,523 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:56,535 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:56,540 INFO L349 Elim1Store]: treesize reduction 17, result has 5.6 percent of original size [2023-11-22 16:47:56,542 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 26 treesize of output 1 [2023-11-22 16:47:56,545 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:56,545 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:56,545 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:56,545 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [794458761] [2023-11-22 16:47:56,546 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [794458761] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:56,546 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:56,547 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-22 16:47:56,547 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [576280645] [2023-11-22 16:47:56,547 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:56,548 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:47:56,548 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:56,549 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:47:56,550 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:47:56,582 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 39 [2023-11-22 16:47:56,585 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 40 places, 36 transitions, 87 flow. Second operand has 3 states, 3 states have (on average 21.0) internal successors, (63), 3 states have internal predecessors, (63), 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-11-22 16:47:56,585 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:56,585 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 39 [2023-11-22 16:47:56,586 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:56,753 INFO L124 PetriNetUnfolderBase]: 163/384 cut-off events. [2023-11-22 16:47:56,754 INFO L125 PetriNetUnfolderBase]: For 25/25 co-relation queries the response was YES. [2023-11-22 16:47:56,756 INFO L83 FinitePrefix]: Finished finitePrefix Result has 710 conditions, 384 events. 163/384 cut-off events. For 25/25 co-relation queries the response was YES. Maximal size of possible extension queue 42. Compared 1891 event pairs, 64 based on Foata normal form. 0/276 useless extension candidates. Maximal degree in co-relation 692. Up to 132 conditions per place. [2023-11-22 16:47:56,757 INFO L140 encePairwiseOnDemand]: 36/39 looper letters, 23 selfloop transitions, 2 changer transitions 0/43 dead transitions. [2023-11-22 16:47:56,757 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 41 places, 43 transitions, 151 flow [2023-11-22 16:47:56,758 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:47:56,758 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:47:56,759 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 86 transitions. [2023-11-22 16:47:56,759 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.7350427350427351 [2023-11-22 16:47:56,759 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 86 transitions. [2023-11-22 16:47:56,760 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 86 transitions. [2023-11-22 16:47:56,760 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:56,760 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 86 transitions. [2023-11-22 16:47:56,761 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 28.666666666666668) internal successors, (86), 3 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:47:56,761 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:56,761 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:56,762 INFO L175 Difference]: Start difference. First operand has 40 places, 36 transitions, 87 flow. Second operand 3 states and 86 transitions. [2023-11-22 16:47:56,762 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 41 places, 43 transitions, 151 flow [2023-11-22 16:47:56,764 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 38 places, 43 transitions, 140 flow, removed 1 selfloop flow, removed 3 redundant places. [2023-11-22 16:47:56,765 INFO L231 Difference]: Finished difference. Result has 38 places, 35 transitions, 78 flow [2023-11-22 16:47:56,765 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=74, PETRI_DIFFERENCE_MINUEND_PLACES=36, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=35, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=33, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=78, PETRI_PLACES=38, PETRI_TRANSITIONS=35} [2023-11-22 16:47:56,766 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, -1 predicate places. [2023-11-22 16:47:56,766 INFO L495 AbstractCegarLoop]: Abstraction has has 38 places, 35 transitions, 78 flow [2023-11-22 16:47:56,766 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 21.0) internal successors, (63), 3 states have internal predecessors, (63), 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-11-22 16:47:56,766 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:56,767 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2023-11-22 16:47:56,782 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2023-11-22 16:47:56,969 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:56,970 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:56,970 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:56,970 INFO L85 PathProgramCache]: Analyzing trace with hash 261517, now seen corresponding path program 1 times [2023-11-22 16:47:56,971 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:56,971 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1415891637] [2023-11-22 16:47:56,971 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:56,971 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:56,971 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:56,983 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:56,985 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2023-11-22 16:47:57,042 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:57,045 INFO L262 TraceCheckSpWp]: Trace formula consists of 42 conjuncts, 6 conjunts are in the unsatisfiable core [2023-11-22 16:47:57,047 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:57,071 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,072 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 5 [2023-11-22 16:47:57,077 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2023-11-22 16:47:57,093 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,095 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,096 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,102 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,107 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,109 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 4 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 1 [2023-11-22 16:47:57,114 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:57,115 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:57,115 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:57,115 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1415891637] [2023-11-22 16:47:57,115 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1415891637] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:57,115 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:57,115 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-22 16:47:57,116 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1425210415] [2023-11-22 16:47:57,116 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:57,116 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:47:57,116 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:57,117 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:47:57,117 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:47:57,152 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 39 [2023-11-22 16:47:57,152 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 38 places, 35 transitions, 78 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) [2023-11-22 16:47:57,152 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:57,152 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 39 [2023-11-22 16:47:57,153 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:57,220 INFO L124 PetriNetUnfolderBase]: 163/383 cut-off events. [2023-11-22 16:47:57,220 INFO L125 PetriNetUnfolderBase]: For 25/25 co-relation queries the response was YES. [2023-11-22 16:47:57,221 INFO L83 FinitePrefix]: Finished finitePrefix Result has 680 conditions, 383 events. 163/383 cut-off events. For 25/25 co-relation queries the response was YES. Maximal size of possible extension queue 42. Compared 1886 event pairs, 64 based on Foata normal form. 1/276 useless extension candidates. Maximal degree in co-relation 667. Up to 132 conditions per place. [2023-11-22 16:47:57,222 INFO L140 encePairwiseOnDemand]: 36/39 looper letters, 22 selfloop transitions, 2 changer transitions 0/42 dead transitions. [2023-11-22 16:47:57,223 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 42 transitions, 140 flow [2023-11-22 16:47:57,223 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:47:57,223 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:47:57,224 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 88 transitions. [2023-11-22 16:47:57,224 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.7521367521367521 [2023-11-22 16:47:57,224 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 88 transitions. [2023-11-22 16:47:57,224 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 88 transitions. [2023-11-22 16:47:57,225 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:57,225 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 88 transitions. [2023-11-22 16:47:57,225 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 29.333333333333332) internal successors, (88), 3 states have internal predecessors, (88), 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-11-22 16:47:57,226 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:57,226 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:57,226 INFO L175 Difference]: Start difference. First operand has 38 places, 35 transitions, 78 flow. Second operand 3 states and 88 transitions. [2023-11-22 16:47:57,226 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 42 transitions, 140 flow [2023-11-22 16:47:57,227 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 42 transitions, 136 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 16:47:57,227 INFO L231 Difference]: Finished difference. Result has 37 places, 34 transitions, 76 flow [2023-11-22 16:47:57,227 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=72, PETRI_DIFFERENCE_MINUEND_PLACES=35, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=34, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=32, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=76, PETRI_PLACES=37, PETRI_TRANSITIONS=34} [2023-11-22 16:47:57,228 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, -2 predicate places. [2023-11-22 16:47:57,228 INFO L495 AbstractCegarLoop]: Abstraction has has 37 places, 34 transitions, 76 flow [2023-11-22 16:47:57,228 INFO L496 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) [2023-11-22 16:47:57,228 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:57,229 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-11-22 16:47:57,245 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2023-11-22 16:47:57,431 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:57,433 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:57,434 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:57,434 INFO L85 PathProgramCache]: Analyzing trace with hash -798888680, now seen corresponding path program 1 times [2023-11-22 16:47:57,434 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:57,434 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [2145066045] [2023-11-22 16:47:57,435 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:57,435 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:57,435 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:57,436 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:57,440 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2023-11-22 16:47:57,487 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:57,489 INFO L262 TraceCheckSpWp]: Trace formula consists of 58 conjuncts, 3 conjunts are in the unsatisfiable core [2023-11-22 16:47:57,490 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:57,500 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 7 [2023-11-22 16:47:57,508 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,508 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,512 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,513 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 1 [2023-11-22 16:47:57,517 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,518 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,522 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,523 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 1 [2023-11-22 16:47:57,528 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,529 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,536 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:57,537 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:57,537 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:57,537 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [2145066045] [2023-11-22 16:47:57,537 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [2145066045] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:57,537 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:57,537 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-22 16:47:57,537 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [511226466] [2023-11-22 16:47:57,538 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:57,538 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:47:57,538 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:57,538 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:47:57,539 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:47:57,564 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 39 [2023-11-22 16:47:57,564 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 37 places, 34 transitions, 76 flow. Second operand has 3 states, 3 states have (on average 21.666666666666668) internal successors, (65), 3 states have internal predecessors, (65), 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-11-22 16:47:57,564 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:57,565 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 39 [2023-11-22 16:47:57,565 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:57,633 INFO L124 PetriNetUnfolderBase]: 167/388 cut-off events. [2023-11-22 16:47:57,633 INFO L125 PetriNetUnfolderBase]: For 25/25 co-relation queries the response was YES. [2023-11-22 16:47:57,634 INFO L83 FinitePrefix]: Finished finitePrefix Result has 694 conditions, 388 events. 167/388 cut-off events. For 25/25 co-relation queries the response was YES. Maximal size of possible extension queue 42. Compared 1885 event pairs, 68 based on Foata normal form. 0/284 useless extension candidates. Maximal degree in co-relation 681. Up to 134 conditions per place. [2023-11-22 16:47:57,636 INFO L140 encePairwiseOnDemand]: 36/39 looper letters, 23 selfloop transitions, 2 changer transitions 0/41 dead transitions. [2023-11-22 16:47:57,640 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 38 places, 41 transitions, 140 flow [2023-11-22 16:47:57,641 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:47:57,641 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:47:57,641 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 86 transitions. [2023-11-22 16:47:57,642 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.7350427350427351 [2023-11-22 16:47:57,642 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 86 transitions. [2023-11-22 16:47:57,642 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 86 transitions. [2023-11-22 16:47:57,642 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:57,643 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 86 transitions. [2023-11-22 16:47:57,643 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 28.666666666666668) internal successors, (86), 3 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:47:57,645 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:57,645 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:57,645 INFO L175 Difference]: Start difference. First operand has 37 places, 34 transitions, 76 flow. Second operand 3 states and 86 transitions. [2023-11-22 16:47:57,645 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 38 places, 41 transitions, 140 flow [2023-11-22 16:47:57,646 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 36 places, 41 transitions, 136 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 16:47:57,647 INFO L231 Difference]: Finished difference. Result has 36 places, 33 transitions, 74 flow [2023-11-22 16:47:57,647 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=70, PETRI_DIFFERENCE_MINUEND_PLACES=34, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=33, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=31, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=74, PETRI_PLACES=36, PETRI_TRANSITIONS=33} [2023-11-22 16:47:57,649 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, -3 predicate places. [2023-11-22 16:47:57,649 INFO L495 AbstractCegarLoop]: Abstraction has has 36 places, 33 transitions, 74 flow [2023-11-22 16:47:57,649 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 21.666666666666668) internal successors, (65), 3 states have internal predecessors, (65), 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-11-22 16:47:57,649 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:57,649 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-11-22 16:47:57,655 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Forceful destruction successful, exit code 0 [2023-11-22 16:47:57,852 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:57,853 INFO L420 AbstractCegarLoop]: === Iteration 5 === Targeting ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:57,853 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:57,854 INFO L85 PathProgramCache]: Analyzing trace with hash -798888679, now seen corresponding path program 1 times [2023-11-22 16:47:57,854 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:57,854 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1336580234] [2023-11-22 16:47:57,854 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:57,854 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:57,854 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:57,857 INFO L229 MonitoredProcess]: Starting monitored process 6 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:57,859 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (6)] Waiting until timeout for monitored process [2023-11-22 16:47:57,906 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:57,908 INFO L262 TraceCheckSpWp]: Trace formula consists of 58 conjuncts, 4 conjunts are in the unsatisfiable core [2023-11-22 16:47:57,909 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:57,919 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 5 [2023-11-22 16:47:57,924 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,924 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 1 [2023-11-22 16:47:57,930 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,930 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,934 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,934 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 1 [2023-11-22 16:47:57,941 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,941 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2023-11-22 16:47:57,949 INFO L190 IndexEqualityManager]: detected not equals via solver [2023-11-22 16:47:57,950 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 4 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 1 [2023-11-22 16:47:57,966 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:57,966 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:57,966 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:57,966 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1336580234] [2023-11-22 16:47:57,966 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1336580234] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:57,966 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:57,966 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2023-11-22 16:47:57,967 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [62454284] [2023-11-22 16:47:57,967 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:57,967 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-11-22 16:47:57,967 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:57,967 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-11-22 16:47:57,967 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-11-22 16:47:57,996 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 39 [2023-11-22 16:47:57,997 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 36 places, 33 transitions, 74 flow. Second operand has 3 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 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-11-22 16:47:57,997 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:57,997 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 39 [2023-11-22 16:47:57,997 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:58,049 INFO L124 PetriNetUnfolderBase]: 163/379 cut-off events. [2023-11-22 16:47:58,050 INFO L125 PetriNetUnfolderBase]: For 25/25 co-relation queries the response was YES. [2023-11-22 16:47:58,050 INFO L83 FinitePrefix]: Finished finitePrefix Result has 676 conditions, 379 events. 163/379 cut-off events. For 25/25 co-relation queries the response was YES. Maximal size of possible extension queue 42. Compared 1871 event pairs, 64 based on Foata normal form. 5/280 useless extension candidates. Maximal degree in co-relation 663. Up to 132 conditions per place. [2023-11-22 16:47:58,052 INFO L140 encePairwiseOnDemand]: 36/39 looper letters, 22 selfloop transitions, 2 changer transitions 0/40 dead transitions. [2023-11-22 16:47:58,052 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 37 places, 40 transitions, 136 flow [2023-11-22 16:47:58,052 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-11-22 16:47:58,053 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-11-22 16:47:58,053 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 88 transitions. [2023-11-22 16:47:58,053 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.7521367521367521 [2023-11-22 16:47:58,053 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 88 transitions. [2023-11-22 16:47:58,053 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 88 transitions. [2023-11-22 16:47:58,054 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:58,054 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 88 transitions. [2023-11-22 16:47:58,054 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 29.333333333333332) internal successors, (88), 3 states have internal predecessors, (88), 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-11-22 16:47:58,054 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:58,055 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 39.0) internal successors, (156), 4 states have internal predecessors, (156), 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-11-22 16:47:58,055 INFO L175 Difference]: Start difference. First operand has 36 places, 33 transitions, 74 flow. Second operand 3 states and 88 transitions. [2023-11-22 16:47:58,055 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 37 places, 40 transitions, 136 flow [2023-11-22 16:47:58,055 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 40 transitions, 132 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 16:47:58,056 INFO L231 Difference]: Finished difference. Result has 35 places, 32 transitions, 72 flow [2023-11-22 16:47:58,056 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=68, PETRI_DIFFERENCE_MINUEND_PLACES=33, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=32, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=30, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=72, PETRI_PLACES=35, PETRI_TRANSITIONS=32} [2023-11-22 16:47:58,056 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, -4 predicate places. [2023-11-22 16:47:58,057 INFO L495 AbstractCegarLoop]: Abstraction has has 35 places, 32 transitions, 72 flow [2023-11-22 16:47:58,057 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.666666666666668) internal successors, (68), 3 states have internal predecessors, (68), 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-11-22 16:47:58,057 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:58,057 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 16:47:58,062 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (6)] Forceful destruction successful, exit code 0 [2023-11-22 16:47:58,260 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:58,260 INFO L420 AbstractCegarLoop]: === Iteration 6 === Targeting t1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:58,261 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:58,261 INFO L85 PathProgramCache]: Analyzing trace with hash 1068207610, now seen corresponding path program 1 times [2023-11-22 16:47:58,262 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:58,262 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [446954282] [2023-11-22 16:47:58,262 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:58,262 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:58,262 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:58,271 INFO L229 MonitoredProcess]: Starting monitored process 7 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:58,276 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (7)] Waiting until timeout for monitored process [2023-11-22 16:47:58,364 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-22 16:47:58,366 INFO L262 TraceCheckSpWp]: Trace formula consists of 65 conjuncts, 8 conjunts are in the unsatisfiable core [2023-11-22 16:47:58,368 INFO L285 TraceCheckSpWp]: Computing forward predicates... [2023-11-22 16:47:58,400 INFO L349 Elim1Store]: treesize reduction 37, result has 15.9 percent of original size [2023-11-22 16:47:58,401 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 24 treesize of output 22 [2023-11-22 16:47:58,418 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2023-11-22 16:47:58,418 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 22 [2023-11-22 16:47:58,620 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-22 16:47:58,620 INFO L323 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-11-22 16:47:58,620 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-11-22 16:47:58,620 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [446954282] [2023-11-22 16:47:58,621 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [446954282] provided 1 perfect and 0 imperfect interpolant sequences [2023-11-22 16:47:58,621 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-11-22 16:47:58,621 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2023-11-22 16:47:58,623 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1481356658] [2023-11-22 16:47:58,624 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-11-22 16:47:58,624 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2023-11-22 16:47:58,624 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-11-22 16:47:58,625 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2023-11-22 16:47:58,625 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2023-11-22 16:47:58,829 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 19 out of 39 [2023-11-22 16:47:58,829 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 32 transitions, 72 flow. Second operand has 5 states, 5 states have (on average 20.4) internal successors, (102), 5 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:47:58,829 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-11-22 16:47:58,829 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 19 of 39 [2023-11-22 16:47:58,829 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-11-22 16:47:59,113 INFO L124 PetriNetUnfolderBase]: 233/446 cut-off events. [2023-11-22 16:47:59,113 INFO L125 PetriNetUnfolderBase]: For 25/25 co-relation queries the response was YES. [2023-11-22 16:47:59,114 INFO L83 FinitePrefix]: Finished finitePrefix Result has 857 conditions, 446 events. 233/446 cut-off events. For 25/25 co-relation queries the response was YES. Maximal size of possible extension queue 32. Compared 1904 event pairs, 9 based on Foata normal form. 19/381 useless extension candidates. Maximal degree in co-relation 844. Up to 155 conditions per place. [2023-11-22 16:47:59,115 INFO L140 encePairwiseOnDemand]: 32/39 looper letters, 37 selfloop transitions, 6 changer transitions 0/56 dead transitions. [2023-11-22 16:47:59,115 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 56 transitions, 210 flow [2023-11-22 16:47:59,116 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2023-11-22 16:47:59,116 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2023-11-22 16:47:59,117 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 161 transitions. [2023-11-22 16:47:59,117 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.688034188034188 [2023-11-22 16:47:59,117 INFO L72 ComplementDD]: Start complementDD. Operand 6 states and 161 transitions. [2023-11-22 16:47:59,117 INFO L73 IsDeterministic]: Start isDeterministic. Operand 6 states and 161 transitions. [2023-11-22 16:47:59,117 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-11-22 16:47:59,117 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 6 states and 161 transitions. [2023-11-22 16:47:59,118 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 7 states, 6 states have (on average 26.833333333333332) internal successors, (161), 6 states have internal predecessors, (161), 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-11-22 16:47:59,119 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 7 states, 7 states have (on average 39.0) internal successors, (273), 7 states have internal predecessors, (273), 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-11-22 16:47:59,119 INFO L81 ComplementDD]: Finished complementDD. Result has 7 states, 7 states have (on average 39.0) internal successors, (273), 7 states have internal predecessors, (273), 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-11-22 16:47:59,119 INFO L175 Difference]: Start difference. First operand has 35 places, 32 transitions, 72 flow. Second operand 6 states and 161 transitions. [2023-11-22 16:47:59,119 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 56 transitions, 210 flow [2023-11-22 16:47:59,120 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 37 places, 56 transitions, 204 flow, removed 0 selfloop flow, removed 2 redundant places. [2023-11-22 16:47:59,120 INFO L231 Difference]: Finished difference. Result has 41 places, 34 transitions, 102 flow [2023-11-22 16:47:59,120 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=39, PETRI_DIFFERENCE_MINUEND_FLOW=66, PETRI_DIFFERENCE_MINUEND_PLACES=32, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=102, PETRI_PLACES=41, PETRI_TRANSITIONS=34} [2023-11-22 16:47:59,121 INFO L281 CegarLoopForPetriNet]: 39 programPoint places, 2 predicate places. [2023-11-22 16:47:59,121 INFO L495 AbstractCegarLoop]: Abstraction has has 41 places, 34 transitions, 102 flow [2023-11-22 16:47:59,121 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 20.4) internal successors, (102), 5 states have internal predecessors, (102), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-11-22 16:47:59,121 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-11-22 16:47:59,121 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2023-11-22 16:47:59,126 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (7)] Ended with exit code 0 [2023-11-22 16:47:59,324 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 7 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:59,325 INFO L420 AbstractCegarLoop]: === Iteration 7 === Targeting t1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 15 more)] === [2023-11-22 16:47:59,325 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-22 16:47:59,325 INFO L85 PathProgramCache]: Analyzing trace with hash 1068207611, now seen corresponding path program 1 times [2023-11-22 16:47:59,326 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-11-22 16:47:59,326 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [306862688] [2023-11-22 16:47:59,326 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-11-22 16:47:59,326 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:59,326 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-11-22 16:47:59,340 INFO L229 MonitoredProcess]: Starting monitored process 8 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-11-22 16:47:59,354 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (8)] Waiting until timeout for monitored process [2023-11-22 16:47:59,411 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:47:59,412 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-11-22 16:47:59,433 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-11-22 16:47:59,454 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2023-11-22 16:47:59,454 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-11-22 16:47:59,455 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location t1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (17 of 18 remaining) [2023-11-22 16:47:59,456 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7ASSERT_VIOLATIONMEMORY_LEAK (16 of 18 remaining) [2023-11-22 16:47:59,456 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (15 of 18 remaining) [2023-11-22 16:47:59,456 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 18 remaining) [2023-11-22 16:47:59,456 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (13 of 18 remaining) [2023-11-22 16:47:59,456 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (12 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4ASSERT_VIOLATIONMEMORY_FREE (11 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_FREE (10 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6ASSERT_VIOLATIONMEMORY_FREE (9 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (8 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (7 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 18 remaining) [2023-11-22 16:47:59,457 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t2Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 18 remaining) [2023-11-22 16:47:59,458 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t2Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 18 remaining) [2023-11-22 16:47:59,458 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 18 remaining) [2023-11-22 16:47:59,458 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t2Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 18 remaining) [2023-11-22 16:47:59,458 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location t2Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 18 remaining) [2023-11-22 16:47:59,463 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (8)] Forceful destruction successful, exit code 0 [2023-11-22 16:47:59,658 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 8 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-11-22 16:47:59,659 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1, 1, 1, 1] [2023-11-22 16:47:59,664 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-11-22 16:47:59,664 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-11-22 16:47:59,676 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre6 could not be translated [2023-11-22 16:47:59,686 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 22.11 04:47:59 BasicIcfg [2023-11-22 16:47:59,686 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-11-22 16:47:59,687 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-22 16:47:59,687 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-22 16:47:59,687 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-22 16:47:59,687 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.11 04:47:55" (3/4) ... [2023-11-22 16:47:59,688 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2023-11-22 16:47:59,695 WARN L1572 BoogieBacktranslator]: Unfinished Backtranslation: IdentifierExpression #t~pre6 could not be translated [2023-11-22 16:47:59,723 INFO L149 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2023-11-22 16:47:59,723 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-22 16:47:59,723 INFO L158 Benchmark]: Toolchain (without parser) took 5433.12ms. Allocated memory was 60.8MB in the beginning and 117.4MB in the end (delta: 56.6MB). Free memory was 40.7MB in the beginning and 72.6MB in the end (delta: -31.9MB). Peak memory consumption was 25.5MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,724 INFO L158 Benchmark]: CDTParser took 0.17ms. Allocated memory is still 50.3MB. Free memory is still 33.6MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-22 16:47:59,724 INFO L158 Benchmark]: CACSL2BoogieTranslator took 646.60ms. Allocated memory is still 60.8MB. Free memory was 40.5MB in the beginning and 24.5MB in the end (delta: 16.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,724 INFO L158 Benchmark]: Boogie Procedure Inliner took 60.71ms. Allocated memory is still 60.8MB. Free memory was 24.5MB in the beginning and 22.1MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,724 INFO L158 Benchmark]: Boogie Preprocessor took 69.24ms. Allocated memory is still 60.8MB. Free memory was 22.1MB in the beginning and 40.3MB in the end (delta: -18.2MB). Peak memory consumption was 3.0MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,725 INFO L158 Benchmark]: RCFGBuilder took 515.81ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 40.3MB in the beginning and 37.3MB in the end (delta: 3.0MB). Peak memory consumption was 20.8MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,725 INFO L158 Benchmark]: TraceAbstraction took 4097.58ms. Allocated memory was 73.4MB in the beginning and 117.4MB in the end (delta: 44.0MB). Free memory was 36.5MB in the beginning and 75.7MB in the end (delta: -39.2MB). Peak memory consumption was 3.2MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,725 INFO L158 Benchmark]: Witness Printer took 36.45ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 72.6MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-22 16:47:59,726 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.17ms. Allocated memory is still 50.3MB. Free memory is still 33.6MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 646.60ms. Allocated memory is still 60.8MB. Free memory was 40.5MB in the beginning and 24.5MB in the end (delta: 16.0MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 60.71ms. Allocated memory is still 60.8MB. Free memory was 24.5MB in the beginning and 22.1MB in the end (delta: 2.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 69.24ms. Allocated memory is still 60.8MB. Free memory was 22.1MB in the beginning and 40.3MB in the end (delta: -18.2MB). Peak memory consumption was 3.0MB. Max. memory is 16.1GB. * RCFGBuilder took 515.81ms. Allocated memory was 60.8MB in the beginning and 73.4MB in the end (delta: 12.6MB). Free memory was 40.3MB in the beginning and 37.3MB in the end (delta: 3.0MB). Peak memory consumption was 20.8MB. Max. memory is 16.1GB. * TraceAbstraction took 4097.58ms. Allocated memory was 73.4MB in the beginning and 117.4MB in the end (delta: 44.0MB). Free memory was 36.5MB in the beginning and 75.7MB in the end (delta: -39.2MB). Peak memory consumption was 3.2MB. Max. memory is 16.1GB. * Witness Printer took 36.45ms. Allocated memory is still 117.4MB. Free memory was 75.7MB in the beginning and 72.6MB in the end (delta: 3.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre6 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: IdentifierExpression #t~pre6 could not be translated - GenericResult: Unfinished Backtranslation The program execution was not completely translated back. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: -1]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L1037] 0 int size; [L1038] 0 int ind; [L1039] 0 int j = 2, i = 1; [L1040] 0 int x, y, z; [L1068] 0 size = __VERIFIER_nondet_int() [L1069] COND FALSE 0 !(size < 1 || size > 20) [L1072] 0 int *a = (int *)malloc(size); [L1073] 0 pthread_t id1, id2; [L1074] 0 ind = 0 [L1075] FCALL, FORK 0 pthread_create(&id1, ((void *)0), t1, a) VAL [\old(argc)=6, a={1:0}, arg={1:0}, argc=6, argv={9:7}, i=1, id1={3:0}, id2={5:0}, ind=0, j=2, size=2, x=0, y=0, z=0] [L1042] 1 x = 1 [L1043] 1 y = 1 [L1044] 1 int *a = (int *)arg; VAL [a={1:0}, arg={1:0}, arg={1:0}, i=1, ind=0, j=2, size=2, x=1, y=1, z=0] [L1045] COND FALSE 1 !(y == 1 && z) VAL [a={1:0}, arg={1:0}, arg={1:0}, i=1, ind=0, j=2, size=2, x=1, y=1, z=0] [L1047] COND TRUE 1 ind < size - 1 [L1048] 1 ++ind VAL [a={1:0}, arg={1:0}, arg={1:0}, i=1, ind=1, j=2, size=2, x=1, y=1, z=0] [L1049] 1 a[ind] = i - UnprovableResult [Line: 1067]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1077]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1077]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1077]: Unable to prove that free always succeeds Unable to prove that free always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1075]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 1076]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 51 locations, 18 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 3.9s, OverallIterations: 7, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 282 SdHoareTripleChecker+Valid, 0.8s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 166 mSDsluCounter, 14 SdHoareTripleChecker+Invalid, 0.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 12 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 421 IncrementalHoareTripleChecker+Invalid, 427 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 2 mSDtfsCounter, 421 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 25 GetRequests, 15 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=102occurred in iteration=6, InterpolantAutomatonStates: 21, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 37 NumberOfCodeBlocks, 37 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 23 ConstructedInterpolants, 6 QuantifiedInterpolants, 319 SizeOfPredicates, 13 NumberOfNonLiveVariables, 284 ConjunctsInSsa, 27 ConjunctsInUnsatCore, 6 InterpolantComputations, 6 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! [2023-11-22 16:47:59,749 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref)