./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 4e7fbc69 Calling Ultimate with: /usr/lib/jvm/java-1.11.0-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 013bb91f520a17a9cdc0cfee70ba812e0f5d104f38897431df1c1d9fa0ad9ebb --- Real Ultimate output --- [0.001s][warning][os,container] Duplicate cpuset controllers detected. Picking /sys/fs/cgroup/cpuset, skipping /sys/fs/cgroup/cpuset. This is Ultimate 0.2.2-dev-4e7fbc6 [2022-11-23 02:45:01,127 INFO L177 SettingsManager]: Resetting all preferences to default values... [2022-11-23 02:45:01,129 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2022-11-23 02:45:01,148 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2022-11-23 02:45:01,149 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2022-11-23 02:45:01,150 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2022-11-23 02:45:01,151 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2022-11-23 02:45:01,153 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2022-11-23 02:45:01,155 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2022-11-23 02:45:01,156 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2022-11-23 02:45:01,157 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2022-11-23 02:45:01,158 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2022-11-23 02:45:01,159 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2022-11-23 02:45:01,160 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2022-11-23 02:45:01,161 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2022-11-23 02:45:01,163 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2022-11-23 02:45:01,164 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2022-11-23 02:45:01,165 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2022-11-23 02:45:01,167 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2022-11-23 02:45:01,169 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2022-11-23 02:45:01,170 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2022-11-23 02:45:01,176 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2022-11-23 02:45:01,177 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2022-11-23 02:45:01,178 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2022-11-23 02:45:01,187 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2022-11-23 02:45:01,187 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2022-11-23 02:45:01,188 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2022-11-23 02:45:01,194 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2022-11-23 02:45:01,195 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2022-11-23 02:45:01,196 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2022-11-23 02:45:01,196 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2022-11-23 02:45:01,197 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2022-11-23 02:45:01,198 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2022-11-23 02:45:01,199 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2022-11-23 02:45:01,203 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2022-11-23 02:45:01,203 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2022-11-23 02:45:01,204 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2022-11-23 02:45:01,205 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2022-11-23 02:45:01,206 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2022-11-23 02:45:01,208 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2022-11-23 02:45:01,210 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2022-11-23 02:45:01,211 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2022-11-23 02:45:01,252 INFO L113 SettingsManager]: Loading preferences was successful [2022-11-23 02:45:01,252 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2022-11-23 02:45:01,253 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2022-11-23 02:45:01,253 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2022-11-23 02:45:01,254 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2022-11-23 02:45:01,255 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2022-11-23 02:45:01,255 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2022-11-23 02:45:01,256 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2022-11-23 02:45:01,256 INFO L138 SettingsManager]: * Use SBE=true [2022-11-23 02:45:01,256 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2022-11-23 02:45:01,257 INFO L138 SettingsManager]: * sizeof long=4 [2022-11-23 02:45:01,258 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2022-11-23 02:45:01,258 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2022-11-23 02:45:01,258 INFO L138 SettingsManager]: * sizeof POINTER=4 [2022-11-23 02:45:01,258 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2022-11-23 02:45:01,258 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2022-11-23 02:45:01,259 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2022-11-23 02:45:01,259 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2022-11-23 02:45:01,259 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2022-11-23 02:45:01,259 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2022-11-23 02:45:01,260 INFO L138 SettingsManager]: * sizeof long double=12 [2022-11-23 02:45:01,260 INFO L138 SettingsManager]: * Use constant arrays=true [2022-11-23 02:45:01,260 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2022-11-23 02:45:01,260 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2022-11-23 02:45:01,261 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2022-11-23 02:45:01,261 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-23 02:45:01,261 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2022-11-23 02:45:01,261 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2022-11-23 02:45:01,262 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2022-11-23 02:45:01,262 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2022-11-23 02:45:01,263 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2022-11-23 02:45:01,263 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2022-11-23 02:45:01,263 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2022-11-23 02:45:01,264 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 013bb91f520a17a9cdc0cfee70ba812e0f5d104f38897431df1c1d9fa0ad9ebb [2022-11-23 02:45:01,540 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2022-11-23 02:45:01,563 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2022-11-23 02:45:01,566 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2022-11-23 02:45:01,568 INFO L271 PluginConnector]: Initializing CDTParser... [2022-11-23 02:45:01,568 INFO L275 PluginConnector]: CDTParser initialized [2022-11-23 02:45:01,570 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/../../sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i [2022-11-23 02:45:04,709 INFO L500 CDTParser]: Created temporary CDT project at NULL [2022-11-23 02:45:05,041 INFO L351 CDTParser]: Found 1 translation units. [2022-11-23 02:45:05,041 INFO L172 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/sv-benchmarks/c/goblint-regression/04-mutex_17-ps_add1_nr.i [2022-11-23 02:45:05,054 INFO L394 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/data/1e0f5f059/7122ae4e301c4621a8161e6fda2e91f4/FLAG055cee467 [2022-11-23 02:45:05,069 INFO L402 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/data/1e0f5f059/7122ae4e301c4621a8161e6fda2e91f4 [2022-11-23 02:45:05,072 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2022-11-23 02:45:05,074 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2022-11-23 02:45:05,079 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2022-11-23 02:45:05,079 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2022-11-23 02:45:05,083 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2022-11-23 02:45:05,084 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:05,085 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5deabbce and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05, skipping insertion in model container [2022-11-23 02:45:05,085 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:05,093 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2022-11-23 02:45:05,157 INFO L178 MainTranslator]: Built tables and reachable declarations [2022-11-23 02:45:05,749 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-23 02:45:05,765 INFO L203 MainTranslator]: Completed pre-run [2022-11-23 02:45:05,830 INFO L210 PostProcessor]: Analyzing one entry point: main [2022-11-23 02:45:05,914 INFO L208 MainTranslator]: Completed translation [2022-11-23 02:45:05,915 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05 WrapperNode [2022-11-23 02:45:05,917 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2022-11-23 02:45:05,918 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2022-11-23 02:45:05,919 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2022-11-23 02:45:05,919 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2022-11-23 02:45:05,927 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:05,956 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:05,990 INFO L138 Inliner]: procedures = 266, calls = 16, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 52 [2022-11-23 02:45:05,991 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2022-11-23 02:45:05,991 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2022-11-23 02:45:05,992 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2022-11-23 02:45:05,992 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2022-11-23 02:45:06,001 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,002 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,018 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,020 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,023 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,036 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,037 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,039 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,041 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2022-11-23 02:45:06,042 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2022-11-23 02:45:06,045 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2022-11-23 02:45:06,045 INFO L275 PluginConnector]: RCFGBuilder initialized [2022-11-23 02:45:06,046 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (1/1) ... [2022-11-23 02:45:06,053 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2022-11-23 02:45:06,066 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/z3 [2022-11-23 02:45:06,084 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2022-11-23 02:45:06,096 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2022-11-23 02:45:06,135 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2022-11-23 02:45:06,135 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2022-11-23 02:45:06,135 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2022-11-23 02:45:06,135 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2022-11-23 02:45:06,136 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2022-11-23 02:45:06,136 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2022-11-23 02:45:06,136 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2022-11-23 02:45:06,136 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2022-11-23 02:45:06,137 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2022-11-23 02:45:06,137 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2022-11-23 02:45:06,143 WARN L209 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2022-11-23 02:45:06,326 INFO L235 CfgBuilder]: Building ICFG [2022-11-23 02:45:06,328 INFO L261 CfgBuilder]: Building CFG for each procedure with an implementation [2022-11-23 02:45:06,532 INFO L276 CfgBuilder]: Performing block encoding [2022-11-23 02:45:06,539 INFO L295 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2022-11-23 02:45:06,539 INFO L300 CfgBuilder]: Removed 0 assume(true) statements. [2022-11-23 02:45:06,541 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:45:06 BoogieIcfgContainer [2022-11-23 02:45:06,541 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2022-11-23 02:45:06,544 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2022-11-23 02:45:06,544 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2022-11-23 02:45:06,547 INFO L275 PluginConnector]: TraceAbstraction initialized [2022-11-23 02:45:06,548 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 02:45:05" (1/3) ... [2022-11-23 02:45:06,548 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2342251 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:45:06, skipping insertion in model container [2022-11-23 02:45:06,548 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 02:45:05" (2/3) ... [2022-11-23 02:45:06,549 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2342251 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 02:45:06, skipping insertion in model container [2022-11-23 02:45:06,549 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:45:06" (3/3) ... [2022-11-23 02:45:06,550 INFO L112 eAbstractionObserver]: Analyzing ICFG 04-mutex_17-ps_add1_nr.i [2022-11-23 02:45:06,570 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2022-11-23 02:45:06,571 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 3 error locations. [2022-11-23 02:45:06,571 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2022-11-23 02:45:06,626 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2022-11-23 02:45:06,670 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 74 places, 74 transitions, 153 flow [2022-11-23 02:45:06,707 INFO L130 PetriNetUnfolder]: 4/73 cut-off events. [2022-11-23 02:45:06,707 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-23 02:45:06,711 INFO L83 FinitePrefix]: Finished finitePrefix Result has 77 conditions, 73 events. 4/73 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 84 event pairs, 0 based on Foata normal form. 0/66 useless extension candidates. Maximal degree in co-relation 46. Up to 2 conditions per place. [2022-11-23 02:45:06,711 INFO L82 GeneralOperation]: Start removeDead. Operand has 74 places, 74 transitions, 153 flow [2022-11-23 02:45:06,715 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 68 places, 68 transitions, 139 flow [2022-11-23 02:45:06,719 INFO L115 etLargeBlockEncoding]: Petri net LBE is using semantic-based independence relation. [2022-11-23 02:45:06,736 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 68 places, 68 transitions, 139 flow [2022-11-23 02:45:06,753 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 68 places, 68 transitions, 139 flow [2022-11-23 02:45:06,753 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 68 places, 68 transitions, 139 flow [2022-11-23 02:45:06,776 INFO L130 PetriNetUnfolder]: 4/68 cut-off events. [2022-11-23 02:45:06,777 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-23 02:45:06,777 INFO L83 FinitePrefix]: Finished finitePrefix Result has 72 conditions, 68 events. 4/68 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 63 event pairs, 0 based on Foata normal form. 0/62 useless extension candidates. Maximal degree in co-relation 41. Up to 2 conditions per place. [2022-11-23 02:45:06,778 INFO L119 LiptonReduction]: Number of co-enabled transitions 576 [2022-11-23 02:45:09,663 INFO L134 LiptonReduction]: Checked pairs total: 946 [2022-11-23 02:45:09,663 INFO L136 LiptonReduction]: Total number of compositions: 78 [2022-11-23 02:45:09,680 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2022-11-23 02:45:09,687 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;@5865582c, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2022-11-23 02:45:09,688 INFO L358 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2022-11-23 02:45:09,689 INFO L130 PetriNetUnfolder]: 0/0 cut-off events. [2022-11-23 02:45:09,689 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-23 02:45:09,690 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-23 02:45:09,690 INFO L209 CegarLoopForPetriNet]: trace histogram [1] [2022-11-23 02:45:09,691 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 1 more)] === [2022-11-23 02:45:09,696 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-23 02:45:09,696 INFO L85 PathProgramCache]: Analyzing trace with hash 278, now seen corresponding path program 1 times [2022-11-23 02:45:09,706 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-23 02:45:09,707 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1238686812] [2022-11-23 02:45:09,707 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-23 02:45:09,707 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-23 02:45:09,794 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-23 02:45:09,817 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-23 02:45:09,818 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-23 02:45:09,818 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1238686812] [2022-11-23 02:45:09,819 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1238686812] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-23 02:45:09,819 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-23 02:45:09,819 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [0] imperfect sequences [] total 0 [2022-11-23 02:45:09,821 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1118762448] [2022-11-23 02:45:09,822 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-23 02:45:09,831 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2022-11-23 02:45:09,831 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-23 02:45:09,853 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2022-11-23 02:45:09,855 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2022-11-23 02:45:09,857 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 73 out of 152 [2022-11-23 02:45:09,859 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 16 places, 13 transitions, 29 flow. Second operand has 2 states, 2 states have (on average 73.5) internal successors, (147), 2 states have internal predecessors, (147), 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) [2022-11-23 02:45:09,859 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-23 02:45:09,859 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 73 of 152 [2022-11-23 02:45:09,861 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-11-23 02:45:09,901 INFO L130 PetriNetUnfolder]: 21/47 cut-off events. [2022-11-23 02:45:09,901 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-23 02:45:09,901 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99 conditions, 47 events. 21/47 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 95 event pairs, 16 based on Foata normal form. 0/42 useless extension candidates. Maximal degree in co-relation 90. Up to 48 conditions per place. [2022-11-23 02:45:09,903 INFO L137 encePairwiseOnDemand]: 150/152 looper letters, 11 selfloop transitions, 0 changer transitions 0/11 dead transitions. [2022-11-23 02:45:09,903 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 15 places, 11 transitions, 47 flow [2022-11-23 02:45:09,904 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2022-11-23 02:45:09,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2022-11-23 02:45:09,917 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 159 transitions. [2022-11-23 02:45:09,920 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.5230263157894737 [2022-11-23 02:45:09,921 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 159 transitions. [2022-11-23 02:45:09,921 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 159 transitions. [2022-11-23 02:45:09,924 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-11-23 02:45:09,927 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 159 transitions. [2022-11-23 02:45:09,930 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 79.5) internal successors, (159), 2 states have internal predecessors, (159), 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) [2022-11-23 02:45:09,938 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 152.0) internal successors, (456), 3 states have internal predecessors, (456), 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) [2022-11-23 02:45:09,939 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 152.0) internal successors, (456), 3 states have internal predecessors, (456), 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) [2022-11-23 02:45:09,941 INFO L175 Difference]: Start difference. First operand has 16 places, 13 transitions, 29 flow. Second operand 2 states and 159 transitions. [2022-11-23 02:45:09,942 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 15 places, 11 transitions, 47 flow [2022-11-23 02:45:09,944 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 14 places, 11 transitions, 46 flow, removed 0 selfloop flow, removed 1 redundant places. [2022-11-23 02:45:09,945 INFO L231 Difference]: Finished difference. Result has 14 places, 11 transitions, 24 flow [2022-11-23 02:45:09,948 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=152, PETRI_DIFFERENCE_MINUEND_FLOW=24, PETRI_DIFFERENCE_MINUEND_PLACES=13, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=11, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=11, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=24, PETRI_PLACES=14, PETRI_TRANSITIONS=11} [2022-11-23 02:45:09,954 INFO L288 CegarLoopForPetriNet]: 16 programPoint places, -2 predicate places. [2022-11-23 02:45:09,955 INFO L495 AbstractCegarLoop]: Abstraction has has 14 places, 11 transitions, 24 flow [2022-11-23 02:45:09,956 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 73.5) internal successors, (147), 2 states have internal predecessors, (147), 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) [2022-11-23 02:45:09,956 INFO L201 CegarLoopForPetriNet]: Found error trace [2022-11-23 02:45:09,956 INFO L209 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2022-11-23 02:45:09,956 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2022-11-23 02:45:09,957 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 1 more)] === [2022-11-23 02:45:09,959 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2022-11-23 02:45:09,959 INFO L85 PathProgramCache]: Analyzing trace with hash 271811, now seen corresponding path program 1 times [2022-11-23 02:45:09,960 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2022-11-23 02:45:09,960 INFO L333 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1832430777] [2022-11-23 02:45:09,960 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2022-11-23 02:45:09,961 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2022-11-23 02:45:10,037 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2022-11-23 02:45:10,247 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2022-11-23 02:45:10,247 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2022-11-23 02:45:10,248 INFO L333 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1832430777] [2022-11-23 02:45:10,248 INFO L157 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1832430777] provided 1 perfect and 0 imperfect interpolant sequences [2022-11-23 02:45:10,248 INFO L184 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2022-11-23 02:45:10,248 INFO L197 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2022-11-23 02:45:10,249 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1074372060] [2022-11-23 02:45:10,249 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2022-11-23 02:45:10,250 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2022-11-23 02:45:10,250 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2022-11-23 02:45:10,251 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2022-11-23 02:45:10,251 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2022-11-23 02:45:10,290 INFO L478 CegarLoopForPetriNet]: Number of universal loopers: 68 out of 152 [2022-11-23 02:45:10,291 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 14 places, 11 transitions, 24 flow. Second operand has 3 states, 3 states have (on average 69.0) internal successors, (207), 3 states have internal predecessors, (207), 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) [2022-11-23 02:45:10,291 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2022-11-23 02:45:10,292 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 68 of 152 [2022-11-23 02:45:10,292 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2022-11-23 02:45:10,326 INFO L130 PetriNetUnfolder]: 12/33 cut-off events. [2022-11-23 02:45:10,334 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2022-11-23 02:45:10,334 INFO L83 FinitePrefix]: Finished finitePrefix Result has 71 conditions, 33 events. 12/33 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 5. Compared 57 event pairs, 12 based on Foata normal form. 5/38 useless extension candidates. Maximal degree in co-relation 68. Up to 33 conditions per place. [2022-11-23 02:45:10,335 INFO L137 encePairwiseOnDemand]: 149/152 looper letters, 0 selfloop transitions, 0 changer transitions 9/9 dead transitions. [2022-11-23 02:45:10,335 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 15 places, 9 transitions, 38 flow [2022-11-23 02:45:10,337 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2022-11-23 02:45:10,338 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2022-11-23 02:45:10,339 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 215 transitions. [2022-11-23 02:45:10,339 INFO L523 CegarLoopForPetriNet]: DFA transition density 0.47149122807017546 [2022-11-23 02:45:10,340 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 215 transitions. [2022-11-23 02:45:10,342 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 215 transitions. [2022-11-23 02:45:10,343 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2022-11-23 02:45:10,343 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 215 transitions. [2022-11-23 02:45:10,344 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 71.66666666666667) internal successors, (215), 3 states have internal predecessors, (215), 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) [2022-11-23 02:45:10,350 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 152.0) internal successors, (608), 4 states have internal predecessors, (608), 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) [2022-11-23 02:45:10,350 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 152.0) internal successors, (608), 4 states have internal predecessors, (608), 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) [2022-11-23 02:45:10,351 INFO L175 Difference]: Start difference. First operand has 14 places, 11 transitions, 24 flow. Second operand 3 states and 215 transitions. [2022-11-23 02:45:10,351 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 15 places, 9 transitions, 38 flow [2022-11-23 02:45:10,351 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 15 places, 9 transitions, 38 flow, removed 0 selfloop flow, removed 0 redundant places. [2022-11-23 02:45:10,351 INFO L231 Difference]: Finished difference. Result has 15 places, 0 transitions, 0 flow [2022-11-23 02:45:10,353 INFO L271 CegarLoopForPetriNet]: {PETRI_ALPHABET=152, PETRI_DIFFERENCE_MINUEND_FLOW=20, PETRI_DIFFERENCE_MINUEND_PLACES=13, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=9, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=9, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=0, PETRI_PLACES=15, PETRI_TRANSITIONS=0} [2022-11-23 02:45:10,354 INFO L288 CegarLoopForPetriNet]: 16 programPoint places, -1 predicate places. [2022-11-23 02:45:10,355 INFO L495 AbstractCegarLoop]: Abstraction has has 15 places, 0 transitions, 0 flow [2022-11-23 02:45:10,355 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 69.0) internal successors, (207), 3 states have internal predecessors, (207), 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) [2022-11-23 02:45:10,358 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 4 remaining) [2022-11-23 02:45:10,359 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 4 remaining) [2022-11-23 02:45:10,359 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (1 of 4 remaining) [2022-11-23 02:45:10,360 INFO L805 garLoopResultBuilder]: Registering result SAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2022-11-23 02:45:10,361 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2022-11-23 02:45:10,361 INFO L444 BasicCegarLoop]: Path program histogram: [1, 1] [2022-11-23 02:45:10,371 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2022-11-23 02:45:10,372 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2022-11-23 02:45:10,375 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 02:45:10 BasicIcfg [2022-11-23 02:45:10,376 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2022-11-23 02:45:10,377 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2022-11-23 02:45:10,377 INFO L271 PluginConnector]: Initializing Witness Printer... [2022-11-23 02:45:10,378 INFO L275 PluginConnector]: Witness Printer initialized [2022-11-23 02:45:10,378 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 02:45:06" (3/4) ... [2022-11-23 02:45:10,382 INFO L137 WitnessPrinter]: Generating witness for correct program [2022-11-23 02:45:10,389 INFO L361 RCFGBacktranslator]: Ignoring RootEdge to procedure t_fun [2022-11-23 02:45:10,393 INFO L915 BoogieBacktranslator]: Reduced CFG by removing 13 nodes and edges [2022-11-23 02:45:10,394 INFO L915 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2022-11-23 02:45:10,394 INFO L915 BoogieBacktranslator]: Reduced CFG by removing 3 nodes and edges [2022-11-23 02:45:10,439 INFO L141 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/witness.graphml [2022-11-23 02:45:10,439 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2022-11-23 02:45:10,440 INFO L158 Benchmark]: Toolchain (without parser) took 5366.40ms. Allocated memory is still 172.0MB. Free memory was 138.1MB in the beginning and 79.2MB in the end (delta: 58.9MB). Peak memory consumption was 59.9MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,440 INFO L158 Benchmark]: CDTParser took 0.30ms. Allocated memory is still 123.7MB. Free memory is still 66.1MB. There was no memory consumed. Max. memory is 16.1GB. [2022-11-23 02:45:10,441 INFO L158 Benchmark]: CACSL2BoogieTranslator took 838.57ms. Allocated memory is still 172.0MB. Free memory was 138.1MB in the beginning and 110.5MB in the end (delta: 27.6MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,441 INFO L158 Benchmark]: Boogie Procedure Inliner took 72.53ms. Allocated memory is still 172.0MB. Free memory was 110.5MB in the beginning and 108.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,442 INFO L158 Benchmark]: Boogie Preprocessor took 49.52ms. Allocated memory is still 172.0MB. Free memory was 108.4MB in the beginning and 107.2MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,442 INFO L158 Benchmark]: RCFGBuilder took 499.96ms. Allocated memory is still 172.0MB. Free memory was 107.2MB in the beginning and 94.2MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,442 INFO L158 Benchmark]: TraceAbstraction took 3832.76ms. Allocated memory is still 172.0MB. Free memory was 93.8MB in the beginning and 82.3MB in the end (delta: 11.4MB). Peak memory consumption was 13.8MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,443 INFO L158 Benchmark]: Witness Printer took 62.25ms. Allocated memory is still 172.0MB. Free memory was 82.3MB in the beginning and 79.2MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2022-11-23 02:45:10,445 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.30ms. Allocated memory is still 123.7MB. Free memory is still 66.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 838.57ms. Allocated memory is still 172.0MB. Free memory was 138.1MB in the beginning and 110.5MB in the end (delta: 27.6MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 72.53ms. Allocated memory is still 172.0MB. Free memory was 110.5MB in the beginning and 108.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.52ms. Allocated memory is still 172.0MB. Free memory was 108.4MB in the beginning and 107.2MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 499.96ms. Allocated memory is still 172.0MB. Free memory was 107.2MB in the beginning and 94.2MB in the end (delta: 13.0MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * TraceAbstraction took 3832.76ms. Allocated memory is still 172.0MB. Free memory was 93.8MB in the beginning and 82.3MB in the end (delta: 11.4MB). Peak memory consumption was 13.8MB. Max. memory is 16.1GB. * Witness Printer took 62.25ms. Allocated memory is still 172.0MB. Free memory was 82.3MB in the beginning and 79.2MB in the end (delta: 3.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 2.9s, 68 PlacesBefore, 16 PlacesAfterwards, 68 TransitionsBefore, 13 TransitionsAfterwards, 576 CoEnabledTransitionPairs, 6 FixpointIterations, 31 TrivialSequentialCompositions, 27 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 17 ConcurrentYvCompositions, 3 ChoiceCompositions, 78 TotalNumberOfCompositions, 946 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 667, independent: 604, independent conditional: 0, independent unconditional: 604, dependent: 63, dependent conditional: 0, dependent unconditional: 63, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 450, independent: 429, independent conditional: 0, independent unconditional: 429, dependent: 21, dependent conditional: 0, dependent unconditional: 21, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 450, independent: 422, independent conditional: 0, independent unconditional: 422, dependent: 28, dependent conditional: 0, dependent unconditional: 28, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Independence Queries: [ total: 28, independent: 7, independent conditional: 0, independent unconditional: 7, dependent: 21, dependent conditional: 0, dependent unconditional: 21, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 99, independent: 27, independent conditional: 0, independent unconditional: 27, dependent: 72, dependent conditional: 0, dependent unconditional: 72, unknown: 0, unknown conditional: 0, unknown unconditional: 0] ], Cache Queries: [ total: 667, independent: 175, independent conditional: 0, independent unconditional: 175, dependent: 42, dependent conditional: 0, dependent unconditional: 42, unknown: 450, unknown conditional: 0, unknown unconditional: 450] , Statistics on independence cache: Total cache size (in pairs): 25, Positive cache size: 19, Positive conditional cache size: 0, Positive unconditional cache size: 19, Negative cache size: 6, Negative conditional cache size: 0, Negative unconditional cache size: 6, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 936]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 3 procedures, 82 locations, 4 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.7s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 3.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 40 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 15 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 3 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 50 IncrementalHoareTripleChecker+Invalid, 53 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 3 mSolverCounterUnsat, 0 mSDtfsCounter, 50 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=29occurred in iteration=0, InterpolantAutomatonStates: 5, 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.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 4 NumberOfCodeBlocks, 4 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 2 ConstructedInterpolants, 0 QuantifiedInterpolants, 12 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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 - AllSpecificationsHoldResult: All specifications hold 3 specifications checked. All of them hold RESULT: Ultimate proved your program to be correct! [2022-11-23 02:45:10,466 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_6d281762-9b43-4272-b090-95d196967276/bin/uautomizer-QkZJyEgLgS/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE