./Ultimate.py --spec ../../sv-benchmarks/c/properties/termination.prp --file ../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for termination Using default analysis Version e943c265 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/config/AutomizerTermination.xml -i ../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(F end) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 869ef2ac3e655b6efbdfa5c05d637a0f622008da83d6042d15962fe695aee939 ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................ Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.2.1-dev-e943c26 [2021-10-21 20:30:34,344 INFO L177 SettingsManager]: Resetting all preferences to default values... [2021-10-21 20:30:34,347 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2021-10-21 20:30:34,390 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2021-10-21 20:30:34,391 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2021-10-21 20:30:34,397 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2021-10-21 20:30:34,401 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2021-10-21 20:30:34,406 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2021-10-21 20:30:34,410 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2021-10-21 20:30:34,417 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2021-10-21 20:30:34,419 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2021-10-21 20:30:34,421 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2021-10-21 20:30:34,422 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2021-10-21 20:30:34,426 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2021-10-21 20:30:34,429 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2021-10-21 20:30:34,432 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2021-10-21 20:30:34,434 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2021-10-21 20:30:34,436 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2021-10-21 20:30:34,441 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2021-10-21 20:30:34,452 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2021-10-21 20:30:34,454 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2021-10-21 20:30:34,456 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2021-10-21 20:30:34,460 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2021-10-21 20:30:34,462 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2021-10-21 20:30:34,473 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2021-10-21 20:30:34,474 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2021-10-21 20:30:34,475 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2021-10-21 20:30:34,477 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2021-10-21 20:30:34,478 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2021-10-21 20:30:34,480 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2021-10-21 20:30:34,481 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2021-10-21 20:30:34,483 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2021-10-21 20:30:34,485 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2021-10-21 20:30:34,487 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2021-10-21 20:30:34,489 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2021-10-21 20:30:34,489 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2021-10-21 20:30:34,490 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2021-10-21 20:30:34,491 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2021-10-21 20:30:34,491 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2021-10-21 20:30:34,493 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2021-10-21 20:30:34,493 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2021-10-21 20:30:34,495 INFO L101 SettingsManager]: Beginning loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/config/svcomp-Termination-32bit-Automizer_Default.epf [2021-10-21 20:30:34,549 INFO L113 SettingsManager]: Loading preferences was successful [2021-10-21 20:30:34,550 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2021-10-21 20:30:34,551 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2021-10-21 20:30:34,551 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2021-10-21 20:30:34,553 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2021-10-21 20:30:34,553 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2021-10-21 20:30:34,554 INFO L138 SettingsManager]: * Use SBE=true [2021-10-21 20:30:34,554 INFO L136 SettingsManager]: Preferences of BuchiAutomizer differ from their defaults: [2021-10-21 20:30:34,554 INFO L138 SettingsManager]: * NCSB implementation=INTSET_LAZY3 [2021-10-21 20:30:34,554 INFO L138 SettingsManager]: * Use old map elimination=false [2021-10-21 20:30:34,556 INFO L138 SettingsManager]: * Use external solver (rank synthesis)=false [2021-10-21 20:30:34,556 INFO L138 SettingsManager]: * Use only trivial implications for array writes=true [2021-10-21 20:30:34,556 INFO L138 SettingsManager]: * Rank analysis=LINEAR_WITH_GUESSES [2021-10-21 20:30:34,557 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2021-10-21 20:30:34,557 INFO L138 SettingsManager]: * sizeof long=4 [2021-10-21 20:30:34,557 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2021-10-21 20:30:34,558 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2021-10-21 20:30:34,558 INFO L138 SettingsManager]: * sizeof POINTER=4 [2021-10-21 20:30:34,558 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2021-10-21 20:30:34,558 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=ASSUME [2021-10-21 20:30:34,559 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=ASSUME [2021-10-21 20:30:34,559 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=ASSUME [2021-10-21 20:30:34,559 INFO L138 SettingsManager]: * sizeof long double=12 [2021-10-21 20:30:34,560 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2021-10-21 20:30:34,560 INFO L138 SettingsManager]: * Assume nondeterminstic values are in range=false [2021-10-21 20:30:34,560 INFO L138 SettingsManager]: * Use constant arrays=true [2021-10-21 20:30:34,562 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=ASSUME [2021-10-21 20:30:34,563 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2021-10-21 20:30:34,563 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2021-10-21 20:30:34,563 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2021-10-21 20:30:34,564 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2021-10-21 20:30:34,564 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2021-10-21 20:30:34,566 INFO L136 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2021-10-21 20:30:34,566 INFO L138 SettingsManager]: * TransformationType=MODULO_NEIGHBOR 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_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/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_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be 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(F end) ) 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 -> 869ef2ac3e655b6efbdfa5c05d637a0f622008da83d6042d15962fe695aee939 [2021-10-21 20:30:34,959 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2021-10-21 20:30:34,983 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2021-10-21 20:30:34,986 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2021-10-21 20:30:34,988 INFO L271 PluginConnector]: Initializing CDTParser... [2021-10-21 20:30:34,989 INFO L275 PluginConnector]: CDTParser initialized [2021-10-21 20:30:34,990 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/../../sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-10-21 20:30:35,074 INFO L220 CDTParser]: Created temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/data/08ddcca69/ee07566175914ae0b98fac959237b84b/FLAGe59caf39d [2021-10-21 20:30:35,773 INFO L306 CDTParser]: Found 1 translation units. [2021-10-21 20:30:35,774 INFO L160 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i [2021-10-21 20:30:35,806 INFO L349 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/data/08ddcca69/ee07566175914ae0b98fac959237b84b/FLAGe59caf39d [2021-10-21 20:30:35,960 INFO L357 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/data/08ddcca69/ee07566175914ae0b98fac959237b84b [2021-10-21 20:30:35,965 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2021-10-21 20:30:35,969 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2021-10-21 20:30:35,974 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2021-10-21 20:30:35,974 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2021-10-21 20:30:35,978 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2021-10-21 20:30:35,980 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 08:30:35" (1/1) ... [2021-10-21 20:30:35,983 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@260f0599 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:35, skipping insertion in model container [2021-10-21 20:30:35,983 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.10 08:30:35" (1/1) ... [2021-10-21 20:30:35,993 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2021-10-21 20:30:36,076 INFO L178 MainTranslator]: Built tables and reachable declarations [2021-10-21 20:30:36,567 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-10-21 20:30:36,573 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-10-21 20:30:36,577 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-10-21 20:30:36,583 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 20:30:36,602 INFO L203 MainTranslator]: Completed pre-run [2021-10-21 20:30:36,706 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25842,25855] [2021-10-21 20:30:36,707 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[25967,25980] [2021-10-21 20:30:36,708 WARN L228 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/sv-benchmarks/c/ldv-sets/test_mutex_double_lock.i[26082,26095] [2021-10-21 20:30:36,710 INFO L206 PostProcessor]: Analyzing one entry point: main [2021-10-21 20:30:36,751 INFO L208 MainTranslator]: Completed translation [2021-10-21 20:30:36,752 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36 WrapperNode [2021-10-21 20:30:36,752 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2021-10-21 20:30:36,754 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2021-10-21 20:30:36,754 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2021-10-21 20:30:36,754 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2021-10-21 20:30:36,764 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,794 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,847 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2021-10-21 20:30:36,848 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2021-10-21 20:30:36,848 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2021-10-21 20:30:36,848 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2021-10-21 20:30:36,859 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,859 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,867 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,868 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,893 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,900 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,905 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,912 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2021-10-21 20:30:36,914 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2021-10-21 20:30:36,914 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2021-10-21 20:30:36,914 INFO L275 PluginConnector]: RCFGBuilder initialized [2021-10-21 20:30:36,915 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (1/1) ... [2021-10-21 20:30:36,937 INFO L170 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 [2021-10-21 20:30:36,952 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/z3 [2021-10-21 20:30:36,976 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (exit command is (exit), workingDir is null) [2021-10-21 20:30:37,014 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Waiting until timeout for monitored process [2021-10-21 20:30:37,051 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2021-10-21 20:30:37,051 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2021-10-21 20:30:37,051 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2021-10-21 20:30:37,051 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2021-10-21 20:30:37,051 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2021-10-21 20:30:37,052 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2021-10-21 20:30:37,052 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2021-10-21 20:30:37,052 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2021-10-21 20:30:37,052 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2021-10-21 20:30:38,106 INFO L294 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2021-10-21 20:30:38,107 INFO L299 CfgBuilder]: Removed 82 assume(true) statements. [2021-10-21 20:30:38,109 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:30:38 BoogieIcfgContainer [2021-10-21 20:30:38,110 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2021-10-21 20:30:38,114 INFO L113 PluginConnector]: ------------------------BuchiAutomizer---------------------------- [2021-10-21 20:30:38,114 INFO L271 PluginConnector]: Initializing BuchiAutomizer... [2021-10-21 20:30:38,118 INFO L275 PluginConnector]: BuchiAutomizer initialized [2021-10-21 20:30:38,119 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:30:38,119 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "CDTParser AST 21.10 08:30:35" (1/3) ... [2021-10-21 20:30:38,121 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4291a4f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 08:30:38, skipping insertion in model container [2021-10-21 20:30:38,121 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:30:38,122 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.10 08:30:36" (2/3) ... [2021-10-21 20:30:38,122 INFO L205 PluginConnector]: Invalid model from BuchiAutomizer for observer de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer.BuchiAutomizerObserver@4291a4f8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer AST 21.10 08:30:38, skipping insertion in model container [2021-10-21 20:30:38,123 INFO L99 BuchiAutomizer]: Safety of program was proven or not checked, starting termination analysis [2021-10-21 20:30:38,123 INFO L185 PluginConnector]: Executing the observer BuchiAutomizerObserver from plugin BuchiAutomizer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:30:38" (3/3) ... [2021-10-21 20:30:38,126 INFO L389 chiAutomizerObserver]: Analyzing ICFG test_mutex_double_lock.i [2021-10-21 20:30:38,193 INFO L359 BuchiCegarLoop]: Interprodecural is true [2021-10-21 20:30:38,194 INFO L360 BuchiCegarLoop]: Hoare is false [2021-10-21 20:30:38,194 INFO L361 BuchiCegarLoop]: Compute interpolants for ForwardPredicates [2021-10-21 20:30:38,194 INFO L362 BuchiCegarLoop]: Backedges is STRAIGHT_LINE [2021-10-21 20:30:38,194 INFO L363 BuchiCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2021-10-21 20:30:38,194 INFO L364 BuchiCegarLoop]: Difference is false [2021-10-21 20:30:38,195 INFO L365 BuchiCegarLoop]: Minimize is MINIMIZE_SEVPA [2021-10-21 20:30:38,195 INFO L368 BuchiCegarLoop]: ======== Iteration 0==of CEGAR loop == BuchiCegarLoop======== [2021-10-21 20:30:38,215 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 78 states, 77 states have (on average 1.4545454545454546) internal successors, (112), 77 states have internal predecessors, (112), 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) [2021-10-21 20:30:38,242 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 28 [2021-10-21 20:30:38,242 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:38,243 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:38,251 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:38,251 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:38,251 INFO L425 BuchiCegarLoop]: ======== Iteration 1============ [2021-10-21 20:30:38,252 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand has 78 states, 77 states have (on average 1.4545454545454546) internal successors, (112), 77 states have internal predecessors, (112), 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) [2021-10-21 20:30:38,260 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 28 [2021-10-21 20:30:38,260 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:38,260 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:38,261 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:38,261 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:38,269 INFO L791 eck$LassoCheckResult]: Stem: 65#ULTIMATE.startENTRYtrue #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string2.base, #t~string2.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string2.base, #t~string2.offset, 1);call write~init~int(0, #t~string2.base, 1 + #t~string2.offset, 1);call #t~string3.base, #t~string3.offset := #Ultimate.allocOnStack(12);call ~#mutexes~0.base, ~#mutexes~0.offset := #Ultimate.allocOnStack(8);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~0.offset, 4); 50#L-1true havoc main_#res;havoc foo_#t~ret32.base, foo_#t~ret32.offset, foo_#t~ret33.base, foo_#t~ret33.offset, foo_~m1~0.base, foo_~m1~0.offset, foo_~m2~0.base, foo_~m2~0.offset; 12#L666true ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 22#L565true assume !(0 == assume_abort_if_not_~cond); 15#L564true ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 58#L578true foo_#t~ret32.base, foo_#t~ret32.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m1~0.base, foo_~m1~0.offset := foo_#t~ret32.base, foo_#t~ret32.offset;havoc foo_#t~ret32.base, foo_#t~ret32.offset;ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 76#L565-2true assume !(0 == assume_abort_if_not_~cond); 4#L564-1true ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 60#L578-1true foo_#t~ret33.base, foo_#t~ret33.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m2~0.base, foo_~m2~0.offset := foo_#t~ret33.base, foo_#t~ret33.offset;havoc foo_#t~ret33.base, foo_#t~ret33.offset;mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 62#L655-3true [2021-10-21 20:30:38,270 INFO L793 eck$LassoCheckResult]: Loop: 62#L655-3true assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 37#L656true assume !(ldv_is_in_set_#t~mem27.base == ldv_is_in_set_~e.base && ldv_is_in_set_#t~mem27.offset == ldv_is_in_set_~e.offset);havoc ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset; 45#L655-2true call ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, 4 + ldv_is_in_set_~m~1.offset, 4);ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset := ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;havoc ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset - 4; 62#L655-3true [2021-10-21 20:30:38,277 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:38,277 INFO L82 PathProgramCache]: Analyzing trace with hash -1482586390, now seen corresponding path program 1 times [2021-10-21 20:30:38,288 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:38,288 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1589836527] [2021-10-21 20:30:38,289 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:38,290 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:38,446 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:38,447 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:38,490 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:38,520 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:38,526 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:38,526 INFO L82 PathProgramCache]: Analyzing trace with hash 59743, now seen corresponding path program 1 times [2021-10-21 20:30:38,526 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:38,527 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2126720108] [2021-10-21 20:30:38,527 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:38,527 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:38,554 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:38,554 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:38,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:38,580 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:38,582 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:38,582 INFO L82 PathProgramCache]: Analyzing trace with hash 1712557526, now seen corresponding path program 1 times [2021-10-21 20:30:38,582 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:38,583 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [576655444] [2021-10-21 20:30:38,583 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:38,583 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:38,657 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:30:38,781 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 20:30:38,782 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:30:38,782 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [576655444] [2021-10-21 20:30:38,783 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [576655444] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:30:38,783 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:30:38,783 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2021-10-21 20:30:38,784 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [907484244] [2021-10-21 20:30:39,017 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:30:39,035 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-21 20:30:39,038 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-21 20:30:39,041 INFO L87 Difference]: Start difference. First operand has 78 states, 77 states have (on average 1.4545454545454546) internal successors, (112), 77 states have internal predecessors, (112), 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) Second operand has 4 states, 4 states have (on average 3.0) internal successors, (12), 3 states have internal predecessors, (12), 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) [2021-10-21 20:30:39,432 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:30:39,433 INFO L93 Difference]: Finished difference Result 134 states and 154 transitions. [2021-10-21 20:30:39,433 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2021-10-21 20:30:39,436 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 134 states and 154 transitions. [2021-10-21 20:30:39,450 INFO L131 ngComponentsAnalysis]: Automaton has 10 accepting balls. 38 [2021-10-21 20:30:39,461 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 134 states to 110 states and 130 transitions. [2021-10-21 20:30:39,463 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 110 [2021-10-21 20:30:39,464 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 110 [2021-10-21 20:30:39,465 INFO L73 IsDeterministic]: Start isDeterministic. Operand 110 states and 130 transitions. [2021-10-21 20:30:39,466 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:30:39,466 INFO L681 BuchiCegarLoop]: Abstraction has 110 states and 130 transitions. [2021-10-21 20:30:39,486 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 110 states and 130 transitions. [2021-10-21 20:30:39,506 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 110 to 87. [2021-10-21 20:30:39,510 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 87 states, 87 states have (on average 1.1839080459770115) internal successors, (103), 86 states have internal predecessors, (103), 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) [2021-10-21 20:30:39,511 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 87 states to 87 states and 103 transitions. [2021-10-21 20:30:39,513 INFO L704 BuchiCegarLoop]: Abstraction has 87 states and 103 transitions. [2021-10-21 20:30:39,514 INFO L587 BuchiCegarLoop]: Abstraction has 87 states and 103 transitions. [2021-10-21 20:30:39,514 INFO L425 BuchiCegarLoop]: ======== Iteration 2============ [2021-10-21 20:30:39,514 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 87 states and 103 transitions. [2021-10-21 20:30:39,523 INFO L131 ngComponentsAnalysis]: Automaton has 7 accepting balls. 25 [2021-10-21 20:30:39,523 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:39,524 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:39,527 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:39,527 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:39,536 INFO L791 eck$LassoCheckResult]: Stem: 296#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string2.base, #t~string2.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string2.base, #t~string2.offset, 1);call write~init~int(0, #t~string2.base, 1 + #t~string2.offset, 1);call #t~string3.base, #t~string3.offset := #Ultimate.allocOnStack(12);call ~#mutexes~0.base, ~#mutexes~0.offset := #Ultimate.allocOnStack(8);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~0.offset, 4); 285#L-1 havoc main_#res;havoc foo_#t~ret32.base, foo_#t~ret32.offset, foo_#t~ret33.base, foo_#t~ret33.offset, foo_~m1~0.base, foo_~m1~0.offset, foo_~m2~0.base, foo_~m2~0.offset; 241#L666 ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 242#L565 assume !(0 == assume_abort_if_not_~cond); 245#L564 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 246#L578 foo_#t~ret32.base, foo_#t~ret32.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m1~0.base, foo_~m1~0.offset := foo_#t~ret32.base, foo_#t~ret32.offset;havoc foo_#t~ret32.base, foo_#t~ret32.offset;ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 293#L565-2 assume !(0 == assume_abort_if_not_~cond); 226#L564-1 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 227#L578-1 foo_#t~ret33.base, foo_#t~ret33.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m2~0.base, foo_~m2~0.offset := foo_#t~ret33.base, foo_#t~ret33.offset;havoc foo_#t~ret33.base, foo_#t~ret33.offset;mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 294#L655-3 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 281#L655-4 ldv_is_in_set_#res := 0; 267#L660 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 268#L669 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 289#L669-2 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 277#L655-8 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 264#L655-9 ldv_is_in_set_#res := 0; 265#L660-1 ldv_set_add_#t~ret19 := ldv_is_in_set_#res; 269#L636 assume 0 == ldv_set_add_#t~ret19;havoc ldv_set_add_#t~ret19;havoc ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset;ldv_successful_malloc_#in~size := 12;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 266#L565-4 assume !(0 == assume_abort_if_not_~cond); 247#L564-2 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 248#L578-2 ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset := ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;havoc ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;call write~$Pointer$(ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, 4);ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset, ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset := ldv_set_add_~le~0.base, 4 + ldv_set_add_~le~0.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset, ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset;ldv_list_add_~new.base, ldv_list_add_~new.offset := ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset;ldv_list_add_~head.base, ldv_list_add_~head.offset := ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset;call ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset := read~$Pointer$(ldv_list_add_~head.base, ldv_list_add_~head.offset, 4);__ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset, __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset, __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset := ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset, ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset;havoc __ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~next.base, __ldv_list_add_~next.offset;__ldv_list_add_~new.base, __ldv_list_add_~new.offset := __ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset;__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset := __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset;__ldv_list_add_~next.base, __ldv_list_add_~next.offset := __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset;call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~next.base, 4 + __ldv_list_add_~next.offset, 4);call write~$Pointer$(__ldv_list_add_~next.base, __ldv_list_add_~next.offset, __ldv_list_add_~new.base, __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~new.base, 4 + __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, 4); 251#L592 havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset; 252#L635 mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 231#L655-13 [2021-10-21 20:30:39,538 INFO L793 eck$LassoCheckResult]: Loop: 231#L655-13 assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 287#L656-2 assume !(ldv_is_in_set_#t~mem27.base == ldv_is_in_set_~e.base && ldv_is_in_set_#t~mem27.offset == ldv_is_in_set_~e.offset);havoc ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset; 230#L655-12 call ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, 4 + ldv_is_in_set_~m~1.offset, 4);ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset := ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;havoc ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset - 4; 231#L655-13 [2021-10-21 20:30:39,539 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:39,539 INFO L82 PathProgramCache]: Analyzing trace with hash -1499045103, now seen corresponding path program 1 times [2021-10-21 20:30:39,540 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:39,542 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2068037340] [2021-10-21 20:30:39,543 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:39,543 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:39,718 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:39,722 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:39,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:39,858 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:39,859 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:39,860 INFO L82 PathProgramCache]: Analyzing trace with hash 128260, now seen corresponding path program 1 times [2021-10-21 20:30:39,860 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:39,860 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2093318288] [2021-10-21 20:30:39,860 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:39,861 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:39,870 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:39,870 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:39,875 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:39,879 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:39,880 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:39,880 INFO L82 PathProgramCache]: Analyzing trace with hash 1017378804, now seen corresponding path program 1 times [2021-10-21 20:30:39,880 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:39,881 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [220306577] [2021-10-21 20:30:39,881 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:39,881 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:39,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:30:40,434 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 20:30:40,435 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:30:40,436 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [220306577] [2021-10-21 20:30:40,436 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [220306577] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:30:40,436 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:30:40,437 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [10] imperfect sequences [] total 10 [2021-10-21 20:30:40,437 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [874597898] [2021-10-21 20:30:40,620 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:30:40,627 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2021-10-21 20:30:40,627 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=25, Invalid=85, Unknown=0, NotChecked=0, Total=110 [2021-10-21 20:30:40,628 INFO L87 Difference]: Start difference. First operand 87 states and 103 transitions. cyclomatic complexity: 23 Second operand has 11 states, 11 states have (on average 2.3636363636363638) internal successors, (26), 10 states have internal predecessors, (26), 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) [2021-10-21 20:30:41,973 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:30:41,973 INFO L93 Difference]: Finished difference Result 118 states and 140 transitions. [2021-10-21 20:30:41,974 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2021-10-21 20:30:41,975 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 118 states and 140 transitions. [2021-10-21 20:30:41,977 INFO L131 ngComponentsAnalysis]: Automaton has 10 accepting balls. 34 [2021-10-21 20:30:41,980 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 118 states to 118 states and 140 transitions. [2021-10-21 20:30:41,980 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 118 [2021-10-21 20:30:41,980 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 118 [2021-10-21 20:30:41,981 INFO L73 IsDeterministic]: Start isDeterministic. Operand 118 states and 140 transitions. [2021-10-21 20:30:41,982 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:30:41,982 INFO L681 BuchiCegarLoop]: Abstraction has 118 states and 140 transitions. [2021-10-21 20:30:41,982 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 118 states and 140 transitions. [2021-10-21 20:30:41,989 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 118 to 104. [2021-10-21 20:30:41,990 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 104 states, 104 states have (on average 1.1923076923076923) internal successors, (124), 103 states have internal predecessors, (124), 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) [2021-10-21 20:30:41,992 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 104 states to 104 states and 124 transitions. [2021-10-21 20:30:41,992 INFO L704 BuchiCegarLoop]: Abstraction has 104 states and 124 transitions. [2021-10-21 20:30:41,992 INFO L587 BuchiCegarLoop]: Abstraction has 104 states and 124 transitions. [2021-10-21 20:30:41,992 INFO L425 BuchiCegarLoop]: ======== Iteration 3============ [2021-10-21 20:30:41,992 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 104 states and 124 transitions. [2021-10-21 20:30:41,994 INFO L131 ngComponentsAnalysis]: Automaton has 8 accepting balls. 28 [2021-10-21 20:30:41,994 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:41,995 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:41,996 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:41,996 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:41,997 INFO L791 eck$LassoCheckResult]: Stem: 526#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string2.base, #t~string2.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string2.base, #t~string2.offset, 1);call write~init~int(0, #t~string2.base, 1 + #t~string2.offset, 1);call #t~string3.base, #t~string3.offset := #Ultimate.allocOnStack(12);call ~#mutexes~0.base, ~#mutexes~0.offset := #Ultimate.allocOnStack(8);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~0.offset, 4); 514#L-1 havoc main_#res;havoc foo_#t~ret32.base, foo_#t~ret32.offset, foo_#t~ret33.base, foo_#t~ret33.offset, foo_~m1~0.base, foo_~m1~0.offset, foo_~m2~0.base, foo_~m2~0.offset; 470#L666 ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 471#L565 assume !(0 == assume_abort_if_not_~cond); 474#L564 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 475#L578 foo_#t~ret32.base, foo_#t~ret32.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m1~0.base, foo_~m1~0.offset := foo_#t~ret32.base, foo_#t~ret32.offset;havoc foo_#t~ret32.base, foo_#t~ret32.offset;ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 522#L565-2 assume !(0 == assume_abort_if_not_~cond); 457#L564-1 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 458#L578-1 foo_#t~ret33.base, foo_#t~ret33.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m2~0.base, foo_~m2~0.offset := foo_#t~ret33.base, foo_#t~ret33.offset;havoc foo_#t~ret33.base, foo_#t~ret33.offset;mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 523#L655-3 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 511#L655-4 ldv_is_in_set_#res := 0; 496#L660 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 497#L669 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 520#L669-2 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 506#L655-8 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 493#L655-9 ldv_is_in_set_#res := 0; 494#L660-1 ldv_set_add_#t~ret19 := ldv_is_in_set_#res; 498#L636 assume 0 == ldv_set_add_#t~ret19;havoc ldv_set_add_#t~ret19;havoc ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset;ldv_successful_malloc_#in~size := 12;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 495#L565-4 assume !(0 == assume_abort_if_not_~cond); 476#L564-2 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 477#L578-2 ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset := ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;havoc ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;call write~$Pointer$(ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, 4);ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset, ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset := ldv_set_add_~le~0.base, 4 + ldv_set_add_~le~0.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset, ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset;ldv_list_add_~new.base, ldv_list_add_~new.offset := ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset;ldv_list_add_~head.base, ldv_list_add_~head.offset := ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset;call ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset := read~$Pointer$(ldv_list_add_~head.base, ldv_list_add_~head.offset, 4);__ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset, __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset, __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset := ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset, ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset;havoc __ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~next.base, __ldv_list_add_~next.offset;__ldv_list_add_~new.base, __ldv_list_add_~new.offset := __ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset;__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset := __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset;__ldv_list_add_~next.base, __ldv_list_add_~next.offset := __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset;call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~next.base, 4 + __ldv_list_add_~next.offset, 4);call write~$Pointer$(__ldv_list_add_~next.base, __ldv_list_add_~next.offset, __ldv_list_add_~new.base, __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~new.base, 4 + __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, 4); 480#L592 havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset; 481#L635 mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 540#L655-13 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 539#L655-14 ldv_is_in_set_#res := 0; 519#L660-2 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 536#L669-3 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 534#L669-5 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 466#L655-18 [2021-10-21 20:30:41,997 INFO L793 eck$LassoCheckResult]: Loop: 466#L655-18 assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 527#L656-3 assume !(ldv_is_in_set_#t~mem27.base == ldv_is_in_set_~e.base && ldv_is_in_set_#t~mem27.offset == ldv_is_in_set_~e.offset);havoc ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset; 465#L655-17 call ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, 4 + ldv_is_in_set_~m~1.offset, 4);ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset := ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;havoc ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset - 4; 466#L655-18 [2021-10-21 20:30:41,998 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:41,998 INFO L82 PathProgramCache]: Analyzing trace with hash -1553171628, now seen corresponding path program 1 times [2021-10-21 20:30:41,998 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:41,999 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1153706992] [2021-10-21 20:30:41,999 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:41,999 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:42,029 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:30:42,155 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 20:30:42,156 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:30:42,156 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1153706992] [2021-10-21 20:30:42,157 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1153706992] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:30:42,157 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:30:42,157 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [9] imperfect sequences [] total 9 [2021-10-21 20:30:42,158 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [868247648] [2021-10-21 20:30:42,162 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 20:30:42,163 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:42,164 INFO L82 PathProgramCache]: Analyzing trace with hash 156064, now seen corresponding path program 1 times [2021-10-21 20:30:42,164 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:42,165 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [588181063] [2021-10-21 20:30:42,165 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:42,166 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:42,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:42,176 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:42,180 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:42,200 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:42,370 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:30:42,370 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2021-10-21 20:30:42,371 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=55, Unknown=0, NotChecked=0, Total=72 [2021-10-21 20:30:42,371 INFO L87 Difference]: Start difference. First operand 104 states and 124 transitions. cyclomatic complexity: 28 Second operand has 9 states, 9 states have (on average 3.111111111111111) internal successors, (28), 9 states have internal predecessors, (28), 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) [2021-10-21 20:30:43,405 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:30:43,405 INFO L93 Difference]: Finished difference Result 213 states and 257 transitions. [2021-10-21 20:30:43,406 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 14 states. [2021-10-21 20:30:43,406 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 213 states and 257 transitions. [2021-10-21 20:30:43,408 INFO L131 ngComponentsAnalysis]: Automaton has 22 accepting balls. 78 [2021-10-21 20:30:43,412 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 213 states to 213 states and 257 transitions. [2021-10-21 20:30:43,413 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 213 [2021-10-21 20:30:43,418 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 213 [2021-10-21 20:30:43,418 INFO L73 IsDeterministic]: Start isDeterministic. Operand 213 states and 257 transitions. [2021-10-21 20:30:43,420 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:30:43,425 INFO L681 BuchiCegarLoop]: Abstraction has 213 states and 257 transitions. [2021-10-21 20:30:43,426 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 213 states and 257 transitions. [2021-10-21 20:30:43,442 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 213 to 111. [2021-10-21 20:30:43,444 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 111 states, 111 states have (on average 1.1801801801801801) internal successors, (131), 110 states have internal predecessors, (131), 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) [2021-10-21 20:30:43,447 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 111 states to 111 states and 131 transitions. [2021-10-21 20:30:43,452 INFO L704 BuchiCegarLoop]: Abstraction has 111 states and 131 transitions. [2021-10-21 20:30:43,452 INFO L587 BuchiCegarLoop]: Abstraction has 111 states and 131 transitions. [2021-10-21 20:30:43,452 INFO L425 BuchiCegarLoop]: ======== Iteration 4============ [2021-10-21 20:30:43,452 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 111 states and 131 transitions. [2021-10-21 20:30:43,454 INFO L131 ngComponentsAnalysis]: Automaton has 9 accepting balls. 31 [2021-10-21 20:30:43,454 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:43,454 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:43,455 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:43,456 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:43,456 INFO L791 eck$LassoCheckResult]: Stem: 881#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string2.base, #t~string2.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string2.base, #t~string2.offset, 1);call write~init~int(0, #t~string2.base, 1 + #t~string2.offset, 1);call #t~string3.base, #t~string3.offset := #Ultimate.allocOnStack(12);call ~#mutexes~0.base, ~#mutexes~0.offset := #Ultimate.allocOnStack(8);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~0.offset, 4); 867#L-1 havoc main_#res;havoc foo_#t~ret32.base, foo_#t~ret32.offset, foo_#t~ret33.base, foo_#t~ret33.offset, foo_~m1~0.base, foo_~m1~0.offset, foo_~m2~0.base, foo_~m2~0.offset; 819#L666 ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 820#L565 assume !(0 == assume_abort_if_not_~cond); 823#L564 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 824#L578 foo_#t~ret32.base, foo_#t~ret32.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m1~0.base, foo_~m1~0.offset := foo_#t~ret32.base, foo_#t~ret32.offset;havoc foo_#t~ret32.base, foo_#t~ret32.offset;ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 877#L565-2 assume !(0 == assume_abort_if_not_~cond); 806#L564-1 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 807#L578-1 foo_#t~ret33.base, foo_#t~ret33.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m2~0.base, foo_~m2~0.offset := foo_#t~ret33.base, foo_#t~ret33.offset;havoc foo_#t~ret33.base, foo_#t~ret33.offset;mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 878#L655-3 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 863#L655-4 ldv_is_in_set_#res := 0; 845#L660 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 846#L669 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 873#L669-2 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 858#L655-8 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 842#L655-9 ldv_is_in_set_#res := 0; 843#L660-1 ldv_set_add_#t~ret19 := ldv_is_in_set_#res; 847#L636 assume 0 == ldv_set_add_#t~ret19;havoc ldv_set_add_#t~ret19;havoc ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset;ldv_successful_malloc_#in~size := 12;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 844#L565-4 assume !(0 == assume_abort_if_not_~cond); 825#L564-2 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 826#L578-2 ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset := ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;havoc ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset;call write~$Pointer$(ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, 4);ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset, ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset := ldv_set_add_~le~0.base, 4 + ldv_set_add_~le~0.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset, ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset;ldv_list_add_~new.base, ldv_list_add_~new.offset := ldv_list_add_#in~new.base, ldv_list_add_#in~new.offset;ldv_list_add_~head.base, ldv_list_add_~head.offset := ldv_list_add_#in~head.base, ldv_list_add_#in~head.offset;call ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset := read~$Pointer$(ldv_list_add_~head.base, ldv_list_add_~head.offset, 4);__ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset, __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset, __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset := ldv_list_add_~new.base, ldv_list_add_~new.offset, ldv_list_add_~head.base, ldv_list_add_~head.offset, ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset;havoc __ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~next.base, __ldv_list_add_~next.offset;__ldv_list_add_~new.base, __ldv_list_add_~new.offset := __ldv_list_add_#in~new.base, __ldv_list_add_#in~new.offset;__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset := __ldv_list_add_#in~prev.base, __ldv_list_add_#in~prev.offset;__ldv_list_add_~next.base, __ldv_list_add_~next.offset := __ldv_list_add_#in~next.base, __ldv_list_add_#in~next.offset;call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~next.base, 4 + __ldv_list_add_~next.offset, 4);call write~$Pointer$(__ldv_list_add_~next.base, __ldv_list_add_~next.offset, __ldv_list_add_~new.base, __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, __ldv_list_add_~new.base, 4 + __ldv_list_add_~new.offset, 4);call write~$Pointer$(__ldv_list_add_~new.base, __ldv_list_add_~new.offset, __ldv_list_add_~prev.base, __ldv_list_add_~prev.offset, 4); 829#L592 havoc ldv_list_add_#t~mem8.base, ldv_list_add_#t~mem8.offset; 830#L635 mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 885#L655-13 assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 871#L656-2 assume ldv_is_in_set_#t~mem27.base == ldv_is_in_set_~e.base && ldv_is_in_set_#t~mem27.offset == ldv_is_in_set_~e.offset;havoc ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset;ldv_is_in_set_#res := 1; 872#L660-2 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 848#L669-3 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 849#L669-5 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 864#L655-18 assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 865#L656-3 [2021-10-21 20:30:43,457 INFO L793 eck$LassoCheckResult]: Loop: 865#L656-3 assume !(ldv_is_in_set_#t~mem27.base == ldv_is_in_set_~e.base && ldv_is_in_set_#t~mem27.offset == ldv_is_in_set_~e.offset);havoc ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset; 814#L655-17 call ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, 4 + ldv_is_in_set_~m~1.offset, 4);ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset := ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;havoc ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset - 4; 815#L655-18 assume !!(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset);call ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset := read~$Pointer$(ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset, 4); 865#L656-3 [2021-10-21 20:30:43,457 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:43,458 INFO L82 PathProgramCache]: Analyzing trace with hash -853809951, now seen corresponding path program 1 times [2021-10-21 20:30:43,458 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:43,458 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [421870587] [2021-10-21 20:30:43,459 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:43,460 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:43,506 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:30:43,574 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 20:30:43,575 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:30:43,575 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [421870587] [2021-10-21 20:30:43,576 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [421870587] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:30:43,581 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:30:43,581 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-21 20:30:43,581 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1814051676] [2021-10-21 20:30:43,582 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 20:30:43,583 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:43,584 INFO L82 PathProgramCache]: Analyzing trace with hash 160924, now seen corresponding path program 2 times [2021-10-21 20:30:43,585 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:43,585 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [231882406] [2021-10-21 20:30:43,585 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:43,594 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:43,599 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:43,607 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:43,611 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:43,623 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:43,818 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:30:43,818 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-21 20:30:43,819 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-21 20:30:43,819 INFO L87 Difference]: Start difference. First operand 111 states and 131 transitions. cyclomatic complexity: 29 Second operand has 4 states, 4 states have (on average 7.25) internal successors, (29), 4 states have internal predecessors, (29), 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) [2021-10-21 20:30:43,873 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:30:43,873 INFO L93 Difference]: Finished difference Result 106 states and 123 transitions. [2021-10-21 20:30:43,874 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-10-21 20:30:43,874 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 106 states and 123 transitions. [2021-10-21 20:30:43,875 INFO L131 ngComponentsAnalysis]: Automaton has 9 accepting balls. 35 [2021-10-21 20:30:43,876 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 106 states to 97 states and 114 transitions. [2021-10-21 20:30:43,877 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 97 [2021-10-21 20:30:43,877 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 97 [2021-10-21 20:30:43,877 INFO L73 IsDeterministic]: Start isDeterministic. Operand 97 states and 114 transitions. [2021-10-21 20:30:43,878 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:30:43,878 INFO L681 BuchiCegarLoop]: Abstraction has 97 states and 114 transitions. [2021-10-21 20:30:43,878 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 97 states and 114 transitions. [2021-10-21 20:30:43,883 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 97 to 76. [2021-10-21 20:30:43,884 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 76 states, 76 states have (on average 1.1578947368421053) internal successors, (88), 75 states have internal predecessors, (88), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2021-10-21 20:30:43,884 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 76 states to 76 states and 88 transitions. [2021-10-21 20:30:43,885 INFO L704 BuchiCegarLoop]: Abstraction has 76 states and 88 transitions. [2021-10-21 20:30:43,885 INFO L587 BuchiCegarLoop]: Abstraction has 76 states and 88 transitions. [2021-10-21 20:30:43,885 INFO L425 BuchiCegarLoop]: ======== Iteration 5============ [2021-10-21 20:30:43,885 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 76 states and 88 transitions. [2021-10-21 20:30:43,886 INFO L131 ngComponentsAnalysis]: Automaton has 6 accepting balls. 22 [2021-10-21 20:30:43,886 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is false [2021-10-21 20:30:43,886 INFO L119 BuchiIsEmpty]: Starting construction of run [2021-10-21 20:30:43,888 INFO L842 BuchiCegarLoop]: Counterexample stem histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2021-10-21 20:30:43,888 INFO L843 BuchiCegarLoop]: Counterexample loop histogram [1, 1, 1] [2021-10-21 20:30:43,889 INFO L791 eck$LassoCheckResult]: Stem: 1091#ULTIMATE.startENTRY #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier;call #t~string2.base, #t~string2.offset := #Ultimate.allocOnStack(2);call write~init~int(48, #t~string2.base, #t~string2.offset, 1);call write~init~int(0, #t~string2.base, 1 + #t~string2.offset, 1);call #t~string3.base, #t~string3.offset := #Ultimate.allocOnStack(12);call ~#mutexes~0.base, ~#mutexes~0.offset := #Ultimate.allocOnStack(8);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, ~#mutexes~0.offset, 4);call write~init~$Pointer$(~#mutexes~0.base, ~#mutexes~0.offset, ~#mutexes~0.base, 4 + ~#mutexes~0.offset, 4); 1082#L-1 havoc main_#res;havoc foo_#t~ret32.base, foo_#t~ret32.offset, foo_#t~ret33.base, foo_#t~ret33.offset, foo_~m1~0.base, foo_~m1~0.offset, foo_~m2~0.base, foo_~m2~0.offset; 1043#L666 ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 1044#L565 assume !(0 == assume_abort_if_not_~cond); 1047#L564 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 1048#L578 foo_#t~ret32.base, foo_#t~ret32.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m1~0.base, foo_~m1~0.offset := foo_#t~ret32.base, foo_#t~ret32.offset;havoc foo_#t~ret32.base, foo_#t~ret32.offset;ldv_successful_malloc_#in~size := 8;havoc ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset, ldv_successful_malloc_~size, ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset;ldv_successful_malloc_~size := ldv_successful_malloc_#in~size;call ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset := #Ultimate.allocOnHeap(ldv_successful_malloc_~size);ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset := ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;havoc ldv_successful_malloc_#t~malloc7.base, ldv_successful_malloc_#t~malloc7.offset;assume_abort_if_not_#in~cond := (if ldv_successful_malloc_~ptr~0.base != 0 || ldv_successful_malloc_~ptr~0.offset != 0 then 1 else 0);havoc assume_abort_if_not_~cond;assume_abort_if_not_~cond := assume_abort_if_not_#in~cond; 1089#L565-2 assume !(0 == assume_abort_if_not_~cond); 1032#L564-1 ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset := ldv_successful_malloc_~ptr~0.base, ldv_successful_malloc_~ptr~0.offset; 1033#L578-1 foo_#t~ret33.base, foo_#t~ret33.offset := ldv_successful_malloc_#res.base, ldv_successful_malloc_#res.offset;foo_~m2~0.base, foo_~m2~0.offset := foo_#t~ret33.base, foo_#t~ret33.offset;havoc foo_#t~ret33.base, foo_#t~ret33.offset;mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 1090#L655-3 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 1079#L655-4 ldv_is_in_set_#res := 0; 1064#L660 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 1065#L669 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 1086#L669-2 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 1074#L655-8 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 1062#L655-9 ldv_is_in_set_#res := 0; 1063#L660-1 ldv_set_add_#t~ret19 := ldv_is_in_set_#res; 1066#L636 assume !(0 == ldv_set_add_#t~ret19);havoc ldv_set_add_#t~ret19; 1061#L635 mutex_lock_#in~m.base, mutex_lock_#in~m.offset := foo_~m1~0.base, foo_~m1~0.offset;havoc mutex_lock_#t~ret29, mutex_lock_~m.base, mutex_lock_~m.offset;mutex_lock_~m.base, mutex_lock_~m.offset := mutex_lock_#in~m.base, mutex_lock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 1036#L655-13 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 1037#L655-14 ldv_is_in_set_#res := 0; 1034#L660-2 mutex_lock_#t~ret29 := ldv_is_in_set_#res; 1035#L669-3 assume !(0 != mutex_lock_#t~ret29);havoc mutex_lock_#t~ret29; 1055#L669-5 ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset, ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset := mutex_lock_~m.base, mutex_lock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_add_#t~ret19, ldv_set_add_#t~ret20.base, ldv_set_add_#t~ret20.offset, ldv_set_add_~le~0.base, ldv_set_add_~le~0.offset, ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;ldv_set_add_~new.base, ldv_set_add_~new.offset := ldv_set_add_#in~new.base, ldv_set_add_#in~new.offset;ldv_set_add_~s.base, ldv_set_add_~s.offset := ldv_set_add_#in~s.base, ldv_set_add_#in~s.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := ldv_set_add_~new.base, ldv_set_add_~new.offset, ldv_set_add_~s.base, ldv_set_add_~s.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 1056#L655-18 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 1080#L655-19 ldv_is_in_set_#res := 0; 1045#L660-3 ldv_set_add_#t~ret19 := ldv_is_in_set_#res; 1046#L636-1 assume !(0 == ldv_set_add_#t~ret19);havoc ldv_set_add_#t~ret19; 1057#L635-1 mutex_unlock_#in~m.base, mutex_unlock_#in~m.offset := foo_~m2~0.base, foo_~m2~0.offset;havoc mutex_unlock_#t~ret30, mutex_unlock_~m.base, mutex_unlock_~m.offset;mutex_unlock_~m.base, mutex_unlock_~m.offset := mutex_unlock_#in~m.base, mutex_unlock_#in~m.offset;ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset, ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset := mutex_unlock_~m.base, mutex_unlock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_is_in_set_#res;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset, ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset, ldv_is_in_set_#t~mem27.base, ldv_is_in_set_#t~mem27.offset, ldv_is_in_set_#t~mem26.base, ldv_is_in_set_#t~mem26.offset, ldv_is_in_set_~__mptr~4.base, ldv_is_in_set_~__mptr~4.offset, ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset, ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;ldv_is_in_set_~e.base, ldv_is_in_set_~e.offset := ldv_is_in_set_#in~e.base, ldv_is_in_set_#in~e.offset;ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset := ldv_is_in_set_#in~s.base, ldv_is_in_set_#in~s.offset;havoc ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset;call ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset := read~$Pointer$(ldv_is_in_set_~s.base, ldv_is_in_set_~s.offset, 4);ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset := ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;havoc ldv_is_in_set_#t~mem25.base, ldv_is_in_set_#t~mem25.offset;ldv_is_in_set_~m~1.base, ldv_is_in_set_~m~1.offset := ldv_is_in_set_~__mptr~3.base, ldv_is_in_set_~__mptr~3.offset - 4; 1105#L655-23 assume !(ldv_is_in_set_~m~1.base != ldv_is_in_set_~s.base || 4 + ldv_is_in_set_~m~1.offset != ldv_is_in_set_~s.offset); 1104#L655-24 ldv_is_in_set_#res := 0; 1103#L660-4 mutex_unlock_#t~ret30 := ldv_is_in_set_#res; 1102#L673 assume !(0 == mutex_unlock_#t~ret30);havoc mutex_unlock_#t~ret30; 1100#L673-2 ldv_set_del_#in~e.base, ldv_set_del_#in~e.offset, ldv_set_del_#in~s.base, ldv_set_del_#in~s.offset := mutex_unlock_~m.base, mutex_unlock_~m.offset, ~#mutexes~0.base, ~#mutexes~0.offset;havoc ldv_set_del_#t~mem21.base, ldv_set_del_#t~mem21.offset, ldv_set_del_~__mptr~0.base, ldv_set_del_~__mptr~0.offset, ldv_set_del_#t~mem22.base, ldv_set_del_#t~mem22.offset, ldv_set_del_~__mptr~1.base, ldv_set_del_~__mptr~1.offset, ldv_set_del_#t~mem24.base, ldv_set_del_#t~mem24.offset, ldv_set_del_#t~mem23.base, ldv_set_del_#t~mem23.offset, ldv_set_del_~__mptr~2.base, ldv_set_del_~__mptr~2.offset, ldv_set_del_~e.base, ldv_set_del_~e.offset, ldv_set_del_~s.base, ldv_set_del_~s.offset, ldv_set_del_~m~0.base, ldv_set_del_~m~0.offset, ldv_set_del_~n~0.base, ldv_set_del_~n~0.offset;ldv_set_del_~e.base, ldv_set_del_~e.offset := ldv_set_del_#in~e.base, ldv_set_del_#in~e.offset;ldv_set_del_~s.base, ldv_set_del_~s.offset := ldv_set_del_#in~s.base, ldv_set_del_#in~s.offset;havoc ldv_set_del_~m~0.base, ldv_set_del_~m~0.offset;havoc ldv_set_del_~n~0.base, ldv_set_del_~n~0.offset;call ldv_set_del_#t~mem21.base, ldv_set_del_#t~mem21.offset := read~$Pointer$(ldv_set_del_~s.base, ldv_set_del_~s.offset, 4);ldv_set_del_~__mptr~0.base, ldv_set_del_~__mptr~0.offset := ldv_set_del_#t~mem21.base, ldv_set_del_#t~mem21.offset;havoc ldv_set_del_#t~mem21.base, ldv_set_del_#t~mem21.offset;ldv_set_del_~m~0.base, ldv_set_del_~m~0.offset := ldv_set_del_~__mptr~0.base, ldv_set_del_~__mptr~0.offset - 4;call ldv_set_del_#t~mem22.base, ldv_set_del_#t~mem22.offset := read~$Pointer$(ldv_set_del_~m~0.base, 4 + ldv_set_del_~m~0.offset, 4);ldv_set_del_~__mptr~1.base, ldv_set_del_~__mptr~1.offset := ldv_set_del_#t~mem22.base, ldv_set_del_#t~mem22.offset;havoc ldv_set_del_#t~mem22.base, ldv_set_del_#t~mem22.offset;ldv_set_del_~n~0.base, ldv_set_del_~n~0.offset := ldv_set_del_~__mptr~1.base, ldv_set_del_~__mptr~1.offset - 4; 1098#L646-3 [2021-10-21 20:30:43,889 INFO L793 eck$LassoCheckResult]: Loop: 1098#L646-3 assume !!(ldv_set_del_~m~0.base != ldv_set_del_~s.base || 4 + ldv_set_del_~m~0.offset != ldv_set_del_~s.offset);call ldv_set_del_#t~mem24.base, ldv_set_del_#t~mem24.offset := read~$Pointer$(ldv_set_del_~m~0.base, ldv_set_del_~m~0.offset, 4); 1099#L647 assume !(ldv_set_del_#t~mem24.base == ldv_set_del_~e.base && ldv_set_del_#t~mem24.offset == ldv_set_del_~e.offset);havoc ldv_set_del_#t~mem24.base, ldv_set_del_#t~mem24.offset; 1101#L646-2 ldv_set_del_~m~0.base, ldv_set_del_~m~0.offset := ldv_set_del_~n~0.base, ldv_set_del_~n~0.offset;call ldv_set_del_#t~mem23.base, ldv_set_del_#t~mem23.offset := read~$Pointer$(ldv_set_del_~n~0.base, 4 + ldv_set_del_~n~0.offset, 4);ldv_set_del_~__mptr~2.base, ldv_set_del_~__mptr~2.offset := ldv_set_del_#t~mem23.base, ldv_set_del_#t~mem23.offset;havoc ldv_set_del_#t~mem23.base, ldv_set_del_#t~mem23.offset;ldv_set_del_~n~0.base, ldv_set_del_~n~0.offset := ldv_set_del_~__mptr~2.base, ldv_set_del_~__mptr~2.offset - 4; 1098#L646-3 [2021-10-21 20:30:43,890 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:43,890 INFO L82 PathProgramCache]: Analyzing trace with hash 760639302, now seen corresponding path program 1 times [2021-10-21 20:30:43,890 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:43,890 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1702381944] [2021-10-21 20:30:43,891 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:43,891 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:43,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2021-10-21 20:30:43,936 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2021-10-21 20:30:43,936 INFO L139 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2021-10-21 20:30:43,936 INFO L332 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1702381944] [2021-10-21 20:30:43,937 INFO L160 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1702381944] provided 1 perfect and 0 imperfect interpolant sequences [2021-10-21 20:30:43,937 INFO L186 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2021-10-21 20:30:43,937 INFO L199 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2021-10-21 20:30:43,938 INFO L115 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2024957250] [2021-10-21 20:30:43,938 INFO L796 eck$LassoCheckResult]: stem already infeasible [2021-10-21 20:30:43,939 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2021-10-21 20:30:43,939 INFO L82 PathProgramCache]: Analyzing trace with hash 224709, now seen corresponding path program 1 times [2021-10-21 20:30:43,939 INFO L121 FreeRefinementEngine]: Executing refinement strategy CAMEL [2021-10-21 20:30:43,939 INFO L332 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1308629061] [2021-10-21 20:30:43,940 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2021-10-21 20:30:43,940 INFO L128 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2021-10-21 20:30:43,945 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:43,945 INFO L354 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2021-10-21 20:30:43,949 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2021-10-21 20:30:43,952 INFO L133 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2021-10-21 20:30:44,129 INFO L103 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2021-10-21 20:30:44,129 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2021-10-21 20:30:44,129 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2021-10-21 20:30:44,130 INFO L87 Difference]: Start difference. First operand 76 states and 88 transitions. cyclomatic complexity: 18 Second operand has 4 states, 4 states have (on average 8.5) internal successors, (34), 4 states have internal predecessors, (34), 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) [2021-10-21 20:30:44,146 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2021-10-21 20:30:44,147 INFO L93 Difference]: Finished difference Result 18 states and 17 transitions. [2021-10-21 20:30:44,147 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2021-10-21 20:30:44,147 INFO L82 GeneralOperation]: Start removeNonLiveStates. Operand 18 states and 17 transitions. [2021-10-21 20:30:44,147 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-10-21 20:30:44,147 INFO L88 GeneralOperation]: Finished removeNonLiveStates. Reduced from 18 states to 0 states and 0 transitions. [2021-10-21 20:30:44,147 INFO L87 BuchiClosureNwa]: Accepting states before buchiClosure: 0 [2021-10-21 20:30:44,147 INFO L106 BuchiClosureNwa]: Accepting states after buchiClosure: 0 [2021-10-21 20:30:44,148 INFO L73 IsDeterministic]: Start isDeterministic. Operand 0 states and 0 transitions. [2021-10-21 20:30:44,148 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2021-10-21 20:30:44,148 INFO L681 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-10-21 20:30:44,148 INFO L704 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-10-21 20:30:44,148 INFO L587 BuchiCegarLoop]: Abstraction has 0 states and 0 transitions. [2021-10-21 20:30:44,148 INFO L425 BuchiCegarLoop]: ======== Iteration 6============ [2021-10-21 20:30:44,148 INFO L72 BuchiIsEmpty]: Start buchiIsEmpty. Operand 0 states and 0 transitions. [2021-10-21 20:30:44,148 INFO L131 ngComponentsAnalysis]: Automaton has 0 accepting balls. 0 [2021-10-21 20:30:44,148 INFO L87 BuchiIsEmpty]: Finished buchiIsEmpty Result is true [2021-10-21 20:30:44,154 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.buchiautomizer CFG 21.10 08:30:44 BoogieIcfgContainer [2021-10-21 20:30:44,154 INFO L132 PluginConnector]: ------------------------ END BuchiAutomizer---------------------------- [2021-10-21 20:30:44,155 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2021-10-21 20:30:44,155 INFO L271 PluginConnector]: Initializing Witness Printer... [2021-10-21 20:30:44,156 INFO L275 PluginConnector]: Witness Printer initialized [2021-10-21 20:30:44,156 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.10 08:30:38" (3/4) ... [2021-10-21 20:30:44,160 INFO L140 WitnessPrinter]: No result that supports witness generation found [2021-10-21 20:30:44,160 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2021-10-21 20:30:44,162 INFO L168 Benchmark]: Toolchain (without parser) took 8191.92 ms. Allocated memory was 90.2 MB in the beginning and 148.9 MB in the end (delta: 58.7 MB). Free memory was 53.7 MB in the beginning and 72.5 MB in the end (delta: -18.8 MB). Peak memory consumption was 39.1 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,163 INFO L168 Benchmark]: CDTParser took 0.30 ms. Allocated memory is still 90.2 MB. Free memory was 59.4 MB in the beginning and 59.3 MB in the end (delta: 21.1 kB). There was no memory consumed. Max. memory is 16.1 GB. [2021-10-21 20:30:44,164 INFO L168 Benchmark]: CACSL2BoogieTranslator took 779.18 ms. Allocated memory is still 90.2 MB. Free memory was 53.5 MB in the beginning and 54.4 MB in the end (delta: -833.2 kB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,165 INFO L168 Benchmark]: Boogie Procedure Inliner took 93.37 ms. Allocated memory is still 90.2 MB. Free memory was 54.4 MB in the beginning and 51.2 MB in the end (delta: 3.2 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,166 INFO L168 Benchmark]: Boogie Preprocessor took 64.98 ms. Allocated memory is still 90.2 MB. Free memory was 51.2 MB in the beginning and 47.7 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,167 INFO L168 Benchmark]: RCFGBuilder took 1196.42 ms. Allocated memory was 90.2 MB in the beginning and 109.1 MB in the end (delta: 18.9 MB). Free memory was 47.7 MB in the beginning and 65.1 MB in the end (delta: -17.4 MB). Peak memory consumption was 20.0 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,168 INFO L168 Benchmark]: BuchiAutomizer took 6040.81 ms. Allocated memory was 109.1 MB in the beginning and 148.9 MB in the end (delta: 39.8 MB). Free memory was 65.1 MB in the beginning and 72.5 MB in the end (delta: -7.4 MB). Peak memory consumption was 32.1 MB. Max. memory is 16.1 GB. [2021-10-21 20:30:44,168 INFO L168 Benchmark]: Witness Printer took 5.17 ms. Allocated memory is still 148.9 MB. Free memory is still 72.5 MB. There was no memory consumed. Max. memory is 16.1 GB. [2021-10-21 20:30:44,173 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.30 ms. Allocated memory is still 90.2 MB. Free memory was 59.4 MB in the beginning and 59.3 MB in the end (delta: 21.1 kB). There was no memory consumed. Max. memory is 16.1 GB. * CACSL2BoogieTranslator took 779.18 ms. Allocated memory is still 90.2 MB. Free memory was 53.5 MB in the beginning and 54.4 MB in the end (delta: -833.2 kB). Peak memory consumption was 8.4 MB. Max. memory is 16.1 GB. * Boogie Procedure Inliner took 93.37 ms. Allocated memory is still 90.2 MB. Free memory was 54.4 MB in the beginning and 51.2 MB in the end (delta: 3.2 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * Boogie Preprocessor took 64.98 ms. Allocated memory is still 90.2 MB. Free memory was 51.2 MB in the beginning and 47.7 MB in the end (delta: 3.5 MB). Peak memory consumption was 4.2 MB. Max. memory is 16.1 GB. * RCFGBuilder took 1196.42 ms. Allocated memory was 90.2 MB in the beginning and 109.1 MB in the end (delta: 18.9 MB). Free memory was 47.7 MB in the beginning and 65.1 MB in the end (delta: -17.4 MB). Peak memory consumption was 20.0 MB. Max. memory is 16.1 GB. * BuchiAutomizer took 6040.81 ms. Allocated memory was 109.1 MB in the beginning and 148.9 MB in the end (delta: 39.8 MB). Free memory was 65.1 MB in the beginning and 72.5 MB in the end (delta: -7.4 MB). Peak memory consumption was 32.1 MB. Max. memory is 16.1 GB. * Witness Printer took 5.17 ms. Allocated memory is still 148.9 MB. Free memory is still 72.5 MB. There was no memory consumed. Max. memory is 16.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Constructed decomposition of program Your program was decomposed into 5 terminating modules (5 trivial, 0 deterministic, 0 nondeterministic). 5 modules have a trivial ranking function, the largest among these consists of 11 locations. - StatisticsResult: Timing statistics BüchiAutomizer plugin needed 5.9s and 6 iterations. TraceHistogramMax:1. Analysis of lassos took 2.8s. Construction of modules took 1.8s. Büchi inclusion checks took 1.0s. Highest rank in rank-based complementation 0. Minimization of det autom 5. Minimization of nondet autom 0. Automata minimization 71.6ms AutomataMinimizationTime, 4 MinimizatonAttempts, 160 StatesRemovedByMinimization, 4 NontrivialMinimizations. Non-live state removal took 0.0s Buchi closure took 0.0s. Biggest automaton had 111 states and ocurred in iteration 3. Nontrivial modules had stage [0, 0, 0, 0, 0]. InterpolantCoveringCapabilityFinite: 0/0 InterpolantCoveringCapabilityBuchi: 0/0 HoareTripleCheckerStatistics: 293 SDtfs, 830 SDslu, 778 SDs, 0 SdLazy, 737 SolverSat, 146 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 1857.0ms Time LassoAnalysisResults: nont0 unkn0 SFLI0 SFLT0 conc2 concLT0 SILN0 SILU3 SILI0 SILT0 lasso0 LassoPreprocessingBenchmarks: LassoTerminationAnalysisBenchmarks: not availableLassoTerminationAnalysisBenchmarks: LassoNonterminationAnalysisSatFixpoint: 0 LassoNonterminationAnalysisSatUnbounded: 0 LassoNonterminationAnalysisUnsat: 0 LassoNonterminationAnalysisUnknown: 0 LassoNonterminationAnalysisTime: 0.0s - TerminationAnalysisResult: Termination proven Buchi Automizer proved that your program is terminating RESULT: Ultimate proved your program to be correct! [2021-10-21 20:30:44,230 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_42c72f61-38bd-46c5-a471-3f9690d3d4ce/bin/uautomizer-j4sWxH34Be/z3 SMTLIB2_COMPLIANT=true -memory:1024 -smt2 -in -t:12000 (1)] Forceful destruction successful, exit code 0 Received shutdown request...