./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/weaver/popl20-commit-2.wvr.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version d790fecc Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/weaver/popl20-commit-2.wvr.c -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB --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 ec2334e7e9ec2636c6abf161aed91fff94fbff3709d38c7edad92256c3b5dc81 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-d790fec [2024-11-28 02:11:01,828 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-28 02:11:01,944 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-28 02:11:01,957 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-28 02:11:01,958 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-28 02:11:02,008 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-28 02:11:02,010 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-28 02:11:02,011 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-28 02:11:02,011 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-28 02:11:02,012 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-28 02:11:02,012 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-28 02:11:02,013 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-28 02:11:02,014 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-28 02:11:02,014 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-28 02:11:02,014 INFO L153 SettingsManager]: * Use SBE=true [2024-11-28 02:11:02,014 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-28 02:11:02,015 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-28 02:11:02,015 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-28 02:11:02,015 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-28 02:11:02,015 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-28 02:11:02,016 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-28 02:11:02,016 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-28 02:11:02,016 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2024-11-28 02:11:02,017 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-28 02:11:02,018 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-28 02:11:02,018 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-28 02:11:02,018 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-28 02:11:02,018 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-28 02:11:02,018 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 02:11:02,018 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-28 02:11:02,019 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-28 02:11:02,020 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-28 02:11:02,020 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-28 02:11:02,020 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 02:11:02,020 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-28 02:11:02,020 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-28 02:11:02,021 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB 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 -> ec2334e7e9ec2636c6abf161aed91fff94fbff3709d38c7edad92256c3b5dc81 [2024-11-28 02:11:02,416 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-28 02:11:02,427 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-28 02:11:02,430 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-28 02:11:02,432 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-28 02:11:02,432 INFO L274 PluginConnector]: CDTParser initialized [2024-11-28 02:11:02,434 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/../../sv-benchmarks/c/weaver/popl20-commit-2.wvr.c [2024-11-28 02:11:06,215 INFO L533 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/data/53d17984a/8afc5436c9494de7a0237bc277c3ca01/FLAG7b46b3067 [2024-11-28 02:11:06,555 INFO L384 CDTParser]: Found 1 translation units. [2024-11-28 02:11:06,555 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/sv-benchmarks/c/weaver/popl20-commit-2.wvr.c [2024-11-28 02:11:06,566 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/data/53d17984a/8afc5436c9494de7a0237bc277c3ca01/FLAG7b46b3067 [2024-11-28 02:11:06,583 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/data/53d17984a/8afc5436c9494de7a0237bc277c3ca01 [2024-11-28 02:11:06,586 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-28 02:11:06,587 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-28 02:11:06,589 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-28 02:11:06,589 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-28 02:11:06,595 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-28 02:11:06,596 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 02:11:06" (1/1) ... [2024-11-28 02:11:06,597 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4bcd9d10 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:06, skipping insertion in model container [2024-11-28 02:11:06,597 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 02:11:06" (1/1) ... [2024-11-28 02:11:06,631 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-28 02:11:06,978 WARN L1063 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2024-11-28 02:11:06,983 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-28 02:11:07,001 INFO L200 MainTranslator]: Completed pre-run [2024-11-28 02:11:07,048 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-28 02:11:07,069 INFO L204 MainTranslator]: Completed translation [2024-11-28 02:11:07,070 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07 WrapperNode [2024-11-28 02:11:07,070 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-28 02:11:07,071 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-28 02:11:07,072 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-28 02:11:07,072 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-28 02:11:07,087 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,107 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,174 INFO L138 Inliner]: procedures = 25, calls = 74, calls flagged for inlining = 28, calls inlined = 34, statements flattened = 455 [2024-11-28 02:11:07,178 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-28 02:11:07,179 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-28 02:11:07,180 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-28 02:11:07,183 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-28 02:11:07,200 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,201 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,210 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,261 INFO L175 MemorySlicer]: Split 18 memory accesses to 2 slices as follows [2, 16]. 89 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0]. The 4 writes are split as follows [0, 4]. [2024-11-28 02:11:07,261 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,262 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,295 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,299 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,316 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,319 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,324 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,332 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-28 02:11:07,333 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-28 02:11:07,333 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-28 02:11:07,340 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-28 02:11:07,342 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (1/1) ... [2024-11-28 02:11:07,357 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-28 02:11:07,378 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/z3 [2024-11-28 02:11:07,398 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-28 02:11:07,403 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_83d16be9-1652-4ed9-a265-7d5b6da6528e/bin/uautomizer-verify-aQ6SnzHsRB/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-28 02:11:07,436 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-28 02:11:07,437 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-28 02:11:07,437 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-28 02:11:07,437 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-28 02:11:07,437 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-28 02:11:07,437 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2024-11-28 02:11:07,437 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2024-11-28 02:11:07,438 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-28 02:11:07,438 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-11-28 02:11:07,439 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-11-28 02:11:07,439 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-28 02:11:07,439 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-28 02:11:07,439 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-28 02:11:07,439 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-28 02:11:07,439 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-28 02:11:07,442 WARN L203 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-28 02:11:07,657 INFO L234 CfgBuilder]: Building ICFG [2024-11-28 02:11:07,660 INFO L260 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-28 02:11:08,945 INFO L279 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-28 02:11:08,945 INFO L283 CfgBuilder]: Performing block encoding [2024-11-28 02:11:09,824 INFO L307 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-28 02:11:09,826 INFO L312 CfgBuilder]: Removed 8 assume(true) statements. [2024-11-28 02:11:09,826 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 02:11:09 BoogieIcfgContainer [2024-11-28 02:11:09,826 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-28 02:11:09,831 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-28 02:11:09,831 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-28 02:11:09,838 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-28 02:11:09,838 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 02:11:06" (1/3) ... [2024-11-28 02:11:09,839 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2eb2e374 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 02:11:09, skipping insertion in model container [2024-11-28 02:11:09,840 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:11:07" (2/3) ... [2024-11-28 02:11:09,842 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2eb2e374 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 02:11:09, skipping insertion in model container [2024-11-28 02:11:09,842 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 02:11:09" (3/3) ... [2024-11-28 02:11:09,844 INFO L128 eAbstractionObserver]: Analyzing ICFG popl20-commit-2.wvr.c [2024-11-28 02:11:09,865 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-28 02:11:09,868 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG popl20-commit-2.wvr.c that has 5 procedures, 91 locations, 1 initial locations, 8 loop locations, and 34 error locations. [2024-11-28 02:11:09,868 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-28 02:11:10,074 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-28 02:11:10,117 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 103 places, 102 transitions, 232 flow [2024-11-28 02:11:10,204 INFO L124 PetriNetUnfolderBase]: 12/98 cut-off events. [2024-11-28 02:11:10,207 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2024-11-28 02:11:10,217 INFO L83 FinitePrefix]: Finished finitePrefix Result has 115 conditions, 98 events. 12/98 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 307 event pairs, 0 based on Foata normal form. 0/52 useless extension candidates. Maximal degree in co-relation 81. Up to 2 conditions per place. [2024-11-28 02:11:10,218 INFO L82 GeneralOperation]: Start removeDead. Operand has 103 places, 102 transitions, 232 flow [2024-11-28 02:11:10,226 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 98 places, 97 transitions, 218 flow [2024-11-28 02:11:10,244 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-28 02:11:10,273 INFO L333 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@50323453, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-28 02:11:10,274 INFO L334 AbstractCegarLoop]: Starting to check reachability of 62 error locations. [2024-11-28 02:11:10,282 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-28 02:11:10,283 INFO L124 PetriNetUnfolderBase]: 1/4 cut-off events. [2024-11-28 02:11:10,283 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-28 02:11:10,283 INFO L198 CegarLoopForPetriNet]: Found error trace [2024-11-28 02:11:10,284 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-28 02:11:10,284 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thread1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 59 more)] === [2024-11-28 02:11:10,292 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-28 02:11:10,292 INFO L85 PathProgramCache]: Analyzing trace with hash 1417042, now seen corresponding path program 1 times [2024-11-28 02:11:10,302 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-28 02:11:10,303 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [376283091] [2024-11-28 02:11:10,303 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-28 02:11:10,304 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-28 02:11:10,466 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-28 02:11:10,698 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-28 02:11:10,699 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-28 02:11:10,699 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [376283091] [2024-11-28 02:11:10,700 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [376283091] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-28 02:11:10,700 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-28 02:11:10,701 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-28 02:11:10,703 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1376524317] [2024-11-28 02:11:10,704 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-28 02:11:10,712 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-28 02:11:10,719 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-28 02:11:10,753 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-28 02:11:10,754 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-28 02:11:10,794 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 102 [2024-11-28 02:11:10,797 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 98 places, 97 transitions, 218 flow. Second operand has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-28 02:11:10,798 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-28 02:11:10,798 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 102 [2024-11-28 02:11:10,799 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-28 02:11:40,876 INFO L124 PetriNetUnfolderBase]: 235628/304451 cut-off events. [2024-11-28 02:11:40,876 INFO L125 PetriNetUnfolderBase]: For 7003/7003 co-relation queries the response was YES. [2024-11-28 02:11:41,266 INFO L83 FinitePrefix]: Finished finitePrefix Result has 616356 conditions, 304451 events. 235628/304451 cut-off events. For 7003/7003 co-relation queries the response was YES. Maximal size of possible extension queue 9516. Compared 1927729 event pairs, 214554 based on Foata normal form. 1/175535 useless extension candidates. Maximal degree in co-relation 603429. Up to 304304 conditions per place. [2024-11-28 02:11:42,349 INFO L140 encePairwiseOnDemand]: 91/102 looper letters, 76 selfloop transitions, 2 changer transitions 0/87 dead transitions. [2024-11-28 02:11:42,350 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 94 places, 87 transitions, 354 flow [2024-11-28 02:11:42,351 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-28 02:11:42,354 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-28 02:11:42,366 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 129 transitions. [2024-11-28 02:11:42,370 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.4215686274509804 [2024-11-28 02:11:42,373 INFO L175 Difference]: Start difference. First operand has 98 places, 97 transitions, 218 flow. Second operand 3 states and 129 transitions. [2024-11-28 02:11:42,374 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 94 places, 87 transitions, 354 flow [2024-11-28 02:11:42,564 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 86 places, 87 transitions, 338 flow, removed 0 selfloop flow, removed 8 redundant places. [2024-11-28 02:11:42,569 INFO L231 Difference]: Finished difference. Result has 86 places, 87 transitions, 186 flow [2024-11-28 02:11:42,572 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=102, PETRI_DIFFERENCE_MINUEND_FLOW=182, PETRI_DIFFERENCE_MINUEND_PLACES=84, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=87, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=85, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=186, PETRI_PLACES=86, PETRI_TRANSITIONS=87} [2024-11-28 02:11:42,577 INFO L279 CegarLoopForPetriNet]: 98 programPoint places, -12 predicate places. [2024-11-28 02:11:42,579 INFO L471 AbstractCegarLoop]: Abstraction has has 86 places, 87 transitions, 186 flow [2024-11-28 02:11:42,580 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 15.0) internal successors, (45), 3 states have internal predecessors, (45), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-28 02:11:42,580 INFO L198 CegarLoopForPetriNet]: Found error trace [2024-11-28 02:11:42,580 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-28 02:11:42,580 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-28 02:11:42,581 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [thread1Err0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, thread1Err2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 59 more)] === [2024-11-28 02:11:42,582 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-28 02:11:42,582 INFO L85 PathProgramCache]: Analyzing trace with hash 1417043, now seen corresponding path program 1 times [2024-11-28 02:11:42,582 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-28 02:11:42,582 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1982353029] [2024-11-28 02:11:42,582 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-28 02:11:42,583 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-28 02:11:42,630 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-28 02:11:43,122 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-28 02:11:43,122 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-28 02:11:43,123 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1982353029] [2024-11-28 02:11:43,123 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1982353029] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-28 02:11:43,123 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-28 02:11:43,123 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-28 02:11:43,123 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [171588497] [2024-11-28 02:11:43,123 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-28 02:11:43,124 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2024-11-28 02:11:43,125 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-28 02:11:43,125 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2024-11-28 02:11:43,128 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2024-11-28 02:11:43,174 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 102 [2024-11-28 02:11:43,175 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 86 places, 87 transitions, 186 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-28 02:11:43,175 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-28 02:11:43,175 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 102 [2024-11-28 02:11:43,175 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand