./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/pthread/lazy01_false-unreach-call.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread/lazy01_false-unreach-call.i -s /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 61886a16eaa9879254fb15413029565914aacace .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 07:03:07,415 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 07:03:07,416 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 07:03:07,423 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 07:03:07,424 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 07:03:07,424 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 07:03:07,425 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 07:03:07,426 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 07:03:07,426 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 07:03:07,427 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 07:03:07,427 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 07:03:07,427 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 07:03:07,428 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 07:03:07,428 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 07:03:07,429 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 07:03:07,429 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 07:03:07,430 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 07:03:07,431 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 07:03:07,432 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 07:03:07,433 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 07:03:07,434 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 07:03:07,434 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 07:03:07,436 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 07:03:07,436 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 07:03:07,436 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 07:03:07,437 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 07:03:07,437 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 07:03:07,438 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 07:03:07,438 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 07:03:07,439 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 07:03:07,439 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 07:03:07,440 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 07:03:07,440 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 07:03:07,440 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 07:03:07,441 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 07:03:07,441 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 07:03:07,441 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 07:03:07,448 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 07:03:07,448 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 07:03:07,449 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 07:03:07,449 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 07:03:07,449 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 07:03:07,450 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 07:03:07,450 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 07:03:07,451 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 07:03:07,451 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 07:03:07,452 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 07:03:07,452 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 07:03:07,453 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 07:03:07,453 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 07:03:07,453 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 07:03:07,453 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true 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-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) 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 -> 61886a16eaa9879254fb15413029565914aacace [2018-11-23 07:03:07,477 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 07:03:07,486 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 07:03:07,488 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 07:03:07,490 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 07:03:07,490 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 07:03:07,490 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/../../sv-benchmarks/c/pthread/lazy01_false-unreach-call.i [2018-11-23 07:03:07,525 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/data/9a9e3e375/9abe6e9608df467087e62bf83610861c/FLAG921a72c0e [2018-11-23 07:03:07,961 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 07:03:07,962 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/sv-benchmarks/c/pthread/lazy01_false-unreach-call.i [2018-11-23 07:03:07,973 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/data/9a9e3e375/9abe6e9608df467087e62bf83610861c/FLAG921a72c0e [2018-11-23 07:03:07,984 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/data/9a9e3e375/9abe6e9608df467087e62bf83610861c [2018-11-23 07:03:07,986 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 07:03:07,987 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 07:03:07,987 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 07:03:07,987 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 07:03:07,990 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 07:03:07,990 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 07:03:07" (1/1) ... [2018-11-23 07:03:07,992 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3ed7d6fc and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:07, skipping insertion in model container [2018-11-23 07:03:07,992 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 07:03:07" (1/1) ... [2018-11-23 07:03:07,998 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 07:03:08,026 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 07:03:08,233 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 07:03:08,243 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 07:03:08,319 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 07:03:08,353 INFO L195 MainTranslator]: Completed translation [2018-11-23 07:03:08,354 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08 WrapperNode [2018-11-23 07:03:08,354 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 07:03:08,354 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 07:03:08,354 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 07:03:08,355 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 07:03:08,360 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,374 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,387 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 07:03:08,387 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 07:03:08,387 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 07:03:08,387 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 07:03:08,393 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,393 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,395 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,395 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,399 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,401 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,402 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... [2018-11-23 07:03:08,404 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 07:03:08,404 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 07:03:08,404 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 07:03:08,404 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 07:03:08,405 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 07:03:08,439 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 07:03:08,439 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 07:03:08,439 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2018-11-23 07:03:08,439 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2018-11-23 07:03:08,439 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2018-11-23 07:03:08,439 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2018-11-23 07:03:08,439 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2018-11-23 07:03:08,440 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2018-11-23 07:03:08,440 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 07:03:08,440 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2018-11-23 07:03:08,440 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 07:03:08,440 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2018-11-23 07:03:08,440 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 07:03:08,440 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 07:03:08,441 WARN L198 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to SingleStatement [2018-11-23 07:03:08,667 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 07:03:08,667 INFO L280 CfgBuilder]: Removed 4 assue(true) statements. [2018-11-23 07:03:08,667 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 07:03:08 BoogieIcfgContainer [2018-11-23 07:03:08,668 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 07:03:08,668 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 07:03:08,668 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 07:03:08,671 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 07:03:08,671 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 07:03:07" (1/3) ... [2018-11-23 07:03:08,672 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5932f997 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 07:03:08, skipping insertion in model container [2018-11-23 07:03:08,672 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 07:03:08" (2/3) ... [2018-11-23 07:03:08,672 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5932f997 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 07:03:08, skipping insertion in model container [2018-11-23 07:03:08,672 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 07:03:08" (3/3) ... [2018-11-23 07:03:08,673 INFO L112 eAbstractionObserver]: Analyzing ICFG lazy01_false-unreach-call.i [2018-11-23 07:03:08,699 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,700 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,700 WARN L317 ript$VariableManager]: TermVariabe Thread0_thread1_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,700 WARN L317 ript$VariableManager]: TermVariabe Thread0_thread1_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,700 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet0| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,700 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet0| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,701 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe Thread1_thread2_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe Thread1_thread2_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,702 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe Thread2_thread3_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe Thread2_thread3_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#t~nondet3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#t~nondet3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,703 WARN L317 ript$VariableManager]: TermVariabe |Thread2_thread3_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 07:03:08,729 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2018-11-23 07:03:08,729 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 07:03:08,735 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 2 error locations. [2018-11-23 07:03:08,745 INFO L257 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2018-11-23 07:03:08,762 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 07:03:08,762 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 07:03:08,762 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 07:03:08,763 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 07:03:08,763 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 07:03:08,763 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 07:03:08,763 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 07:03:08,763 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 07:03:08,763 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 07:03:08,769 INFO L100 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 71places, 74 transitions [2018-11-23 07:03:08,870 INFO L122 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result 3562 states. [2018-11-23 07:03:08,872 INFO L276 IsEmpty]: Start isEmpty. Operand 3562 states. [2018-11-23 07:03:08,881 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2018-11-23 07:03:08,882 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 07:03:08,882 INFO L402 BasicCegarLoop]: trace 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] [2018-11-23 07:03:08,884 INFO L423 AbstractCegarLoop]: === Iteration 1 === [thread3Err0ASSERT_VIOLATIONERROR_FUNCTION, thread3Err0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 07:03:08,887 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 07:03:08,888 INFO L82 PathProgramCache]: Analyzing trace with hash 1823448133, now seen corresponding path program 1 times [2018-11-23 07:03:08,889 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 07:03:08,889 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 07:03:08,928 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:08,928 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 07:03:08,928 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:08,962 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 07:03:09,042 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 07:03:09,044 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 07:03:09,045 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 07:03:09,047 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 07:03:09,055 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 07:03:09,055 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 07:03:09,057 INFO L87 Difference]: Start difference. First operand 3562 states. Second operand 3 states. [2018-11-23 07:03:09,126 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 07:03:09,126 INFO L93 Difference]: Finished difference Result 3442 states and 10692 transitions. [2018-11-23 07:03:09,127 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 07:03:09,128 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 28 [2018-11-23 07:03:09,128 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 07:03:09,152 INFO L225 Difference]: With dead ends: 3442 [2018-11-23 07:03:09,152 INFO L226 Difference]: Without dead ends: 1949 [2018-11-23 07:03:09,154 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 07:03:09,180 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1949 states. [2018-11-23 07:03:09,248 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1949 to 1949. [2018-11-23 07:03:09,249 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1949 states. [2018-11-23 07:03:09,259 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1949 states to 1949 states and 5937 transitions. [2018-11-23 07:03:09,260 INFO L78 Accepts]: Start accepts. Automaton has 1949 states and 5937 transitions. Word has length 28 [2018-11-23 07:03:09,261 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 07:03:09,261 INFO L480 AbstractCegarLoop]: Abstraction has 1949 states and 5937 transitions. [2018-11-23 07:03:09,261 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 07:03:09,261 INFO L276 IsEmpty]: Start isEmpty. Operand 1949 states and 5937 transitions. [2018-11-23 07:03:09,265 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-11-23 07:03:09,265 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 07:03:09,265 INFO L402 BasicCegarLoop]: trace 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] [2018-11-23 07:03:09,265 INFO L423 AbstractCegarLoop]: === Iteration 2 === [thread3Err0ASSERT_VIOLATIONERROR_FUNCTION, thread3Err0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 07:03:09,266 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 07:03:09,266 INFO L82 PathProgramCache]: Analyzing trace with hash -1151715707, now seen corresponding path program 1 times [2018-11-23 07:03:09,266 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 07:03:09,266 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 07:03:09,270 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,271 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 07:03:09,271 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,286 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 07:03:09,341 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 07:03:09,341 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 07:03:09,341 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 07:03:09,343 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 07:03:09,343 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 07:03:09,343 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 07:03:09,343 INFO L87 Difference]: Start difference. First operand 1949 states and 5937 transitions. Second operand 3 states. [2018-11-23 07:03:09,405 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 07:03:09,405 INFO L93 Difference]: Finished difference Result 1154 states and 3065 transitions. [2018-11-23 07:03:09,406 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 07:03:09,406 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 32 [2018-11-23 07:03:09,406 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 07:03:09,411 INFO L225 Difference]: With dead ends: 1154 [2018-11-23 07:03:09,412 INFO L226 Difference]: Without dead ends: 1130 [2018-11-23 07:03:09,412 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 07:03:09,417 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1130 states. [2018-11-23 07:03:09,438 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1130 to 1130. [2018-11-23 07:03:09,438 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1130 states. [2018-11-23 07:03:09,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1130 states to 1130 states and 3001 transitions. [2018-11-23 07:03:09,443 INFO L78 Accepts]: Start accepts. Automaton has 1130 states and 3001 transitions. Word has length 32 [2018-11-23 07:03:09,443 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 07:03:09,444 INFO L480 AbstractCegarLoop]: Abstraction has 1130 states and 3001 transitions. [2018-11-23 07:03:09,444 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 07:03:09,444 INFO L276 IsEmpty]: Start isEmpty. Operand 1130 states and 3001 transitions. [2018-11-23 07:03:09,445 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 07:03:09,446 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 07:03:09,446 INFO L402 BasicCegarLoop]: trace 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] [2018-11-23 07:03:09,446 INFO L423 AbstractCegarLoop]: === Iteration 3 === [thread3Err0ASSERT_VIOLATIONERROR_FUNCTION, thread3Err0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 07:03:09,446 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 07:03:09,446 INFO L82 PathProgramCache]: Analyzing trace with hash -1430290173, now seen corresponding path program 1 times [2018-11-23 07:03:09,446 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 07:03:09,447 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 07:03:09,450 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,450 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 07:03:09,450 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,460 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 07:03:09,501 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 07:03:09,501 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 07:03:09,501 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 07:03:09,501 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 07:03:09,502 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 07:03:09,502 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 07:03:09,502 INFO L87 Difference]: Start difference. First operand 1130 states and 3001 transitions. Second operand 4 states. [2018-11-23 07:03:09,526 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 07:03:09,526 INFO L93 Difference]: Finished difference Result 1082 states and 2869 transitions. [2018-11-23 07:03:09,527 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 07:03:09,527 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 33 [2018-11-23 07:03:09,527 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 07:03:09,531 INFO L225 Difference]: With dead ends: 1082 [2018-11-23 07:03:09,531 INFO L226 Difference]: Without dead ends: 1034 [2018-11-23 07:03:09,531 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 07:03:09,535 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 1034 states. [2018-11-23 07:03:09,553 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 1034 to 1034. [2018-11-23 07:03:09,553 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 1034 states. [2018-11-23 07:03:09,557 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 1034 states to 1034 states and 2737 transitions. [2018-11-23 07:03:09,557 INFO L78 Accepts]: Start accepts. Automaton has 1034 states and 2737 transitions. Word has length 33 [2018-11-23 07:03:09,557 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 07:03:09,557 INFO L480 AbstractCegarLoop]: Abstraction has 1034 states and 2737 transitions. [2018-11-23 07:03:09,558 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 07:03:09,558 INFO L276 IsEmpty]: Start isEmpty. Operand 1034 states and 2737 transitions. [2018-11-23 07:03:09,559 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2018-11-23 07:03:09,559 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 07:03:09,559 INFO L402 BasicCegarLoop]: trace 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, 1] [2018-11-23 07:03:09,560 INFO L423 AbstractCegarLoop]: === Iteration 4 === [thread3Err0ASSERT_VIOLATIONERROR_FUNCTION, thread3Err0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 07:03:09,560 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 07:03:09,560 INFO L82 PathProgramCache]: Analyzing trace with hash 1537906829, now seen corresponding path program 1 times [2018-11-23 07:03:09,560 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 07:03:09,560 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 07:03:09,562 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,563 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 07:03:09,563 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,570 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 07:03:09,625 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 07:03:09,625 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 07:03:09,625 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 07:03:09,625 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 07:03:09,625 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 07:03:09,626 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2018-11-23 07:03:09,626 INFO L87 Difference]: Start difference. First operand 1034 states and 2737 transitions. Second operand 5 states. [2018-11-23 07:03:09,694 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 07:03:09,694 INFO L93 Difference]: Finished difference Result 986 states and 2605 transitions. [2018-11-23 07:03:09,694 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 07:03:09,694 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 35 [2018-11-23 07:03:09,695 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 07:03:09,698 INFO L225 Difference]: With dead ends: 986 [2018-11-23 07:03:09,698 INFO L226 Difference]: Without dead ends: 938 [2018-11-23 07:03:09,698 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=18, Invalid=24, Unknown=0, NotChecked=0, Total=42 [2018-11-23 07:03:09,701 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 938 states. [2018-11-23 07:03:09,717 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 938 to 938. [2018-11-23 07:03:09,717 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 938 states. [2018-11-23 07:03:09,721 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 938 states to 938 states and 2473 transitions. [2018-11-23 07:03:09,721 INFO L78 Accepts]: Start accepts. Automaton has 938 states and 2473 transitions. Word has length 35 [2018-11-23 07:03:09,721 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 07:03:09,721 INFO L480 AbstractCegarLoop]: Abstraction has 938 states and 2473 transitions. [2018-11-23 07:03:09,721 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 07:03:09,721 INFO L276 IsEmpty]: Start isEmpty. Operand 938 states and 2473 transitions. [2018-11-23 07:03:09,723 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2018-11-23 07:03:09,723 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 07:03:09,723 INFO L402 BasicCegarLoop]: trace 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, 1, 1, 1, 1, 1, 1] [2018-11-23 07:03:09,723 INFO L423 AbstractCegarLoop]: === Iteration 5 === [thread3Err0ASSERT_VIOLATIONERROR_FUNCTION, thread3Err0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 07:03:09,724 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 07:03:09,724 INFO L82 PathProgramCache]: Analyzing trace with hash -1546550769, now seen corresponding path program 1 times [2018-11-23 07:03:09,724 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 07:03:09,724 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 07:03:09,726 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,726 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 07:03:09,726 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 07:03:09,738 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 07:03:09,747 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 07:03:09,767 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.modelcheckerutils.cfg.transformations.BlockEncodingBacktranslator [?] -1 [107] ULTIMATE.startENTRY-->L-1: Formula: (and (= |v_#NULL.offset_1| 0) (= |v_#NULL.base_1| 0)) InVars {} OutVars{#NULL.offset=|v_#NULL.offset_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[#NULL.offset, #NULL.base] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [91] L-1-->L1218: Formula: (= |v_#valid_7| (store |v_#valid_8| 0 0)) InVars {#valid=|v_#valid_8|} OutVars{#valid=|v_#valid_7|} AuxVars[] AssignedVars[#valid] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [101] L1218-->L1217: Formula: (= v_~data~0_7 0) InVars {} OutVars{~data~0=v_~data~0_7} AuxVars[] AssignedVars[~data~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 [79] L1217-->L1217-1: Formula: (and (= |v_~#mutex~0.offset_7| 0) (not (= 0 |v_~#mutex~0.base_7|)) (= (select |v_#valid_10| |v_~#mutex~0.base_7|) 0) (= (store |v_#length_2| |v_~#mutex~0.base_7| 24) |v_#length_1|) (= |v_#valid_9| (store |v_#valid_10| |v_~#mutex~0.base_7| 1))) InVars {#length=|v_#length_2|, #valid=|v_#valid_10|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_7|, #length=|v_#length_1|, ~#mutex~0.base=|v_~#mutex~0.base_7|, #valid=|v_#valid_9|} AuxVars[] AssignedVars[~#mutex~0.base, #valid, ~#mutex~0.offset, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [85] L1217-1-->L1217-2: Formula: (= (select (select |v_#memory_int_1| |v_~#mutex~0.base_8|) |v_~#mutex~0.offset_8|) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_8|, #memory_int=|v_#memory_int_1|, ~#mutex~0.base=|v_~#mutex~0.base_8|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_8|, #memory_int=|v_#memory_int_1|, ~#mutex~0.base=|v_~#mutex~0.base_8|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [88] L1217-2-->L1217-3: Formula: (= 0 (select (select |v_#memory_int_2| |v_~#mutex~0.base_9|) (+ |v_~#mutex~0.offset_9| 4))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_9|, #memory_int=|v_#memory_int_2|, ~#mutex~0.base=|v_~#mutex~0.base_9|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_9|, #memory_int=|v_#memory_int_2|, ~#mutex~0.base=|v_~#mutex~0.base_9|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [131] L1217-3-->L1217-4: Formula: (= (select (select |v_#memory_int_3| |v_~#mutex~0.base_10|) (+ |v_~#mutex~0.offset_10| 8)) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_10|, #memory_int=|v_#memory_int_3|, ~#mutex~0.base=|v_~#mutex~0.base_10|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_10|, #memory_int=|v_#memory_int_3|, ~#mutex~0.base=|v_~#mutex~0.base_10|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [133] L1217-4-->L1217-5: Formula: (= (select (select |v_#memory_int_4| |v_~#mutex~0.base_11|) (+ |v_~#mutex~0.offset_11| 12)) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_11|, #memory_int=|v_#memory_int_4|, ~#mutex~0.base=|v_~#mutex~0.base_11|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_11|, #memory_int=|v_#memory_int_4|, ~#mutex~0.base=|v_~#mutex~0.base_11|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [137] L1217-5-->L1217-6: Formula: (= 0 (select (select |v_#memory_int_5| |v_~#mutex~0.base_12|) (+ |v_~#mutex~0.offset_12| 16))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_12|, #memory_int=|v_#memory_int_5|, ~#mutex~0.base=|v_~#mutex~0.base_12|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_12|, #memory_int=|v_#memory_int_5|, ~#mutex~0.base=|v_~#mutex~0.base_12|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [138] L1217-6-->L-1-1: Formula: true InVars {} OutVars{ULTIMATE.start_main_#res=|v_ULTIMATE.start_main_#res_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#res] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [125] L-1-1-->L1252: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet4=|v_ULTIMATE.start_main_#t~nondet4_1|, ULTIMATE.start_main_#t~nondet5=|v_ULTIMATE.start_main_#t~nondet5_1|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_3|, ULTIMATE.start_main_#t~nondet6=|v_ULTIMATE.start_main_#t~nondet6_1|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_3|, ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_2|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_3|, ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_1|, ULTIMATE.start_main_#t~mem7=|v_ULTIMATE.start_main_#t~mem7_1|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_3|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_3|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9, ULTIMATE.start_main_~#t1~0.base, ULTIMATE.start_main_#t~mem8, ULTIMATE.start_main_#t~mem7, ULTIMATE.start_main_#t~nondet4, ULTIMATE.start_main_#t~nondet5, ULTIMATE.start_main_~#t2~0.offset, ULTIMATE.start_main_#t~nondet6, ULTIMATE.start_main_~#t3~0.base, ULTIMATE.start_main_~#t3~0.offset, ULTIMATE.start_main_~#t1~0.offset, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [110] L1252-->L1254: Formula: (= |v_#pthreadsMutex_13| (store |v_#pthreadsMutex_14| |v_~#mutex~0.base_13| (store (select |v_#pthreadsMutex_14| |v_~#mutex~0.base_13|) |v_~#mutex~0.offset_13| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_13|, #pthreadsMutex=|v_#pthreadsMutex_14|, ~#mutex~0.base=|v_~#mutex~0.base_13|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_13|, #pthreadsMutex=|v_#pthreadsMutex_13|, ~#mutex~0.base=|v_~#mutex~0.base_13|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [94] L1254-->L1254-1: Formula: (and (= (store |v_#length_4| |v_ULTIMATE.start_main_~#t1~0.base_4| 4) |v_#length_3|) (= 0 |v_ULTIMATE.start_main_~#t1~0.offset_4|) (= 0 (select |v_#valid_12| |v_ULTIMATE.start_main_~#t1~0.base_4|)) (= |v_#valid_11| (store |v_#valid_12| |v_ULTIMATE.start_main_~#t1~0.base_4| 1)) (not (= 0 |v_ULTIMATE.start_main_~#t1~0.base_4|))) InVars {#length=|v_#length_4|, #valid=|v_#valid_12|} OutVars{ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_4|, #length=|v_#length_3|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_4|, #valid=|v_#valid_11|} AuxVars[] AssignedVars[ULTIMATE.start_main_~#t1~0.base, #valid, #length, ULTIMATE.start_main_~#t1~0.offset] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [95] L1254-1-->L1254-2: Formula: (and (= (store |v_#length_6| |v_ULTIMATE.start_main_~#t2~0.base_4| 4) |v_#length_5|) (not (= 0 |v_ULTIMATE.start_main_~#t2~0.base_4|)) (= |v_ULTIMATE.start_main_~#t2~0.offset_4| 0) (= |v_#valid_13| (store |v_#valid_14| |v_ULTIMATE.start_main_~#t2~0.base_4| 1)) (= 0 (select |v_#valid_14| |v_ULTIMATE.start_main_~#t2~0.base_4|))) InVars {#length=|v_#length_6|, #valid=|v_#valid_14|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_4|, #length=|v_#length_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_4|, #valid=|v_#valid_13|} AuxVars[] AssignedVars[#valid, ULTIMATE.start_main_~#t2~0.offset, #length, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [75] L1254-2-->L1254-3: Formula: (and (= |v_ULTIMATE.start_main_~#t3~0.offset_4| 0) (= |v_#valid_15| (store |v_#valid_16| |v_ULTIMATE.start_main_~#t3~0.base_4| 1)) (= |v_#length_7| (store |v_#length_8| |v_ULTIMATE.start_main_~#t3~0.base_4| 4)) (= 0 (select |v_#valid_16| |v_ULTIMATE.start_main_~#t3~0.base_4|)) (not (= 0 |v_ULTIMATE.start_main_~#t3~0.base_4|))) InVars {#length=|v_#length_8|, #valid=|v_#valid_16|} OutVars{ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_4|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_4|, #length=|v_#length_7|, #valid=|v_#valid_15|} AuxVars[] AssignedVars[#valid, ULTIMATE.start_main_~#t3~0.base, ULTIMATE.start_main_~#t3~0.offset, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [76] L1254-3-->L1256: Formula: (= (store |v_#memory_int_7| |v_ULTIMATE.start_main_~#t1~0.base_5| (store (select |v_#memory_int_7| |v_ULTIMATE.start_main_~#t1~0.base_5|) |v_ULTIMATE.start_main_~#t1~0.offset_5| 0)) |v_#memory_int_6|) InVars {#memory_int=|v_#memory_int_7|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_5|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_5|} OutVars{#memory_int=|v_#memory_int_6|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_5|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_5|} AuxVars[] AssignedVars[#memory_int] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [169] L1256-->thread1ENTRY: Formula: (and (= |v_Thread0_thread1_#in~arg.offset_3| 0) (= 0 |v_Thread0_thread1_#in~arg.base_3|) (= v_Thread0_thread1_thidvar0_2 0)) InVars {} OutVars{Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_3|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_3|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_2} AuxVars[] AssignedVars[Thread0_thread1_#in~arg.base, Thread0_thread1_#in~arg.offset, Thread0_thread1_thidvar0] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [120] L1256-1-->L1257: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet4=|v_ULTIMATE.start_main_#t~nondet4_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet4] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [128] L1257-->L1257-1: Formula: (= |v_#memory_int_8| (store |v_#memory_int_9| |v_ULTIMATE.start_main_~#t2~0.base_5| (store (select |v_#memory_int_9| |v_ULTIMATE.start_main_~#t2~0.base_5|) |v_ULTIMATE.start_main_~#t2~0.offset_5| 1))) InVars {#memory_int=|v_#memory_int_9|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_5|} OutVars{#memory_int=|v_#memory_int_8|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_5|} AuxVars[] AssignedVars[#memory_int] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [170] L1257-1-->thread2ENTRY: Formula: (and (= 0 |v_Thread1_thread2_#in~arg.base_3|) (= 0 |v_Thread1_thread2_#in~arg.offset_3|) (= v_Thread1_thread2_thidvar0_2 1)) InVars {} OutVars{Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_3|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_2, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_3|} AuxVars[] AssignedVars[Thread1_thread2_#in~arg.base, Thread1_thread2_thidvar0, Thread1_thread2_#in~arg.offset] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [152] thread2ENTRY-->L1231: Formula: (and (= v_Thread1_thread2_~arg.base_1 |v_Thread1_thread2_#in~arg.base_1|) (= v_Thread1_thread2_~arg.offset_1 |v_Thread1_thread2_#in~arg.offset_1|)) InVars {Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_1|, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_1|} OutVars{Thread1_thread2_~arg.offset=v_Thread1_thread2_~arg.offset_1, Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_1|, Thread1_thread2_~arg.base=v_Thread1_thread2_~arg.base_1, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_1|} AuxVars[] AssignedVars[Thread1_thread2_~arg.offset, Thread1_thread2_~arg.base] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [136] L1257-2-->L1258: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet5=|v_ULTIMATE.start_main_#t~nondet5_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet5] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [105] L1258-->L1258-1: Formula: (= (store |v_#memory_int_11| |v_ULTIMATE.start_main_~#t3~0.base_5| (store (select |v_#memory_int_11| |v_ULTIMATE.start_main_~#t3~0.base_5|) |v_ULTIMATE.start_main_~#t3~0.offset_5| 2)) |v_#memory_int_10|) InVars {#memory_int=|v_#memory_int_11|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_5|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_5|} OutVars{#memory_int=|v_#memory_int_10|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_5|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_5|} AuxVars[] AssignedVars[#memory_int] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [153] L1231-->L1231-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_6| |v_~#mutex~0.base_3|))) (and (= 0 (select .cse0 |v_~#mutex~0.offset_3|)) (= |v_Thread1_thread2_#t~nondet2_1| 0) (= (store |v_#pthreadsMutex_6| |v_~#mutex~0.base_3| (store .cse0 |v_~#mutex~0.offset_3| 1)) |v_#pthreadsMutex_5|))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_3|, #pthreadsMutex=|v_#pthreadsMutex_6|, ~#mutex~0.base=|v_~#mutex~0.base_3|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_3|, #pthreadsMutex=|v_#pthreadsMutex_5|, Thread1_thread2_#t~nondet2=|v_Thread1_thread2_#t~nondet2_1|, ~#mutex~0.base=|v_~#mutex~0.base_3|} AuxVars[] AssignedVars[#pthreadsMutex, Thread1_thread2_#t~nondet2] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [154] L1231-1-->L1232: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet2=|v_Thread1_thread2_#t~nondet2_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet2] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [171] L1258-1-->thread3ENTRY: Formula: (and (= v_Thread2_thread3_thidvar0_2 2) (= 0 |v_Thread2_thread3_#in~arg.offset_3|) (= |v_Thread2_thread3_#in~arg.base_3| 0)) InVars {} OutVars{Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_3|, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_3|, Thread2_thread3_thidvar0=v_Thread2_thread3_thidvar0_2} AuxVars[] AssignedVars[Thread2_thread3_#in~arg.offset, Thread2_thread3_#in~arg.base, Thread2_thread3_thidvar0] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [155] L1232-->L1233: Formula: (= v_~data~0_3 (+ v_~data~0_4 2)) InVars {~data~0=v_~data~0_4} OutVars{~data~0=v_~data~0_3} AuxVars[] AssignedVars[~data~0] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 [156] L1233-->L1234: Formula: (= |v_#pthreadsMutex_7| (store |v_#pthreadsMutex_8| |v_~#mutex~0.base_4| (store (select |v_#pthreadsMutex_8| |v_~#mutex~0.base_4|) |v_~#mutex~0.offset_4| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_4|, #pthreadsMutex=|v_#pthreadsMutex_8|, ~#mutex~0.base=|v_~#mutex~0.base_4|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_4|, #pthreadsMutex=|v_#pthreadsMutex_7|, ~#mutex~0.base=|v_~#mutex~0.base_4|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [143] thread1ENTRY-->L1222: Formula: (and (= v_Thread0_thread1_~arg.offset_1 |v_Thread0_thread1_#in~arg.offset_1|) (= v_Thread0_thread1_~arg.base_1 |v_Thread0_thread1_#in~arg.base_1|)) InVars {Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_1|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_1|} OutVars{Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_1|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_1|, Thread0_thread1_~arg.offset=v_Thread0_thread1_~arg.offset_1, Thread0_thread1_~arg.base=v_Thread0_thread1_~arg.base_1} AuxVars[] AssignedVars[Thread0_thread1_~arg.offset, Thread0_thread1_~arg.base] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [144] L1222-->L1222-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_2| |v_~#mutex~0.base_1|))) (and (= (store |v_#pthreadsMutex_2| |v_~#mutex~0.base_1| (store .cse0 |v_~#mutex~0.offset_1| 1)) |v_#pthreadsMutex_1|) (= 0 (select .cse0 |v_~#mutex~0.offset_1|)) (= |v_Thread0_thread1_#t~nondet0_1| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_1|, #pthreadsMutex=|v_#pthreadsMutex_2|, ~#mutex~0.base=|v_~#mutex~0.base_1|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_1|, #pthreadsMutex=|v_#pthreadsMutex_1|, Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_1|, ~#mutex~0.base=|v_~#mutex~0.base_1|} AuxVars[] AssignedVars[#pthreadsMutex, Thread0_thread1_#t~nondet0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~nondet0|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [145] L1222-1-->L1223: Formula: true InVars {} OutVars{Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_2|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [146] L1223-->L1223-1: Formula: (= |v_Thread0_thread1_#t~post1_1| v_~data~0_1) InVars {~data~0=v_~data~0_1} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_1|, ~data~0=v_~data~0_1} AuxVars[] AssignedVars[Thread0_thread1_#t~post1] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=2, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [147] L1223-1-->L1223-2: Formula: (= v_~data~0_2 (+ |v_Thread0_thread1_#t~post1_2| 1)) InVars {Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_2|} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_2|, ~data~0=v_~data~0_2} AuxVars[] AssignedVars[~data~0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=2, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 [148] L1223-2-->L1224: Formula: true InVars {} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~post1] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 [149] L1224-->L1225: Formula: (= |v_#pthreadsMutex_3| (store |v_#pthreadsMutex_4| |v_~#mutex~0.base_2| (store (select |v_#pthreadsMutex_4| |v_~#mutex~0.base_2|) |v_~#mutex~0.offset_2| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_2|, #pthreadsMutex=|v_#pthreadsMutex_4|, ~#mutex~0.base=|v_~#mutex~0.base_2|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_2|, #pthreadsMutex=|v_#pthreadsMutex_3|, ~#mutex~0.base=|v_~#mutex~0.base_2|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [159] thread3ENTRY-->L1240: Formula: (and (= v_Thread2_thread3_~arg.offset_1 |v_Thread2_thread3_#in~arg.offset_1|) (= v_Thread2_thread3_~arg.base_1 |v_Thread2_thread3_#in~arg.base_1|)) InVars {Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_1|, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_1|} OutVars{Thread2_thread3_~arg.base=v_Thread2_thread3_~arg.base_1, Thread2_thread3_~arg.offset=v_Thread2_thread3_~arg.offset_1, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_1|, Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_1|} AuxVars[] AssignedVars[Thread2_thread3_~arg.base, Thread2_thread3_~arg.offset] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [160] L1240-->L1240-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_10| |v_~#mutex~0.base_5|))) (and (= (store |v_#pthreadsMutex_10| |v_~#mutex~0.base_5| (store .cse0 |v_~#mutex~0.offset_5| 1)) |v_#pthreadsMutex_9|) (= |v_Thread2_thread3_#t~nondet3_1| 0) (= 0 (select .cse0 |v_~#mutex~0.offset_5|)))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_5|, #pthreadsMutex=|v_#pthreadsMutex_10|, ~#mutex~0.base=|v_~#mutex~0.base_5|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_5|, #pthreadsMutex=|v_#pthreadsMutex_9|, ~#mutex~0.base=|v_~#mutex~0.base_5|, Thread2_thread3_#t~nondet3=|v_Thread2_thread3_#t~nondet3_1|} AuxVars[] AssignedVars[#pthreadsMutex, Thread2_thread3_#t~nondet3] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |Thread2_thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [161] L1240-1-->L1241: Formula: true InVars {} OutVars{Thread2_thread3_#t~nondet3=|v_Thread2_thread3_#t~nondet3_2|} AuxVars[] AssignedVars[Thread2_thread3_#t~nondet3] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [162] L1241-->L1242: Formula: (<= 3 v_~data~0_5) InVars {~data~0=v_~data~0_5} OutVars{~data~0=v_~data~0_5} AuxVars[] AssignedVars[] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [164] L1242-->thread3Err0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 #valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 ~data~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 SUMMARY for call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); srcloc: L1217 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); srcloc: L1217-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); srcloc: L1217-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); srcloc: L1217-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); srcloc: L1217-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); srcloc: L1217-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1254 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1254-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); srcloc: L1254-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1254-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 0 thread1(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1257 VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 1 thread2(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet5; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); srcloc: L1258 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1231 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 havoc #t~nondet2; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 2 thread3(0, 0); VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~data~0 := 2 + ~data~0; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1222 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~nondet0|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 havoc #t~nondet0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 #t~post1 := ~data~0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~data~0 := 1 + #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 havoc #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 SUMMARY for call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1240 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 havoc #t~nondet3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume ~data~0 >= 3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume !false; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 #valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 ~data~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 SUMMARY for call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); srcloc: L1217 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); srcloc: L1217-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); srcloc: L1217-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); srcloc: L1217-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); srcloc: L1217-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); srcloc: L1217-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1254 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1254-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); srcloc: L1254-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1254-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 0 thread1(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1257 VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 1 thread2(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet5; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); srcloc: L1258 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1231 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 havoc #t~nondet2; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 2 thread3(0, 0); VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~data~0 := 2 + ~data~0; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1222 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~nondet0|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 havoc #t~nondet0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 #t~post1 := ~data~0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~data~0 := 1 + #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 havoc #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 SUMMARY for call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1240 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 havoc #t~nondet3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume ~data~0 >= 3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume !false; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0] [?] -1 #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data~0=0] [L1217] -1 call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1(0, 0); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] -1 call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1229-L1235] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] -1 call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet2=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1220-L1226] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet0=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1238-L1247] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet3=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1241-L1244] 2 assume ~data~0 >= 3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0] [?] -1 #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data~0=0] [L1217] -1 call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1(0, 0); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] -1 call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1229-L1235] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] -1 call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet2=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1220-L1226] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet0=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1238-L1247] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet3=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1241-L1244] 2 assume ~data~0 >= 3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0, main_~#t3~0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, main_~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, main_~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0, main_~#t3~0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, main_~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, main_~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc #t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, ~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc #t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, ~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1218] -1 int data = 0; VAL [data=0] [L1217] -1 pthread_mutex_t mutex; VAL [data=0, mutex={27:0}] [L1254] -1 pthread_t t1, t2, t3; VAL [data=0, mutex={27:0}] [L1256] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data=0, mutex={27:0}] [L1257] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1258] FCALL, FORK -1 pthread_create(&t3, 0, thread3, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1232] 0 data+=2 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=2, mutex={27:0}] [L1223] 1 data++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1241] COND TRUE 2 data >= 3 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1242] 2 __VERIFIER_error() VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] ----- [2018-11-23 07:03:09,905 INFO L305 ceAbstractionStarter]: Did not count any witness invariants because Icfg is not BoogieIcfg [2018-11-23 07:03:09,907 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 07:03:09 BasicIcfg [2018-11-23 07:03:09,907 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 07:03:09,907 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 07:03:09,907 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 07:03:09,907 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 07:03:09,908 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 07:03:08" (3/4) ... [2018-11-23 07:03:09,911 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.modelcheckerutils.cfg.transformations.BlockEncodingBacktranslator [?] -1 [107] ULTIMATE.startENTRY-->L-1: Formula: (and (= |v_#NULL.offset_1| 0) (= |v_#NULL.base_1| 0)) InVars {} OutVars{#NULL.offset=|v_#NULL.offset_1|, #NULL.base=|v_#NULL.base_1|} AuxVars[] AssignedVars[#NULL.offset, #NULL.base] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [91] L-1-->L1218: Formula: (= |v_#valid_7| (store |v_#valid_8| 0 0)) InVars {#valid=|v_#valid_8|} OutVars{#valid=|v_#valid_7|} AuxVars[] AssignedVars[#valid] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [101] L1218-->L1217: Formula: (= v_~data~0_7 0) InVars {} OutVars{~data~0=v_~data~0_7} AuxVars[] AssignedVars[~data~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 [79] L1217-->L1217-1: Formula: (and (= |v_~#mutex~0.offset_7| 0) (not (= 0 |v_~#mutex~0.base_7|)) (= (select |v_#valid_10| |v_~#mutex~0.base_7|) 0) (= (store |v_#length_2| |v_~#mutex~0.base_7| 24) |v_#length_1|) (= |v_#valid_9| (store |v_#valid_10| |v_~#mutex~0.base_7| 1))) InVars {#length=|v_#length_2|, #valid=|v_#valid_10|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_7|, #length=|v_#length_1|, ~#mutex~0.base=|v_~#mutex~0.base_7|, #valid=|v_#valid_9|} AuxVars[] AssignedVars[~#mutex~0.base, #valid, ~#mutex~0.offset, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [85] L1217-1-->L1217-2: Formula: (= (select (select |v_#memory_int_1| |v_~#mutex~0.base_8|) |v_~#mutex~0.offset_8|) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_8|, #memory_int=|v_#memory_int_1|, ~#mutex~0.base=|v_~#mutex~0.base_8|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_8|, #memory_int=|v_#memory_int_1|, ~#mutex~0.base=|v_~#mutex~0.base_8|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [88] L1217-2-->L1217-3: Formula: (= 0 (select (select |v_#memory_int_2| |v_~#mutex~0.base_9|) (+ |v_~#mutex~0.offset_9| 4))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_9|, #memory_int=|v_#memory_int_2|, ~#mutex~0.base=|v_~#mutex~0.base_9|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_9|, #memory_int=|v_#memory_int_2|, ~#mutex~0.base=|v_~#mutex~0.base_9|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [131] L1217-3-->L1217-4: Formula: (= (select (select |v_#memory_int_3| |v_~#mutex~0.base_10|) (+ |v_~#mutex~0.offset_10| 8)) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_10|, #memory_int=|v_#memory_int_3|, ~#mutex~0.base=|v_~#mutex~0.base_10|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_10|, #memory_int=|v_#memory_int_3|, ~#mutex~0.base=|v_~#mutex~0.base_10|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [133] L1217-4-->L1217-5: Formula: (= (select (select |v_#memory_int_4| |v_~#mutex~0.base_11|) (+ |v_~#mutex~0.offset_11| 12)) 0) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_11|, #memory_int=|v_#memory_int_4|, ~#mutex~0.base=|v_~#mutex~0.base_11|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_11|, #memory_int=|v_#memory_int_4|, ~#mutex~0.base=|v_~#mutex~0.base_11|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [137] L1217-5-->L1217-6: Formula: (= 0 (select (select |v_#memory_int_5| |v_~#mutex~0.base_12|) (+ |v_~#mutex~0.offset_12| 16))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_12|, #memory_int=|v_#memory_int_5|, ~#mutex~0.base=|v_~#mutex~0.base_12|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_12|, #memory_int=|v_#memory_int_5|, ~#mutex~0.base=|v_~#mutex~0.base_12|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [138] L1217-6-->L-1-1: Formula: true InVars {} OutVars{ULTIMATE.start_main_#res=|v_ULTIMATE.start_main_#res_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#res] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [125] L-1-1-->L1252: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet4=|v_ULTIMATE.start_main_#t~nondet4_1|, ULTIMATE.start_main_#t~nondet5=|v_ULTIMATE.start_main_#t~nondet5_1|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_3|, ULTIMATE.start_main_#t~nondet6=|v_ULTIMATE.start_main_#t~nondet6_1|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_3|, ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_2|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_3|, ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_1|, ULTIMATE.start_main_#t~mem7=|v_ULTIMATE.start_main_#t~mem7_1|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_3|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_3|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9, ULTIMATE.start_main_~#t1~0.base, ULTIMATE.start_main_#t~mem8, ULTIMATE.start_main_#t~mem7, ULTIMATE.start_main_#t~nondet4, ULTIMATE.start_main_#t~nondet5, ULTIMATE.start_main_~#t2~0.offset, ULTIMATE.start_main_#t~nondet6, ULTIMATE.start_main_~#t3~0.base, ULTIMATE.start_main_~#t3~0.offset, ULTIMATE.start_main_~#t1~0.offset, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [110] L1252-->L1254: Formula: (= |v_#pthreadsMutex_13| (store |v_#pthreadsMutex_14| |v_~#mutex~0.base_13| (store (select |v_#pthreadsMutex_14| |v_~#mutex~0.base_13|) |v_~#mutex~0.offset_13| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_13|, #pthreadsMutex=|v_#pthreadsMutex_14|, ~#mutex~0.base=|v_~#mutex~0.base_13|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_13|, #pthreadsMutex=|v_#pthreadsMutex_13|, ~#mutex~0.base=|v_~#mutex~0.base_13|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [94] L1254-->L1254-1: Formula: (and (= (store |v_#length_4| |v_ULTIMATE.start_main_~#t1~0.base_4| 4) |v_#length_3|) (= 0 |v_ULTIMATE.start_main_~#t1~0.offset_4|) (= 0 (select |v_#valid_12| |v_ULTIMATE.start_main_~#t1~0.base_4|)) (= |v_#valid_11| (store |v_#valid_12| |v_ULTIMATE.start_main_~#t1~0.base_4| 1)) (not (= 0 |v_ULTIMATE.start_main_~#t1~0.base_4|))) InVars {#length=|v_#length_4|, #valid=|v_#valid_12|} OutVars{ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_4|, #length=|v_#length_3|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_4|, #valid=|v_#valid_11|} AuxVars[] AssignedVars[ULTIMATE.start_main_~#t1~0.base, #valid, #length, ULTIMATE.start_main_~#t1~0.offset] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [95] L1254-1-->L1254-2: Formula: (and (= (store |v_#length_6| |v_ULTIMATE.start_main_~#t2~0.base_4| 4) |v_#length_5|) (not (= 0 |v_ULTIMATE.start_main_~#t2~0.base_4|)) (= |v_ULTIMATE.start_main_~#t2~0.offset_4| 0) (= |v_#valid_13| (store |v_#valid_14| |v_ULTIMATE.start_main_~#t2~0.base_4| 1)) (= 0 (select |v_#valid_14| |v_ULTIMATE.start_main_~#t2~0.base_4|))) InVars {#length=|v_#length_6|, #valid=|v_#valid_14|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_4|, #length=|v_#length_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_4|, #valid=|v_#valid_13|} AuxVars[] AssignedVars[#valid, ULTIMATE.start_main_~#t2~0.offset, #length, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [75] L1254-2-->L1254-3: Formula: (and (= |v_ULTIMATE.start_main_~#t3~0.offset_4| 0) (= |v_#valid_15| (store |v_#valid_16| |v_ULTIMATE.start_main_~#t3~0.base_4| 1)) (= |v_#length_7| (store |v_#length_8| |v_ULTIMATE.start_main_~#t3~0.base_4| 4)) (= 0 (select |v_#valid_16| |v_ULTIMATE.start_main_~#t3~0.base_4|)) (not (= 0 |v_ULTIMATE.start_main_~#t3~0.base_4|))) InVars {#length=|v_#length_8|, #valid=|v_#valid_16|} OutVars{ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_4|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_4|, #length=|v_#length_7|, #valid=|v_#valid_15|} AuxVars[] AssignedVars[#valid, ULTIMATE.start_main_~#t3~0.base, ULTIMATE.start_main_~#t3~0.offset, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [76] L1254-3-->L1256: Formula: (= (store |v_#memory_int_7| |v_ULTIMATE.start_main_~#t1~0.base_5| (store (select |v_#memory_int_7| |v_ULTIMATE.start_main_~#t1~0.base_5|) |v_ULTIMATE.start_main_~#t1~0.offset_5| 0)) |v_#memory_int_6|) InVars {#memory_int=|v_#memory_int_7|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_5|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_5|} OutVars{#memory_int=|v_#memory_int_6|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_5|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_5|} AuxVars[] AssignedVars[#memory_int] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [169] L1256-->thread1ENTRY: Formula: (and (= |v_Thread0_thread1_#in~arg.offset_3| 0) (= 0 |v_Thread0_thread1_#in~arg.base_3|) (= v_Thread0_thread1_thidvar0_2 0)) InVars {} OutVars{Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_3|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_3|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_2} AuxVars[] AssignedVars[Thread0_thread1_#in~arg.base, Thread0_thread1_#in~arg.offset, Thread0_thread1_thidvar0] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [120] L1256-1-->L1257: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet4=|v_ULTIMATE.start_main_#t~nondet4_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet4] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [128] L1257-->L1257-1: Formula: (= |v_#memory_int_8| (store |v_#memory_int_9| |v_ULTIMATE.start_main_~#t2~0.base_5| (store (select |v_#memory_int_9| |v_ULTIMATE.start_main_~#t2~0.base_5|) |v_ULTIMATE.start_main_~#t2~0.offset_5| 1))) InVars {#memory_int=|v_#memory_int_9|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_5|} OutVars{#memory_int=|v_#memory_int_8|, ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_5|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_5|} AuxVars[] AssignedVars[#memory_int] VAL [Thread0_thread1_thidvar0=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [170] L1257-1-->thread2ENTRY: Formula: (and (= 0 |v_Thread1_thread2_#in~arg.base_3|) (= 0 |v_Thread1_thread2_#in~arg.offset_3|) (= v_Thread1_thread2_thidvar0_2 1)) InVars {} OutVars{Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_3|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_2, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_3|} AuxVars[] AssignedVars[Thread1_thread2_#in~arg.base, Thread1_thread2_thidvar0, Thread1_thread2_#in~arg.offset] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [152] thread2ENTRY-->L1231: Formula: (and (= v_Thread1_thread2_~arg.base_1 |v_Thread1_thread2_#in~arg.base_1|) (= v_Thread1_thread2_~arg.offset_1 |v_Thread1_thread2_#in~arg.offset_1|)) InVars {Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_1|, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_1|} OutVars{Thread1_thread2_~arg.offset=v_Thread1_thread2_~arg.offset_1, Thread1_thread2_#in~arg.base=|v_Thread1_thread2_#in~arg.base_1|, Thread1_thread2_~arg.base=v_Thread1_thread2_~arg.base_1, Thread1_thread2_#in~arg.offset=|v_Thread1_thread2_#in~arg.offset_1|} AuxVars[] AssignedVars[Thread1_thread2_~arg.offset, Thread1_thread2_~arg.base] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [136] L1257-2-->L1258: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet5=|v_ULTIMATE.start_main_#t~nondet5_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet5] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 [105] L1258-->L1258-1: Formula: (= (store |v_#memory_int_11| |v_ULTIMATE.start_main_~#t3~0.base_5| (store (select |v_#memory_int_11| |v_ULTIMATE.start_main_~#t3~0.base_5|) |v_ULTIMATE.start_main_~#t3~0.offset_5| 2)) |v_#memory_int_10|) InVars {#memory_int=|v_#memory_int_11|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_5|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_5|} OutVars{#memory_int=|v_#memory_int_10|, ULTIMATE.start_main_~#t3~0.base=|v_ULTIMATE.start_main_~#t3~0.base_5|, ULTIMATE.start_main_~#t3~0.offset=|v_ULTIMATE.start_main_~#t3~0.offset_5|} AuxVars[] AssignedVars[#memory_int] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [153] L1231-->L1231-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_6| |v_~#mutex~0.base_3|))) (and (= 0 (select .cse0 |v_~#mutex~0.offset_3|)) (= |v_Thread1_thread2_#t~nondet2_1| 0) (= (store |v_#pthreadsMutex_6| |v_~#mutex~0.base_3| (store .cse0 |v_~#mutex~0.offset_3| 1)) |v_#pthreadsMutex_5|))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_3|, #pthreadsMutex=|v_#pthreadsMutex_6|, ~#mutex~0.base=|v_~#mutex~0.base_3|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_3|, #pthreadsMutex=|v_#pthreadsMutex_5|, Thread1_thread2_#t~nondet2=|v_Thread1_thread2_#t~nondet2_1|, ~#mutex~0.base=|v_~#mutex~0.base_3|} AuxVars[] AssignedVars[#pthreadsMutex, Thread1_thread2_#t~nondet2] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [154] L1231-1-->L1232: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet2=|v_Thread1_thread2_#t~nondet2_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet2] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 [171] L1258-1-->thread3ENTRY: Formula: (and (= v_Thread2_thread3_thidvar0_2 2) (= 0 |v_Thread2_thread3_#in~arg.offset_3|) (= |v_Thread2_thread3_#in~arg.base_3| 0)) InVars {} OutVars{Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_3|, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_3|, Thread2_thread3_thidvar0=v_Thread2_thread3_thidvar0_2} AuxVars[] AssignedVars[Thread2_thread3_#in~arg.offset, Thread2_thread3_#in~arg.base, Thread2_thread3_thidvar0] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 [155] L1232-->L1233: Formula: (= v_~data~0_3 (+ v_~data~0_4 2)) InVars {~data~0=v_~data~0_4} OutVars{~data~0=v_~data~0_3} AuxVars[] AssignedVars[~data~0] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 [156] L1233-->L1234: Formula: (= |v_#pthreadsMutex_7| (store |v_#pthreadsMutex_8| |v_~#mutex~0.base_4| (store (select |v_#pthreadsMutex_8| |v_~#mutex~0.base_4|) |v_~#mutex~0.offset_4| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_4|, #pthreadsMutex=|v_#pthreadsMutex_8|, ~#mutex~0.base=|v_~#mutex~0.base_4|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_4|, #pthreadsMutex=|v_#pthreadsMutex_7|, ~#mutex~0.base=|v_~#mutex~0.base_4|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [Thread0_thread1_thidvar0=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [143] thread1ENTRY-->L1222: Formula: (and (= v_Thread0_thread1_~arg.offset_1 |v_Thread0_thread1_#in~arg.offset_1|) (= v_Thread0_thread1_~arg.base_1 |v_Thread0_thread1_#in~arg.base_1|)) InVars {Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_1|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_1|} OutVars{Thread0_thread1_#in~arg.base=|v_Thread0_thread1_#in~arg.base_1|, Thread0_thread1_#in~arg.offset=|v_Thread0_thread1_#in~arg.offset_1|, Thread0_thread1_~arg.offset=v_Thread0_thread1_~arg.offset_1, Thread0_thread1_~arg.base=v_Thread0_thread1_~arg.base_1} AuxVars[] AssignedVars[Thread0_thread1_~arg.offset, Thread0_thread1_~arg.base] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [144] L1222-->L1222-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_2| |v_~#mutex~0.base_1|))) (and (= (store |v_#pthreadsMutex_2| |v_~#mutex~0.base_1| (store .cse0 |v_~#mutex~0.offset_1| 1)) |v_#pthreadsMutex_1|) (= 0 (select .cse0 |v_~#mutex~0.offset_1|)) (= |v_Thread0_thread1_#t~nondet0_1| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_1|, #pthreadsMutex=|v_#pthreadsMutex_2|, ~#mutex~0.base=|v_~#mutex~0.base_1|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_1|, #pthreadsMutex=|v_#pthreadsMutex_1|, Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_1|, ~#mutex~0.base=|v_~#mutex~0.base_1|} AuxVars[] AssignedVars[#pthreadsMutex, Thread0_thread1_#t~nondet0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~nondet0|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [145] L1222-1-->L1223: Formula: true InVars {} OutVars{Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_2|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [146] L1223-->L1223-1: Formula: (= |v_Thread0_thread1_#t~post1_1| v_~data~0_1) InVars {~data~0=v_~data~0_1} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_1|, ~data~0=v_~data~0_1} AuxVars[] AssignedVars[Thread0_thread1_#t~post1] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=2, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 [147] L1223-1-->L1223-2: Formula: (= v_~data~0_2 (+ |v_Thread0_thread1_#t~post1_2| 1)) InVars {Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_2|} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_2|, ~data~0=v_~data~0_2} AuxVars[] AssignedVars[~data~0] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=2, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 [148] L1223-2-->L1224: Formula: true InVars {} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~post1] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 [149] L1224-->L1225: Formula: (= |v_#pthreadsMutex_3| (store |v_#pthreadsMutex_4| |v_~#mutex~0.base_2| (store (select |v_#pthreadsMutex_4| |v_~#mutex~0.base_2|) |v_~#mutex~0.offset_2| 0))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_2|, #pthreadsMutex=|v_#pthreadsMutex_4|, ~#mutex~0.base=|v_~#mutex~0.base_2|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_2|, #pthreadsMutex=|v_#pthreadsMutex_3|, ~#mutex~0.base=|v_~#mutex~0.base_2|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [159] thread3ENTRY-->L1240: Formula: (and (= v_Thread2_thread3_~arg.offset_1 |v_Thread2_thread3_#in~arg.offset_1|) (= v_Thread2_thread3_~arg.base_1 |v_Thread2_thread3_#in~arg.base_1|)) InVars {Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_1|, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_1|} OutVars{Thread2_thread3_~arg.base=v_Thread2_thread3_~arg.base_1, Thread2_thread3_~arg.offset=v_Thread2_thread3_~arg.offset_1, Thread2_thread3_#in~arg.base=|v_Thread2_thread3_#in~arg.base_1|, Thread2_thread3_#in~arg.offset=|v_Thread2_thread3_#in~arg.offset_1|} AuxVars[] AssignedVars[Thread2_thread3_~arg.base, Thread2_thread3_~arg.offset] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [160] L1240-->L1240-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_10| |v_~#mutex~0.base_5|))) (and (= (store |v_#pthreadsMutex_10| |v_~#mutex~0.base_5| (store .cse0 |v_~#mutex~0.offset_5| 1)) |v_#pthreadsMutex_9|) (= |v_Thread2_thread3_#t~nondet3_1| 0) (= 0 (select .cse0 |v_~#mutex~0.offset_5|)))) InVars {~#mutex~0.offset=|v_~#mutex~0.offset_5|, #pthreadsMutex=|v_#pthreadsMutex_10|, ~#mutex~0.base=|v_~#mutex~0.base_5|} OutVars{~#mutex~0.offset=|v_~#mutex~0.offset_5|, #pthreadsMutex=|v_#pthreadsMutex_9|, ~#mutex~0.base=|v_~#mutex~0.base_5|, Thread2_thread3_#t~nondet3=|v_Thread2_thread3_#t~nondet3_1|} AuxVars[] AssignedVars[#pthreadsMutex, Thread2_thread3_#t~nondet3] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |Thread2_thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [161] L1240-1-->L1241: Formula: true InVars {} OutVars{Thread2_thread3_#t~nondet3=|v_Thread2_thread3_#t~nondet3_2|} AuxVars[] AssignedVars[Thread2_thread3_#t~nondet3] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [162] L1241-->L1242: Formula: (<= 3 v_~data~0_5) InVars {~data~0=v_~data~0_5} OutVars{~data~0=v_~data~0_5} AuxVars[] AssignedVars[] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 [164] L1242-->thread3Err0ASSERT_VIOLATIONERROR_FUNCTION: Formula: true InVars {} OutVars{} AuxVars[] AssignedVars[] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=0, Thread1_thread2_thidvar0=1, Thread1_thread2_~arg.base=0, Thread1_thread2_~arg.offset=0, Thread2_thread3_thidvar0=2, Thread2_thread3_~arg.base=0, Thread2_thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread2_thread3_#in~arg.base|=0, |Thread2_thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 #valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 ~data~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 SUMMARY for call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); srcloc: L1217 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); srcloc: L1217-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); srcloc: L1217-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); srcloc: L1217-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); srcloc: L1217-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); srcloc: L1217-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1254 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1254-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); srcloc: L1254-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1254-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 0 thread1(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1257 VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 1 thread2(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet5; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); srcloc: L1258 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1231 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 havoc #t~nondet2; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 2 thread3(0, 0); VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~data~0 := 2 + ~data~0; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1222 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~nondet0|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 havoc #t~nondet0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 #t~post1 := ~data~0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~data~0 := 1 + #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 havoc #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 SUMMARY for call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1240 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 havoc #t~nondet3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume ~data~0 >= 3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume !false; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 #valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 ~data~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data~0=0] [?] -1 SUMMARY for call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); srcloc: L1217 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); srcloc: L1217-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); srcloc: L1217-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); srcloc: L1217-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); srcloc: L1217-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); srcloc: L1217-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1254 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1254-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); srcloc: L1254-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1254-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 0 thread1(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1257 VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 1 thread2(0, 0); VAL [|#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 havoc main_#t~nondet5; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] -1 SUMMARY for call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); srcloc: L1258 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1231 VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet2|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 havoc #t~nondet2; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] FORK -1 fork 2 thread3(0, 0); VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=0] [?] 0 ~data~0 := 2 + ~data~0; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1222 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~nondet0|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 havoc #t~nondet0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 #t~post1 := ~data~0; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=2] [?] 1 ~data~0 := 1 + #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread1_#t~post1|=2, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 havoc #t~post1; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 SUMMARY for call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); srcloc: L1240 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |thread3_#t~nondet3|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 havoc #t~nondet3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume ~data~0 >= 3; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] 2 assume !false; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, thread2_~arg.base=0, thread2_~arg.offset=0, thread3_~arg.base=0, thread3_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread3_#in~arg.base|=0, |thread3_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=28, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=25, |ULTIMATE.start_main_~#t2~0.offset|=0, |ULTIMATE.start_main_~#t3~0.base|=26, |ULTIMATE.start_main_~#t3~0.offset|=0, |~#mutex~0.base|=27, |~#mutex~0.offset|=0, ~data~0=3] [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0] [?] -1 #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data~0=0] [L1217] -1 call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1(0, 0); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] -1 call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1229-L1235] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] -1 call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet2=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1220-L1226] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet0=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1238-L1247] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet3=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1241-L1244] 2 assume ~data~0 >= 3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] -1 #NULL.base, #NULL.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0] [?] -1 #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data~0=0] [L1217] -1 call ~#mutex~0.base, ~#mutex~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 4 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 8 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 12 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1217] -1 call write~init~int(0, ~#mutex~0.base, 16 + ~#mutex~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset, main_~#t3~0.base, main_~#t3~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1254] -1 call main_~#t3~0.base, main_~#t3~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1(0, 0); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] -1 call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~data~0=0] [L1229-L1235] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] -1 call write~int(2, main_~#t3~0.base, main_~#t3~0.offset, 4); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet2=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3(0, 0); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data~0=2] [L1220-L1226] 1 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet0=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=2, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex := #pthreadsMutex[~#mutex~0.base,~#mutex~0.offset := 0]; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1238-L1247] 2 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0.base, ~#mutex~0.offset); VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~nondet3=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1241-L1244] 2 assume ~data~0 >= 3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=28, main_~#t1~0.offset=0, main_~#t2~0.base=25, main_~#t2~0.offset=0, main_~#t3~0.base=26, main_~#t3~0.offset=0, ~#mutex~0.base=27, ~#mutex~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~arg.offset=0, ~data~0=3] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0, main_~#t3~0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, main_~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, main_~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [?] -1 havoc main_#t~nondet4, main_#t~nondet5, main_#t~nondet6, main_#t~mem7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0, main_~#t3~0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call main_~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc main_#t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, main_~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc main_#t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, main_~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=28, main_~#t1~0!offset=0, main_~#t2~0!base=25, main_~#t2~0!offset=0, main_~#t3~0!base=26, main_~#t3~0!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc #t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, ~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1218] -1 ~data~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data~0=0] [L1217] FCALL -1 call ~#mutex~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 4 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 8 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 12 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1217] FCALL -1 call write~init~int(0, { base: ~#mutex~0!base, offset: 16 + ~#mutex~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1252] -1 #pthreadsMutex[~#mutex~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1254] FCALL -1 call ~#t3~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1256] -1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1257] FORK -1 fork 1 thread2({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~data~0=0] [L1229-L1235] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1257] -1 havoc #t~nondet5; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FCALL -1 call write~int(2, ~#t3~0, 4); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet2=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1231] 0 havoc #t~nondet2; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1258] FORK -1 fork 2 thread3({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=0] [L1232] 0 ~data~0 := 2 + ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1233] 0 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data~0=2] [L1220-L1226] 1 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] FCALL 1 call #t~nondet0 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet0=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1222] 1 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 #t~post1 := ~data~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=2] [L1223] 1 ~data~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=2, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1223] 1 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1224] 1 #pthreadsMutex[~#mutex~0] := 0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1238-L1247] 2 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] FCALL 2 call #t~nondet3 := #PthreadsMutexLock(~#mutex~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~nondet3=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1240] 2 havoc #t~nondet3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1241] COND TRUE 2 ~data~0 >= 3 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1242] 2 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#mutex~0!base=27, ~#mutex~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~arg!offset=0, ~data~0=3] [L1218] -1 int data = 0; VAL [data=0] [L1217] -1 pthread_mutex_t mutex; VAL [data=0, mutex={27:0}] [L1254] -1 pthread_t t1, t2, t3; VAL [data=0, mutex={27:0}] [L1256] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data=0, mutex={27:0}] [L1257] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1258] FCALL, FORK -1 pthread_create(&t3, 0, thread3, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1232] 0 data+=2 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=2, mutex={27:0}] [L1223] 1 data++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1241] COND TRUE 2 data >= 3 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1242] 2 __VERIFIER_error() VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] ----- [2018-11-23 07:03:10,204 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_5d14fac0-0877-4bbe-bd24-6bc479d7efe2/bin-2019/uautomizer/witness.graphml [2018-11-23 07:03:10,204 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 07:03:10,205 INFO L168 Benchmark]: Toolchain (without parser) took 2218.72 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 137.4 MB). Free memory was 956.6 MB in the beginning and 878.5 MB in the end (delta: 78.0 MB). Peak memory consumption was 215.4 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,206 INFO L168 Benchmark]: CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 07:03:10,206 INFO L168 Benchmark]: CACSL2BoogieTranslator took 367.10 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 137.4 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -161.4 MB). Peak memory consumption was 34.7 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,207 INFO L168 Benchmark]: Boogie Procedure Inliner took 32.35 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 07:03:10,207 INFO L168 Benchmark]: Boogie Preprocessor took 17.10 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,208 INFO L168 Benchmark]: RCFGBuilder took 263.47 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 27.3 MB). Peak memory consumption was 27.3 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,208 INFO L168 Benchmark]: TraceAbstraction took 1238.54 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 897.4 MB in the end (delta: 190.6 MB). Peak memory consumption was 190.6 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,208 INFO L168 Benchmark]: Witness Printer took 296.94 ms. Allocated memory is still 1.2 GB. Free memory was 897.4 MB in the beginning and 878.5 MB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. [2018-11-23 07:03:10,214 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 367.10 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 137.4 MB). Free memory was 956.6 MB in the beginning and 1.1 GB in the end (delta: -161.4 MB). Peak memory consumption was 34.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 32.35 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 17.10 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 263.47 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 27.3 MB). Peak memory consumption was 27.3 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1238.54 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 897.4 MB in the end (delta: 190.6 MB). Peak memory consumption was 190.6 MB. Max. memory is 11.5 GB. * Witness Printer took 296.94 ms. Allocated memory is still 1.2 GB. Free memory was 897.4 MB in the beginning and 878.5 MB in the end (delta: 18.9 MB). Peak memory consumption was 18.9 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1242]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L1218] -1 int data = 0; VAL [data=0] [L1217] -1 pthread_mutex_t mutex; VAL [data=0, mutex={27:0}] [L1254] -1 pthread_t t1, t2, t3; VAL [data=0, mutex={27:0}] [L1256] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data=0, mutex={27:0}] [L1257] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1258] FCALL, FORK -1 pthread_create(&t3, 0, thread3, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=0, mutex={27:0}] [L1232] 0 data+=2 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=2, mutex={27:0}] [L1223] 1 data++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1241] COND TRUE 2 data >= 3 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] [L1242] 2 __VERIFIER_error() VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data=3, mutex={27:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 7 procedures, 99 locations, 2 error locations. UNSAFE Result, 1.1s OverallTime, 5 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 262 SDtfs, 163 SDslu, 277 SDs, 0 SdLazy, 43 SolverSat, 7 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 17 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=3562occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 4 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 168 NumberOfCodeBlocks, 168 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 124 ConstructedInterpolants, 0 QuantifiedInterpolants, 10060 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...