./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/pthread/stateful01_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_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/pthread/stateful01_false-unreach-call.i -s /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/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 e5f5aaf67a26d8d63c558ff93d16121c180b5259 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 13:57:36,475 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 13:57:36,476 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 13:57:36,485 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 13:57:36,485 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 13:57:36,486 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 13:57:36,486 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 13:57:36,488 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 13:57:36,489 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 13:57:36,490 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 13:57:36,490 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 13:57:36,491 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 13:57:36,491 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 13:57:36,492 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 13:57:36,493 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 13:57:36,493 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 13:57:36,494 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 13:57:36,496 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 13:57:36,497 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 13:57:36,498 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 13:57:36,499 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 13:57:36,500 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 13:57:36,502 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 13:57:36,502 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 13:57:36,502 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 13:57:36,503 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 13:57:36,503 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 13:57:36,504 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 13:57:36,505 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 13:57:36,505 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 13:57:36,506 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 13:57:36,506 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 13:57:36,506 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 13:57:36,506 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 13:57:36,507 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 13:57:36,507 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 13:57:36,508 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 13:57:36,518 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 13:57:36,518 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 13:57:36,518 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 13:57:36,519 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 13:57:36,519 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 13:57:36,519 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 13:57:36,519 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 13:57:36,520 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 13:57:36,520 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 13:57:36,521 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 13:57:36,521 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 13:57:36,521 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 13:57:36,521 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 13:57:36,521 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 13:57:36,521 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 13:57:36,523 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 13:57:36,523 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 13:57:36,524 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 13:57:36,524 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_02f8768f-9b4f-42e0-af0e-843ee929d8c1/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 -> e5f5aaf67a26d8d63c558ff93d16121c180b5259 [2018-11-23 13:57:36,545 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 13:57:36,552 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 13:57:36,555 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 13:57:36,556 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 13:57:36,556 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 13:57:36,557 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/../../sv-benchmarks/c/pthread/stateful01_false-unreach-call.i [2018-11-23 13:57:36,599 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/data/f91f8dfda/940082effaed47208e18367087e4cd07/FLAG3b366bca6 [2018-11-23 13:57:37,037 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 13:57:37,037 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/sv-benchmarks/c/pthread/stateful01_false-unreach-call.i [2018-11-23 13:57:37,045 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/data/f91f8dfda/940082effaed47208e18367087e4cd07/FLAG3b366bca6 [2018-11-23 13:57:37,055 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/data/f91f8dfda/940082effaed47208e18367087e4cd07 [2018-11-23 13:57:37,057 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 13:57:37,058 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 13:57:37,058 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 13:57:37,058 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 13:57:37,060 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 13:57:37,061 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,063 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c056607 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37, skipping insertion in model container [2018-11-23 13:57:37,063 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,068 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 13:57:37,096 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 13:57:37,294 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:57:37,307 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 13:57:37,338 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:57:37,430 INFO L195 MainTranslator]: Completed translation [2018-11-23 13:57:37,430 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37 WrapperNode [2018-11-23 13:57:37,430 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 13:57:37,431 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 13:57:37,431 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 13:57:37,431 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 13:57:37,436 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,446 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,460 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 13:57:37,460 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 13:57:37,460 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 13:57:37,460 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 13:57:37,466 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,466 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,468 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,469 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,473 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,475 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,476 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... [2018-11-23 13:57:37,478 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 13:57:37,479 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 13:57:37,479 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 13:57:37,479 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 13:57:37,479 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/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 13:57:37,519 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 13:57:37,519 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 13:57:37,519 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2018-11-23 13:57:37,519 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2018-11-23 13:57:37,519 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2018-11-23 13:57:37,520 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2018-11-23 13:57:37,520 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 13:57:37,520 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2018-11-23 13:57:37,520 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 13:57:37,520 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2018-11-23 13:57:37,520 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 13:57:37,520 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 13:57:37,521 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 13:57:37,739 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 13:57:37,739 INFO L280 CfgBuilder]: Removed 4 assue(true) statements. [2018-11-23 13:57:37,740 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:57:37 BoogieIcfgContainer [2018-11-23 13:57:37,740 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 13:57:37,740 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 13:57:37,740 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 13:57:37,743 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 13:57:37,743 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 01:57:37" (1/3) ... [2018-11-23 13:57:37,744 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4df48180 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:57:37, skipping insertion in model container [2018-11-23 13:57:37,744 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:57:37" (2/3) ... [2018-11-23 13:57:37,744 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@4df48180 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:57:37, skipping insertion in model container [2018-11-23 13:57:37,744 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:57:37" (3/3) ... [2018-11-23 13:57:37,746 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01_false-unreach-call.i [2018-11-23 13:57:37,773 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,774 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,774 WARN L317 ript$VariableManager]: TermVariabe Thread0_thread1_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,774 WARN L317 ript$VariableManager]: TermVariabe Thread0_thread1_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,774 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet0| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet0| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post1| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,775 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~nondet2| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,776 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,776 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,776 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#t~post3| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,776 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,776 WARN L317 ript$VariableManager]: TermVariabe |Thread0_thread1_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,777 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#in~arg.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,777 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#in~arg.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,777 WARN L317 ript$VariableManager]: TermVariabe Thread1_thread2_~arg.offset not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,777 WARN L317 ript$VariableManager]: TermVariabe Thread1_thread2_~arg.base not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,777 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet4| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,780 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet4| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,780 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,781 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#t~nondet5| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,781 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#res.offset| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,781 WARN L317 ript$VariableManager]: TermVariabe |Thread1_thread2_#res.base| not constructed by VariableManager. Cannot ensure absence of name clashes. [2018-11-23 13:57:37,795 WARN L145 ceAbstractionStarter]: Switching off computation of Hoare annotation because input is a concurrent program [2018-11-23 13:57:37,795 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 13:57:37,801 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 13:57:37,815 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 13:57:37,835 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 13:57:37,836 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 13:57:37,836 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 13:57:37,836 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 13:57:37,836 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 13:57:37,836 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 13:57:37,836 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 13:57:37,837 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 13:57:37,837 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 13:57:37,844 INFO L100 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 75places, 75 transitions [2018-11-23 13:57:37,873 INFO L122 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result 746 states. [2018-11-23 13:57:37,875 INFO L276 IsEmpty]: Start isEmpty. Operand 746 states. [2018-11-23 13:57:37,889 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 65 [2018-11-23 13:57:37,890 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:57:37,890 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, 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 13:57:37,892 INFO L423 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:57:37,897 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:57:37,897 INFO L82 PathProgramCache]: Analyzing trace with hash -24672050, now seen corresponding path program 1 times [2018-11-23 13:57:37,899 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:57:37,899 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:57:37,940 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:57:37,940 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:57:37,940 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:57:37,987 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:57:38,095 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 13:57:38,097 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:57:38,097 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 13:57:38,100 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:57:38,111 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:57:38,111 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:57:38,112 INFO L87 Difference]: Start difference. First operand 746 states. Second operand 3 states. [2018-11-23 13:57:38,181 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:57:38,181 INFO L93 Difference]: Finished difference Result 566 states and 1170 transitions. [2018-11-23 13:57:38,182 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:57:38,183 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 64 [2018-11-23 13:57:38,183 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:57:38,195 INFO L225 Difference]: With dead ends: 566 [2018-11-23 13:57:38,195 INFO L226 Difference]: Without dead ends: 558 [2018-11-23 13:57:38,197 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 13:57:38,210 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 558 states. [2018-11-23 13:57:38,242 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 558 to 558. [2018-11-23 13:57:38,243 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 558 states. [2018-11-23 13:57:38,246 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 558 states to 558 states and 1162 transitions. [2018-11-23 13:57:38,247 INFO L78 Accepts]: Start accepts. Automaton has 558 states and 1162 transitions. Word has length 64 [2018-11-23 13:57:38,247 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:57:38,248 INFO L480 AbstractCegarLoop]: Abstraction has 558 states and 1162 transitions. [2018-11-23 13:57:38,248 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:57:38,248 INFO L276 IsEmpty]: Start isEmpty. Operand 558 states and 1162 transitions. [2018-11-23 13:57:38,250 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 65 [2018-11-23 13:57:38,250 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:57:38,250 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, 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 13:57:38,250 INFO L423 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 13:57:38,251 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:57:38,251 INFO L82 PathProgramCache]: Analyzing trace with hash 1512100270, now seen corresponding path program 2 times [2018-11-23 13:57:38,251 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:57:38,251 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:57:38,255 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:57:38,255 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:57:38,255 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:57:38,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:57:38,308 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:57:38,336 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.modelcheckerutils.cfg.transformations.BlockEncodingBacktranslator [?] -1 [122] 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 [89] L-1-->L1197: Formula: (= |v_#valid_5| (store |v_#valid_6| 0 0)) InVars {#valid=|v_#valid_6|} OutVars{#valid=|v_#valid_5|} AuxVars[] AssignedVars[#valid] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [130] L1197-->L1197-1: Formula: (= v_~data1~0_7 0) InVars {} OutVars{~data1~0=v_~data1~0_7} AuxVars[] AssignedVars[~data1~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 [133] L1197-1-->L1196: Formula: (= v_~data2~0_7 0) InVars {} OutVars{~data2~0=v_~data2~0_7} AuxVars[] AssignedVars[~data2~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [109] L1196-->L1196-1: Formula: (and (= 0 |v_~#ma~0.offset_9|) (= |v_#valid_7| (store |v_#valid_8| |v_~#ma~0.base_9| 1)) (= (store |v_#length_2| |v_~#ma~0.base_9| 24) |v_#length_1|) (not (= 0 |v_~#ma~0.base_9|)) (= (select |v_#valid_8| |v_~#ma~0.base_9|) 0)) InVars {#length=|v_#length_2|, #valid=|v_#valid_8|} OutVars{#length=|v_#length_1|, ~#ma~0.base=|v_~#ma~0.base_9|, #valid=|v_#valid_7|, ~#ma~0.offset=|v_~#ma~0.offset_9|} AuxVars[] AssignedVars[~#ma~0.base, #valid, #length, ~#ma~0.offset] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [111] L1196-1-->L1196-2: Formula: (= 0 (select (select |v_#memory_int_1| |v_~#ma~0.base_10|) |v_~#ma~0.offset_10|)) InVars {#memory_int=|v_#memory_int_1|, ~#ma~0.base=|v_~#ma~0.base_10|, ~#ma~0.offset=|v_~#ma~0.offset_10|} OutVars{#memory_int=|v_#memory_int_1|, ~#ma~0.base=|v_~#ma~0.base_10|, ~#ma~0.offset=|v_~#ma~0.offset_10|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [116] L1196-2-->L1196-3: Formula: (= 0 (select (select |v_#memory_int_2| |v_~#ma~0.base_11|) (+ |v_~#ma~0.offset_11| 4))) InVars {#memory_int=|v_#memory_int_2|, ~#ma~0.base=|v_~#ma~0.base_11|, ~#ma~0.offset=|v_~#ma~0.offset_11|} OutVars{#memory_int=|v_#memory_int_2|, ~#ma~0.base=|v_~#ma~0.base_11|, ~#ma~0.offset=|v_~#ma~0.offset_11|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [90] L1196-3-->L1196-4: Formula: (= (select (select |v_#memory_int_3| |v_~#ma~0.base_12|) (+ |v_~#ma~0.offset_12| 8)) 0) InVars {#memory_int=|v_#memory_int_3|, ~#ma~0.base=|v_~#ma~0.base_12|, ~#ma~0.offset=|v_~#ma~0.offset_12|} OutVars{#memory_int=|v_#memory_int_3|, ~#ma~0.base=|v_~#ma~0.base_12|, ~#ma~0.offset=|v_~#ma~0.offset_12|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [92] L1196-4-->L1196-5: Formula: (= 0 (select (select |v_#memory_int_4| |v_~#ma~0.base_13|) (+ |v_~#ma~0.offset_13| 12))) InVars {#memory_int=|v_#memory_int_4|, ~#ma~0.base=|v_~#ma~0.base_13|, ~#ma~0.offset=|v_~#ma~0.offset_13|} OutVars{#memory_int=|v_#memory_int_4|, ~#ma~0.base=|v_~#ma~0.base_13|, ~#ma~0.offset=|v_~#ma~0.offset_13|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [94] L1196-5-->L1196-6: Formula: (= (select (select |v_#memory_int_5| |v_~#ma~0.base_14|) (+ |v_~#ma~0.offset_14| 16)) 0) InVars {#memory_int=|v_#memory_int_5|, ~#ma~0.base=|v_~#ma~0.base_14|, ~#ma~0.offset=|v_~#ma~0.offset_14|} OutVars{#memory_int=|v_#memory_int_5|, ~#ma~0.base=|v_~#ma~0.base_14|, ~#ma~0.offset=|v_~#ma~0.offset_14|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [99] L1196-6-->L1196-7: Formula: (and (= 0 |v_~#mb~0.offset_1|) (= (store |v_#valid_10| |v_~#mb~0.base_1| 1) |v_#valid_9|) (= (store |v_#length_4| |v_~#mb~0.base_1| 24) |v_#length_3|) (not (= 0 |v_~#mb~0.base_1|)) (= 0 (select |v_#valid_10| |v_~#mb~0.base_1|))) InVars {#length=|v_#length_4|, #valid=|v_#valid_10|} OutVars{~#mb~0.base=|v_~#mb~0.base_1|, #length=|v_#length_3|, ~#mb~0.offset=|v_~#mb~0.offset_1|, #valid=|v_#valid_9|} AuxVars[] AssignedVars[~#mb~0.base, ~#mb~0.offset, #valid, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [100] L1196-7-->L1196-8: Formula: (= 0 (select (select |v_#memory_int_6| |v_~#mb~0.base_2|) |v_~#mb~0.offset_2|)) InVars {#memory_int=|v_#memory_int_6|, ~#mb~0.base=|v_~#mb~0.base_2|, ~#mb~0.offset=|v_~#mb~0.offset_2|} OutVars{#memory_int=|v_#memory_int_6|, ~#mb~0.base=|v_~#mb~0.base_2|, ~#mb~0.offset=|v_~#mb~0.offset_2|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [81] L1196-8-->L1196-9: Formula: (= (select (select |v_#memory_int_7| |v_~#mb~0.base_3|) (+ |v_~#mb~0.offset_3| 4)) 0) InVars {#memory_int=|v_#memory_int_7|, ~#mb~0.base=|v_~#mb~0.base_3|, ~#mb~0.offset=|v_~#mb~0.offset_3|} OutVars{#memory_int=|v_#memory_int_7|, ~#mb~0.base=|v_~#mb~0.base_3|, ~#mb~0.offset=|v_~#mb~0.offset_3|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [82] L1196-9-->L1196-10: Formula: (= (select (select |v_#memory_int_8| |v_~#mb~0.base_4|) (+ |v_~#mb~0.offset_4| 8)) 0) InVars {#memory_int=|v_#memory_int_8|, ~#mb~0.base=|v_~#mb~0.base_4|, ~#mb~0.offset=|v_~#mb~0.offset_4|} OutVars{#memory_int=|v_#memory_int_8|, ~#mb~0.base=|v_~#mb~0.base_4|, ~#mb~0.offset=|v_~#mb~0.offset_4|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [84] L1196-10-->L1196-11: Formula: (= (select (select |v_#memory_int_9| |v_~#mb~0.base_5|) (+ |v_~#mb~0.offset_5| 12)) 0) InVars {#memory_int=|v_#memory_int_9|, ~#mb~0.base=|v_~#mb~0.base_5|, ~#mb~0.offset=|v_~#mb~0.offset_5|} OutVars{#memory_int=|v_#memory_int_9|, ~#mb~0.base=|v_~#mb~0.base_5|, ~#mb~0.offset=|v_~#mb~0.offset_5|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [87] L1196-11-->L1196-12: Formula: (= (select (select |v_#memory_int_10| |v_~#mb~0.base_6|) (+ |v_~#mb~0.offset_6| 16)) 0) InVars {#memory_int=|v_#memory_int_10|, ~#mb~0.base=|v_~#mb~0.base_6|, ~#mb~0.offset=|v_~#mb~0.offset_6|} OutVars{#memory_int=|v_#memory_int_10|, ~#mb~0.base=|v_~#mb~0.base_6|, ~#mb~0.offset=|v_~#mb~0.offset_6|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [88] L1196-12-->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, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [150] L-1-1-->L1229: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_1|, 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_~#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_#t~nondet7=|v_ULTIMATE.start_main_#t~nondet7_1|, 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_~#t2~0.offset, ULTIMATE.start_main_#t~nondet6, ULTIMATE.start_main_#t~nondet7, ULTIMATE.start_main_~#t1~0.offset, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [106] L1229-->L1229-1: Formula: (and (= |v_#length_5| (store |v_#length_6| |v_ULTIMATE.start_main_~#t1~0.base_4| 4)) (= 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_6|, #valid=|v_#valid_12|} OutVars{ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_4|, #length=|v_#length_5|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [110] L1229-1-->L1229-2: Formula: (and (= |v_#length_7| (store |v_#length_8| |v_ULTIMATE.start_main_~#t2~0.base_4| 4)) (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_8|, #valid=|v_#valid_14|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_4|, #length=|v_#length_7|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [112] L1229-2-->L1232: Formula: (= |v_#pthreadsMutex_17| (store |v_#pthreadsMutex_18| |v_~#ma~0.base_15| (store (select |v_#pthreadsMutex_18| |v_~#ma~0.base_15|) |v_~#ma~0.offset_15| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_18|, ~#ma~0.base=|v_~#ma~0.base_15|, ~#ma~0.offset=|v_~#ma~0.offset_15|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_17|, ~#ma~0.base=|v_~#ma~0.base_15|, ~#ma~0.offset=|v_~#ma~0.offset_15|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [102] L1232-->L1234: Formula: (= |v_#pthreadsMutex_19| (store |v_#pthreadsMutex_20| |v_~#mb~0.base_7| (store (select |v_#pthreadsMutex_20| |v_~#mb~0.base_7|) |v_~#mb~0.offset_7| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_20|, ~#mb~0.base=|v_~#mb~0.base_7|, ~#mb~0.offset=|v_~#mb~0.offset_7|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_19|, ~#mb~0.base=|v_~#mb~0.base_7|, ~#mb~0.offset=|v_~#mb~0.offset_7|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [143] L1234-->L1235: Formula: (= v_~data1~0_8 10) InVars {} OutVars{~data1~0=v_~data1~0_8} AuxVars[] AssignedVars[~data1~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 [151] L1235-->L1237: Formula: (= v_~data2~0_8 10) InVars {} OutVars{~data2~0=v_~data2~0_8} AuxVars[] AssignedVars[~data2~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [134] L1237-->L1237-1: Formula: (= (store |v_#memory_int_12| |v_ULTIMATE.start_main_~#t1~0.base_5| (store (select |v_#memory_int_12| |v_ULTIMATE.start_main_~#t1~0.base_5|) |v_ULTIMATE.start_main_~#t1~0.offset_5| 0)) |v_#memory_int_11|) InVars {#memory_int=|v_#memory_int_12|, 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_11|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 [179] L1237-1-->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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 [153] thread1ENTRY-->L1201: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [121] L1237-2-->L1238: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet6=|v_ULTIMATE.start_main_#t~nondet6_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet6] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [148] L1238-->L1238-1: Formula: (= (store |v_#memory_int_14| |v_ULTIMATE.start_main_~#t2~0.base_5| (store (select |v_#memory_int_14| |v_ULTIMATE.start_main_~#t2~0.base_5|) |v_ULTIMATE.start_main_~#t2~0.offset_5| 1)) |v_#memory_int_13|) InVars {#memory_int=|v_#memory_int_14|, 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_13|, 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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 [180] L1238-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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [168] thread2ENTRY-->L1215: 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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [137] L1238-2-->L1240: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet7=|v_ULTIMATE.start_main_#t~nondet7_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet7] 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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [169] L1215-->L1215-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_10| |v_~#ma~0.base_5|))) (and (= |v_Thread1_thread2_#t~nondet4_1| 0) (= 0 (select .cse0 |v_~#ma~0.offset_5|)) (= (store |v_#pthreadsMutex_10| |v_~#ma~0.base_5| (store .cse0 |v_~#ma~0.offset_5| 1)) |v_#pthreadsMutex_9|))) InVars {#pthreadsMutex=|v_#pthreadsMutex_10|, ~#ma~0.base=|v_~#ma~0.base_5|, ~#ma~0.offset=|v_~#ma~0.offset_5|} OutVars{Thread1_thread2_#t~nondet4=|v_Thread1_thread2_#t~nondet4_1|, #pthreadsMutex=|v_#pthreadsMutex_9|, ~#ma~0.base=|v_~#ma~0.base_5|, ~#ma~0.offset=|v_~#ma~0.offset_5|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet4, #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, |#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~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [170] L1215-1-->L1216: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet4=|v_Thread1_thread2_#t~nondet4_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet4] 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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [171] L1216-->L1217: Formula: (= v_~data1~0_3 (+ v_~data1~0_4 5)) InVars {~data1~0=v_~data1~0_4} OutVars{~data1~0=v_~data1~0_3} AuxVars[] AssignedVars[~data1~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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 [107] L1240-->L1240-1: Formula: (= |v_ULTIMATE.start_main_#t~mem8_2| (select (select |v_#memory_int_15| |v_ULTIMATE.start_main_~#t1~0.base_6|) |v_ULTIMATE.start_main_~#t1~0.offset_6|)) InVars {#memory_int=|v_#memory_int_15|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_6|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_6|} OutVars{#memory_int=|v_#memory_int_15|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_6|, ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_2|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_6|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem8] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 [172] L1217-->L1219: Formula: (= |v_#pthreadsMutex_11| (store |v_#pthreadsMutex_12| |v_~#ma~0.base_6| (store (select |v_#pthreadsMutex_12| |v_~#ma~0.base_6|) |v_~#ma~0.offset_6| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_12|, ~#ma~0.base=|v_~#ma~0.base_6|, ~#ma~0.offset=|v_~#ma~0.offset_6|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_11|, ~#ma~0.base=|v_~#ma~0.base_6|, ~#ma~0.offset=|v_~#ma~0.offset_6|} 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [154] L1201-->L1201-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_2| |v_~#ma~0.base_1|))) (and (= (store |v_#pthreadsMutex_2| |v_~#ma~0.base_1| (store .cse0 |v_~#ma~0.offset_1| 1)) |v_#pthreadsMutex_1|) (= (select .cse0 |v_~#ma~0.offset_1|) 0) (= |v_Thread0_thread1_#t~nondet0_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_2|, ~#ma~0.base=|v_~#ma~0.base_1|, ~#ma~0.offset=|v_~#ma~0.offset_1|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_1|, Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_1|, ~#ma~0.base=|v_~#ma~0.base_1|, ~#ma~0.offset=|v_~#ma~0.offset_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, |#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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [155] L1201-1-->L1202: 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [156] L1202-->L1202-1: Formula: (= |v_Thread0_thread1_#t~post1_1| v_~data1~0_1) InVars {~data1~0=v_~data1~0_1} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_1|, ~data1~0=v_~data1~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=15, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [157] L1202-1-->L1202-2: Formula: (= v_~data1~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|, ~data1~0=v_~data1~0_2} AuxVars[] AssignedVars[~data1~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=15, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [158] L1202-2-->L1203: 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [159] L1203-->L1205: Formula: (= |v_#pthreadsMutex_3| (store |v_#pthreadsMutex_4| |v_~#ma~0.base_2| (store (select |v_#pthreadsMutex_4| |v_~#ma~0.base_2|) |v_~#ma~0.offset_2| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_4|, ~#ma~0.base=|v_~#ma~0.base_2|, ~#ma~0.offset=|v_~#ma~0.offset_2|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_3|, ~#ma~0.base=|v_~#ma~0.base_2|, ~#ma~0.offset=|v_~#ma~0.offset_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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [160] L1205-->L1205-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_6| |v_~#ma~0.base_3|))) (and (= (select .cse0 |v_~#ma~0.offset_3|) 0) (= (store |v_#pthreadsMutex_6| |v_~#ma~0.base_3| (store .cse0 |v_~#ma~0.offset_3| 1)) |v_#pthreadsMutex_5|) (= |v_Thread0_thread1_#t~nondet2_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_6|, ~#ma~0.base=|v_~#ma~0.base_3|, ~#ma~0.offset=|v_~#ma~0.offset_3|} OutVars{Thread0_thread1_#t~nondet2=|v_Thread0_thread1_#t~nondet2_1|, #pthreadsMutex=|v_#pthreadsMutex_5|, ~#ma~0.base=|v_~#ma~0.base_3|, ~#ma~0.offset=|v_~#ma~0.offset_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet2, #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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~nondet2|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [161] L1205-1-->L1206: Formula: true InVars {} OutVars{Thread0_thread1_#t~nondet2=|v_Thread0_thread1_#t~nondet2_2|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet2] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [162] L1206-->L1206-1: Formula: (= |v_Thread0_thread1_#t~post3_1| v_~data2~0_1) InVars {~data2~0=v_~data2~0_1} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_1|, ~data2~0=v_~data2~0_1} AuxVars[] AssignedVars[Thread0_thread1_#t~post3] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post3|=10, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [163] L1206-1-->L1206-2: Formula: (= v_~data2~0_2 (+ |v_Thread0_thread1_#t~post3_2| 1)) InVars {Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_2|} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_2|, ~data2~0=v_~data2~0_2} AuxVars[] AssignedVars[~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post3|=10, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [164] L1206-2-->L1207: Formula: true InVars {} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~post3] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [165] L1207-->L1209: Formula: (= |v_#pthreadsMutex_7| (store |v_#pthreadsMutex_8| |v_~#ma~0.base_4| (store (select |v_#pthreadsMutex_8| |v_~#ma~0.base_4|) |v_~#ma~0.offset_4| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_8|, ~#ma~0.base=|v_~#ma~0.base_4|, ~#ma~0.offset=|v_~#ma~0.offset_4|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_7|, ~#ma~0.base=|v_~#ma~0.base_4|, ~#ma~0.offset=|v_~#ma~0.offset_4|} 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [166] L1209-->thread1FINAL: Formula: (and (= |v_Thread0_thread1_#res.offset_1| 0) (= |v_Thread0_thread1_#res.base_1| 0)) InVars {} OutVars{Thread0_thread1_#res.offset=|v_Thread0_thread1_#res.offset_1|, Thread0_thread1_#res.base=|v_Thread0_thread1_#res.base_1|} AuxVars[] AssignedVars[Thread0_thread1_#res.base, Thread0_thread1_#res.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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [167] thread1FINAL-->thread1EXIT: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 [182] thread1EXIT-->L1240-2: Formula: (= |v_ULTIMATE.start_main_#t~mem8_7| v_Thread0_thread1_thidvar0_4) InVars {ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_7|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_4} OutVars{ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_7|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_4} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 [113] L1240-2-->L1241: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem8] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 [128] L1241-->L1241-1: Formula: (= |v_ULTIMATE.start_main_#t~mem9_2| (select (select |v_#memory_int_16| |v_ULTIMATE.start_main_~#t2~0.base_6|) |v_ULTIMATE.start_main_~#t2~0.offset_6|)) InVars {ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_6|, #memory_int=|v_#memory_int_16|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_6|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_6|, #memory_int=|v_#memory_int_16|, ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_2|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_6|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [173] L1219-->L1219-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_14| |v_~#ma~0.base_7|))) (and (= (select .cse0 |v_~#ma~0.offset_7|) 0) (= |v_#pthreadsMutex_13| (store |v_#pthreadsMutex_14| |v_~#ma~0.base_7| (store .cse0 |v_~#ma~0.offset_7| 1))) (= |v_Thread1_thread2_#t~nondet5_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_14|, ~#ma~0.base=|v_~#ma~0.base_7|, ~#ma~0.offset=|v_~#ma~0.offset_7|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_13|, ~#ma~0.base=|v_~#ma~0.base_7|, Thread1_thread2_#t~nondet5=|v_Thread1_thread2_#t~nondet5_1|, ~#ma~0.offset=|v_~#ma~0.offset_7|} AuxVars[] AssignedVars[#pthreadsMutex, Thread1_thread2_#t~nondet5] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [174] L1219-1-->L1220: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet5=|v_Thread1_thread2_#t~nondet5_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet5] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [175] L1220-->L1221: Formula: (= v_~data2~0_3 (+ v_~data2~0_4 (- 6))) InVars {~data2~0=v_~data2~0_4} OutVars{~data2~0=v_~data2~0_3} AuxVars[] AssignedVars[~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [176] L1221-->L1223: Formula: (= |v_#pthreadsMutex_15| (store |v_#pthreadsMutex_16| |v_~#ma~0.base_8| (store (select |v_#pthreadsMutex_16| |v_~#ma~0.base_8|) |v_~#ma~0.offset_8| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_16|, ~#ma~0.base=|v_~#ma~0.base_8|, ~#ma~0.offset=|v_~#ma~0.offset_8|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_15|, ~#ma~0.base=|v_~#ma~0.base_8|, ~#ma~0.offset=|v_~#ma~0.offset_8|} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [177] L1223-->thread2FINAL: Formula: (and (= |v_Thread1_thread2_#res.base_1| 0) (= |v_Thread1_thread2_#res.offset_1| 0)) InVars {} OutVars{Thread1_thread2_#res.base=|v_Thread1_thread2_#res.base_1|, Thread1_thread2_#res.offset=|v_Thread1_thread2_#res.offset_1|} AuxVars[] AssignedVars[Thread1_thread2_#res.offset, Thread1_thread2_#res.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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [178] thread2FINAL-->thread2EXIT: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 [183] thread2EXIT-->L1241-2: Formula: (= |v_ULTIMATE.start_main_#t~mem9_5| v_Thread1_thread2_thidvar0_6) InVars {ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_5|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_6} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_5|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_6} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [132] L1241-2-->L1243: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [97] L1243-->L1245: Formula: (and (= v_~data2~0_5 5) (= v_~data1~0_5 16)) InVars {~data1~0=v_~data1~0_5, ~data2~0=v_~data2~0_5} OutVars{~data1~0=v_~data1~0_5, ~data2~0=v_~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [140] L1245-->ULTIMATE.startErr0ASSERT_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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -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 ~data1~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 ~data2~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); srcloc: L1196 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); srcloc: L1196-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); srcloc: L1196-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); srcloc: L1196-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); srcloc: L1196-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); srcloc: L1196-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); srcloc: L1196-6 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); srcloc: L1196-7 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); srcloc: L1196-8 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); srcloc: L1196-9 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); srcloc: L1196-10 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); srcloc: L1196-11 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1229 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1229-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 ~data1~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 ~data2~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1237 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet6; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1238 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 fork 1 thread2(0, 0); VAL [thread1_~arg.base=0, thread1_~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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet7; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 SUMMARY for call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1215 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, |thread2_#t~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 havoc #t~nondet4; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 ~data1~0 := 5 + ~data1~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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 SUMMARY for call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1240 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1201 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 #t~post1 := ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1205 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~nondet2|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 havoc #t~nondet2; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #t~post3 := ~data2~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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 ~data2~0 := 1 + #t~post3; 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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 havoc #t~post3; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 join main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 havoc main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 SUMMARY for call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1241 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 SUMMARY for call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1219 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 havoc #t~nondet5; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 ~data2~0 := ~data2~0 - 6; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |thread1_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 join main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 havoc main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume 16 == ~data1~0 && 5 == ~data2~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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume !false; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] ----- ----- 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 ~data1~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 ~data2~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); srcloc: L1196 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); srcloc: L1196-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); srcloc: L1196-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); srcloc: L1196-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); srcloc: L1196-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); srcloc: L1196-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); srcloc: L1196-6 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); srcloc: L1196-7 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); srcloc: L1196-8 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); srcloc: L1196-9 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); srcloc: L1196-10 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); srcloc: L1196-11 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1229 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1229-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 ~data1~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 ~data2~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1237 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet6; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1238 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 fork 1 thread2(0, 0); VAL [thread1_~arg.base=0, thread1_~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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet7; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 SUMMARY for call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1215 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, |thread2_#t~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 havoc #t~nondet4; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 ~data1~0 := 5 + ~data1~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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 SUMMARY for call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1240 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1201 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 #t~post1 := ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1205 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~nondet2|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 havoc #t~nondet2; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #t~post3 := ~data2~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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 ~data2~0 := 1 + #t~post3; 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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 havoc #t~post3; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 join main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 havoc main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 SUMMARY for call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1241 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 SUMMARY for call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1219 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 havoc #t~nondet5; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 ~data2~0 := ~data2~0 - 6; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |thread1_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 join main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 havoc main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume 16 == ~data1~0 && 5 == ~data2~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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume !false; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -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] [L1197] -1 ~data1~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet4=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1240] -1 call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res.base, #res.offset := 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, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1199-L1210] 0 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1241] -1 call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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, #res.base=0, #res.offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res.base, #res.offset := 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, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1213-L1224] 1 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1243-L1247] -1 assume 16 == ~data1~0 && 5 == ~data2~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet4=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1240] -1 call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res.base, #res.offset := 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, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1199-L1210] 0 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1241] -1 call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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, #res.base=0, #res.offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res.base, #res.offset := 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, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1213-L1224] 1 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1243-L1247] -1 assume 16 == ~data1~0 && 5 == ~data2~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call main_#t~mem8 := read~int(main_~#t1~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call main_#t~mem9 := read~int(main_~#t2~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call main_#t~mem8 := read~int(main_~#t1~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call main_#t~mem9 := read~int(main_~#t2~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc #t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc #t~nondet7; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call #t~mem8 := read~int(~#t1~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call #t~mem9 := read~int(~#t2~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc #t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc #t~nondet7; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call #t~mem8 := read~int(~#t1~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call #t~mem9 := read~int(~#t2~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1197] -1 int data1, data2; VAL [data1=0, data2=0] [L1196] -1 pthread_mutex_t ma, mb; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1229] -1 pthread_t t1, t2; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1234] -1 data1 = 10 VAL [data1=10, data2=0, ma={25:0}, mb={28:0}] [L1235] -1 data2 = 10 VAL [data1=10, data2=10, ma={25:0}, mb={28:0}] [L1237] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1238] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1216] 1 data1+=5 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1240] -1 \read(t1) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1202] 0 data1++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=10, ma={25:0}, mb={28:0}] [L1206] 0 data2++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1209] 0 return 0; VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1240] FCALL, JOIN 0 pthread_join(t1, 0) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1241] -1 \read(t2) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1220] 1 data2-=6 VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1223] 1 return 0; VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1241] FCALL, JOIN 1 pthread_join(t2, 0) VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1243] COND TRUE -1 data1==16 && data2==5 VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1245] -1 __VERIFIER_error() VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] ----- [2018-11-23 13:57:38,593 INFO L305 ceAbstractionStarter]: Did not count any witness invariants because Icfg is not BoogieIcfg [2018-11-23 13:57:38,594 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 01:57:38 BasicIcfg [2018-11-23 13:57:38,602 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 13:57:38,602 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 13:57:38,602 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 13:57:38,603 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 13:57:38,603 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:57:37" (3/4) ... [2018-11-23 13:57:38,605 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.modelcheckerutils.cfg.transformations.BlockEncodingBacktranslator [?] -1 [122] 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 [89] L-1-->L1197: Formula: (= |v_#valid_5| (store |v_#valid_6| 0 0)) InVars {#valid=|v_#valid_6|} OutVars{#valid=|v_#valid_5|} AuxVars[] AssignedVars[#valid] VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] -1 [130] L1197-->L1197-1: Formula: (= v_~data1~0_7 0) InVars {} OutVars{~data1~0=v_~data1~0_7} AuxVars[] AssignedVars[~data1~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 [133] L1197-1-->L1196: Formula: (= v_~data2~0_7 0) InVars {} OutVars{~data2~0=v_~data2~0_7} AuxVars[] AssignedVars[~data2~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [109] L1196-->L1196-1: Formula: (and (= 0 |v_~#ma~0.offset_9|) (= |v_#valid_7| (store |v_#valid_8| |v_~#ma~0.base_9| 1)) (= (store |v_#length_2| |v_~#ma~0.base_9| 24) |v_#length_1|) (not (= 0 |v_~#ma~0.base_9|)) (= (select |v_#valid_8| |v_~#ma~0.base_9|) 0)) InVars {#length=|v_#length_2|, #valid=|v_#valid_8|} OutVars{#length=|v_#length_1|, ~#ma~0.base=|v_~#ma~0.base_9|, #valid=|v_#valid_7|, ~#ma~0.offset=|v_~#ma~0.offset_9|} AuxVars[] AssignedVars[~#ma~0.base, #valid, #length, ~#ma~0.offset] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [111] L1196-1-->L1196-2: Formula: (= 0 (select (select |v_#memory_int_1| |v_~#ma~0.base_10|) |v_~#ma~0.offset_10|)) InVars {#memory_int=|v_#memory_int_1|, ~#ma~0.base=|v_~#ma~0.base_10|, ~#ma~0.offset=|v_~#ma~0.offset_10|} OutVars{#memory_int=|v_#memory_int_1|, ~#ma~0.base=|v_~#ma~0.base_10|, ~#ma~0.offset=|v_~#ma~0.offset_10|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [116] L1196-2-->L1196-3: Formula: (= 0 (select (select |v_#memory_int_2| |v_~#ma~0.base_11|) (+ |v_~#ma~0.offset_11| 4))) InVars {#memory_int=|v_#memory_int_2|, ~#ma~0.base=|v_~#ma~0.base_11|, ~#ma~0.offset=|v_~#ma~0.offset_11|} OutVars{#memory_int=|v_#memory_int_2|, ~#ma~0.base=|v_~#ma~0.base_11|, ~#ma~0.offset=|v_~#ma~0.offset_11|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [90] L1196-3-->L1196-4: Formula: (= (select (select |v_#memory_int_3| |v_~#ma~0.base_12|) (+ |v_~#ma~0.offset_12| 8)) 0) InVars {#memory_int=|v_#memory_int_3|, ~#ma~0.base=|v_~#ma~0.base_12|, ~#ma~0.offset=|v_~#ma~0.offset_12|} OutVars{#memory_int=|v_#memory_int_3|, ~#ma~0.base=|v_~#ma~0.base_12|, ~#ma~0.offset=|v_~#ma~0.offset_12|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [92] L1196-4-->L1196-5: Formula: (= 0 (select (select |v_#memory_int_4| |v_~#ma~0.base_13|) (+ |v_~#ma~0.offset_13| 12))) InVars {#memory_int=|v_#memory_int_4|, ~#ma~0.base=|v_~#ma~0.base_13|, ~#ma~0.offset=|v_~#ma~0.offset_13|} OutVars{#memory_int=|v_#memory_int_4|, ~#ma~0.base=|v_~#ma~0.base_13|, ~#ma~0.offset=|v_~#ma~0.offset_13|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [94] L1196-5-->L1196-6: Formula: (= (select (select |v_#memory_int_5| |v_~#ma~0.base_14|) (+ |v_~#ma~0.offset_14| 16)) 0) InVars {#memory_int=|v_#memory_int_5|, ~#ma~0.base=|v_~#ma~0.base_14|, ~#ma~0.offset=|v_~#ma~0.offset_14|} OutVars{#memory_int=|v_#memory_int_5|, ~#ma~0.base=|v_~#ma~0.base_14|, ~#ma~0.offset=|v_~#ma~0.offset_14|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [99] L1196-6-->L1196-7: Formula: (and (= 0 |v_~#mb~0.offset_1|) (= (store |v_#valid_10| |v_~#mb~0.base_1| 1) |v_#valid_9|) (= (store |v_#length_4| |v_~#mb~0.base_1| 24) |v_#length_3|) (not (= 0 |v_~#mb~0.base_1|)) (= 0 (select |v_#valid_10| |v_~#mb~0.base_1|))) InVars {#length=|v_#length_4|, #valid=|v_#valid_10|} OutVars{~#mb~0.base=|v_~#mb~0.base_1|, #length=|v_#length_3|, ~#mb~0.offset=|v_~#mb~0.offset_1|, #valid=|v_#valid_9|} AuxVars[] AssignedVars[~#mb~0.base, ~#mb~0.offset, #valid, #length] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [100] L1196-7-->L1196-8: Formula: (= 0 (select (select |v_#memory_int_6| |v_~#mb~0.base_2|) |v_~#mb~0.offset_2|)) InVars {#memory_int=|v_#memory_int_6|, ~#mb~0.base=|v_~#mb~0.base_2|, ~#mb~0.offset=|v_~#mb~0.offset_2|} OutVars{#memory_int=|v_#memory_int_6|, ~#mb~0.base=|v_~#mb~0.base_2|, ~#mb~0.offset=|v_~#mb~0.offset_2|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [81] L1196-8-->L1196-9: Formula: (= (select (select |v_#memory_int_7| |v_~#mb~0.base_3|) (+ |v_~#mb~0.offset_3| 4)) 0) InVars {#memory_int=|v_#memory_int_7|, ~#mb~0.base=|v_~#mb~0.base_3|, ~#mb~0.offset=|v_~#mb~0.offset_3|} OutVars{#memory_int=|v_#memory_int_7|, ~#mb~0.base=|v_~#mb~0.base_3|, ~#mb~0.offset=|v_~#mb~0.offset_3|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [82] L1196-9-->L1196-10: Formula: (= (select (select |v_#memory_int_8| |v_~#mb~0.base_4|) (+ |v_~#mb~0.offset_4| 8)) 0) InVars {#memory_int=|v_#memory_int_8|, ~#mb~0.base=|v_~#mb~0.base_4|, ~#mb~0.offset=|v_~#mb~0.offset_4|} OutVars{#memory_int=|v_#memory_int_8|, ~#mb~0.base=|v_~#mb~0.base_4|, ~#mb~0.offset=|v_~#mb~0.offset_4|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [84] L1196-10-->L1196-11: Formula: (= (select (select |v_#memory_int_9| |v_~#mb~0.base_5|) (+ |v_~#mb~0.offset_5| 12)) 0) InVars {#memory_int=|v_#memory_int_9|, ~#mb~0.base=|v_~#mb~0.base_5|, ~#mb~0.offset=|v_~#mb~0.offset_5|} OutVars{#memory_int=|v_#memory_int_9|, ~#mb~0.base=|v_~#mb~0.base_5|, ~#mb~0.offset=|v_~#mb~0.offset_5|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [87] L1196-11-->L1196-12: Formula: (= (select (select |v_#memory_int_10| |v_~#mb~0.base_6|) (+ |v_~#mb~0.offset_6| 16)) 0) InVars {#memory_int=|v_#memory_int_10|, ~#mb~0.base=|v_~#mb~0.base_6|, ~#mb~0.offset=|v_~#mb~0.offset_6|} OutVars{#memory_int=|v_#memory_int_10|, ~#mb~0.base=|v_~#mb~0.base_6|, ~#mb~0.offset=|v_~#mb~0.offset_6|} AuxVars[] AssignedVars[] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [88] L1196-12-->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, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [150] L-1-1-->L1229: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_1|, 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_~#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_#t~nondet7=|v_ULTIMATE.start_main_#t~nondet7_1|, 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_~#t2~0.offset, ULTIMATE.start_main_#t~nondet6, ULTIMATE.start_main_#t~nondet7, ULTIMATE.start_main_~#t1~0.offset, ULTIMATE.start_main_~#t2~0.base] VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [106] L1229-->L1229-1: Formula: (and (= |v_#length_5| (store |v_#length_6| |v_ULTIMATE.start_main_~#t1~0.base_4| 4)) (= 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_6|, #valid=|v_#valid_12|} OutVars{ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_4|, #length=|v_#length_5|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [110] L1229-1-->L1229-2: Formula: (and (= |v_#length_7| (store |v_#length_8| |v_ULTIMATE.start_main_~#t2~0.base_4| 4)) (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_8|, #valid=|v_#valid_14|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_4|, #length=|v_#length_7|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [112] L1229-2-->L1232: Formula: (= |v_#pthreadsMutex_17| (store |v_#pthreadsMutex_18| |v_~#ma~0.base_15| (store (select |v_#pthreadsMutex_18| |v_~#ma~0.base_15|) |v_~#ma~0.offset_15| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_18|, ~#ma~0.base=|v_~#ma~0.base_15|, ~#ma~0.offset=|v_~#ma~0.offset_15|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_17|, ~#ma~0.base=|v_~#ma~0.base_15|, ~#ma~0.offset=|v_~#ma~0.offset_15|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [102] L1232-->L1234: Formula: (= |v_#pthreadsMutex_19| (store |v_#pthreadsMutex_20| |v_~#mb~0.base_7| (store (select |v_#pthreadsMutex_20| |v_~#mb~0.base_7|) |v_~#mb~0.offset_7| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_20|, ~#mb~0.base=|v_~#mb~0.base_7|, ~#mb~0.offset=|v_~#mb~0.offset_7|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_19|, ~#mb~0.base=|v_~#mb~0.base_7|, ~#mb~0.offset=|v_~#mb~0.offset_7|} AuxVars[] AssignedVars[#pthreadsMutex] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 [143] L1234-->L1235: Formula: (= v_~data1~0_8 10) InVars {} OutVars{~data1~0=v_~data1~0_8} AuxVars[] AssignedVars[~data1~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 [151] L1235-->L1237: Formula: (= v_~data2~0_8 10) InVars {} OutVars{~data2~0=v_~data2~0_8} AuxVars[] AssignedVars[~data2~0] VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [134] L1237-->L1237-1: Formula: (= (store |v_#memory_int_12| |v_ULTIMATE.start_main_~#t1~0.base_5| (store (select |v_#memory_int_12| |v_ULTIMATE.start_main_~#t1~0.base_5|) |v_ULTIMATE.start_main_~#t1~0.offset_5| 0)) |v_#memory_int_11|) InVars {#memory_int=|v_#memory_int_12|, 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_11|, 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 [179] L1237-1-->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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 [153] thread1ENTRY-->L1201: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [121] L1237-2-->L1238: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet6=|v_ULTIMATE.start_main_#t~nondet6_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet6] VAL [Thread0_thread1_thidvar0=0, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [148] L1238-->L1238-1: Formula: (= (store |v_#memory_int_14| |v_ULTIMATE.start_main_~#t2~0.base_5| (store (select |v_#memory_int_14| |v_ULTIMATE.start_main_~#t2~0.base_5|) |v_ULTIMATE.start_main_~#t2~0.offset_5| 1)) |v_#memory_int_13|) InVars {#memory_int=|v_#memory_int_14|, 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_13|, 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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 [180] L1238-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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [168] thread2ENTRY-->L1215: 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, Thread0_thread1_~arg.base=0, Thread0_thread1_~arg.offset=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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 [137] L1238-2-->L1240: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~nondet7=|v_ULTIMATE.start_main_#t~nondet7_2|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~nondet7] 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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [169] L1215-->L1215-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_10| |v_~#ma~0.base_5|))) (and (= |v_Thread1_thread2_#t~nondet4_1| 0) (= 0 (select .cse0 |v_~#ma~0.offset_5|)) (= (store |v_#pthreadsMutex_10| |v_~#ma~0.base_5| (store .cse0 |v_~#ma~0.offset_5| 1)) |v_#pthreadsMutex_9|))) InVars {#pthreadsMutex=|v_#pthreadsMutex_10|, ~#ma~0.base=|v_~#ma~0.base_5|, ~#ma~0.offset=|v_~#ma~0.offset_5|} OutVars{Thread1_thread2_#t~nondet4=|v_Thread1_thread2_#t~nondet4_1|, #pthreadsMutex=|v_#pthreadsMutex_9|, ~#ma~0.base=|v_~#ma~0.base_5|, ~#ma~0.offset=|v_~#ma~0.offset_5|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet4, #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, |#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~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [170] L1215-1-->L1216: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet4=|v_Thread1_thread2_#t~nondet4_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet4] 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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 [171] L1216-->L1217: Formula: (= v_~data1~0_3 (+ v_~data1~0_4 5)) InVars {~data1~0=v_~data1~0_4} OutVars{~data1~0=v_~data1~0_3} AuxVars[] AssignedVars[~data1~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, |#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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 [107] L1240-->L1240-1: Formula: (= |v_ULTIMATE.start_main_#t~mem8_2| (select (select |v_#memory_int_15| |v_ULTIMATE.start_main_~#t1~0.base_6|) |v_ULTIMATE.start_main_~#t1~0.offset_6|)) InVars {#memory_int=|v_#memory_int_15|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_6|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_6|} OutVars{#memory_int=|v_#memory_int_15|, ULTIMATE.start_main_~#t1~0.base=|v_ULTIMATE.start_main_~#t1~0.base_6|, ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_2|, ULTIMATE.start_main_~#t1~0.offset=|v_ULTIMATE.start_main_~#t1~0.offset_6|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem8] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 [172] L1217-->L1219: Formula: (= |v_#pthreadsMutex_11| (store |v_#pthreadsMutex_12| |v_~#ma~0.base_6| (store (select |v_#pthreadsMutex_12| |v_~#ma~0.base_6|) |v_~#ma~0.offset_6| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_12|, ~#ma~0.base=|v_~#ma~0.base_6|, ~#ma~0.offset=|v_~#ma~0.offset_6|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_11|, ~#ma~0.base=|v_~#ma~0.base_6|, ~#ma~0.offset=|v_~#ma~0.offset_6|} 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [154] L1201-->L1201-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_2| |v_~#ma~0.base_1|))) (and (= (store |v_#pthreadsMutex_2| |v_~#ma~0.base_1| (store .cse0 |v_~#ma~0.offset_1| 1)) |v_#pthreadsMutex_1|) (= (select .cse0 |v_~#ma~0.offset_1|) 0) (= |v_Thread0_thread1_#t~nondet0_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_2|, ~#ma~0.base=|v_~#ma~0.base_1|, ~#ma~0.offset=|v_~#ma~0.offset_1|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_1|, Thread0_thread1_#t~nondet0=|v_Thread0_thread1_#t~nondet0_1|, ~#ma~0.base=|v_~#ma~0.base_1|, ~#ma~0.offset=|v_~#ma~0.offset_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, |#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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [155] L1201-1-->L1202: 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [156] L1202-->L1202-1: Formula: (= |v_Thread0_thread1_#t~post1_1| v_~data1~0_1) InVars {~data1~0=v_~data1~0_1} OutVars{Thread0_thread1_#t~post1=|v_Thread0_thread1_#t~post1_1|, ~data1~0=v_~data1~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=15, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 [157] L1202-1-->L1202-2: Formula: (= v_~data1~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|, ~data1~0=v_~data1~0_2} AuxVars[] AssignedVars[~data1~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post1|=15, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [158] L1202-2-->L1203: 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [159] L1203-->L1205: Formula: (= |v_#pthreadsMutex_3| (store |v_#pthreadsMutex_4| |v_~#ma~0.base_2| (store (select |v_#pthreadsMutex_4| |v_~#ma~0.base_2|) |v_~#ma~0.offset_2| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_4|, ~#ma~0.base=|v_~#ma~0.base_2|, ~#ma~0.offset=|v_~#ma~0.offset_2|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_3|, ~#ma~0.base=|v_~#ma~0.base_2|, ~#ma~0.offset=|v_~#ma~0.offset_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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [160] L1205-->L1205-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_6| |v_~#ma~0.base_3|))) (and (= (select .cse0 |v_~#ma~0.offset_3|) 0) (= (store |v_#pthreadsMutex_6| |v_~#ma~0.base_3| (store .cse0 |v_~#ma~0.offset_3| 1)) |v_#pthreadsMutex_5|) (= |v_Thread0_thread1_#t~nondet2_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_6|, ~#ma~0.base=|v_~#ma~0.base_3|, ~#ma~0.offset=|v_~#ma~0.offset_3|} OutVars{Thread0_thread1_#t~nondet2=|v_Thread0_thread1_#t~nondet2_1|, #pthreadsMutex=|v_#pthreadsMutex_5|, ~#ma~0.base=|v_~#ma~0.base_3|, ~#ma~0.offset=|v_~#ma~0.offset_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet2, #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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~nondet2|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [161] L1205-1-->L1206: Formula: true InVars {} OutVars{Thread0_thread1_#t~nondet2=|v_Thread0_thread1_#t~nondet2_2|} AuxVars[] AssignedVars[Thread0_thread1_#t~nondet2] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [162] L1206-->L1206-1: Formula: (= |v_Thread0_thread1_#t~post3_1| v_~data2~0_1) InVars {~data2~0=v_~data2~0_1} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_1|, ~data2~0=v_~data2~0_1} AuxVars[] AssignedVars[Thread0_thread1_#t~post3] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post3|=10, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 [163] L1206-1-->L1206-2: Formula: (= v_~data2~0_2 (+ |v_Thread0_thread1_#t~post3_2| 1)) InVars {Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_2|} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_2|, ~data2~0=v_~data2~0_2} AuxVars[] AssignedVars[~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#t~post3|=10, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [164] L1206-2-->L1207: Formula: true InVars {} OutVars{Thread0_thread1_#t~post3=|v_Thread0_thread1_#t~post3_3|} AuxVars[] AssignedVars[Thread0_thread1_#t~post3] 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [165] L1207-->L1209: Formula: (= |v_#pthreadsMutex_7| (store |v_#pthreadsMutex_8| |v_~#ma~0.base_4| (store (select |v_#pthreadsMutex_8| |v_~#ma~0.base_4|) |v_~#ma~0.offset_4| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_8|, ~#ma~0.base=|v_~#ma~0.base_4|, ~#ma~0.offset=|v_~#ma~0.offset_4|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_7|, ~#ma~0.base=|v_~#ma~0.base_4|, ~#ma~0.offset=|v_~#ma~0.offset_4|} 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, |#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_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [166] L1209-->thread1FINAL: Formula: (and (= |v_Thread0_thread1_#res.offset_1| 0) (= |v_Thread0_thread1_#res.base_1| 0)) InVars {} OutVars{Thread0_thread1_#res.offset=|v_Thread0_thread1_#res.offset_1|, Thread0_thread1_#res.base=|v_Thread0_thread1_#res.base_1|} AuxVars[] AssignedVars[Thread0_thread1_#res.base, Thread0_thread1_#res.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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 [167] thread1FINAL-->thread1EXIT: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 [182] thread1EXIT-->L1240-2: Formula: (= |v_ULTIMATE.start_main_#t~mem8_7| v_Thread0_thread1_thidvar0_4) InVars {ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_7|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_4} OutVars{ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_7|, Thread0_thread1_thidvar0=v_Thread0_thread1_thidvar0_4} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 [113] L1240-2-->L1241: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem8=|v_ULTIMATE.start_main_#t~mem8_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem8] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 [128] L1241-->L1241-1: Formula: (= |v_ULTIMATE.start_main_#t~mem9_2| (select (select |v_#memory_int_16| |v_ULTIMATE.start_main_~#t2~0.base_6|) |v_ULTIMATE.start_main_~#t2~0.offset_6|)) InVars {ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_6|, #memory_int=|v_#memory_int_16|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_6|} OutVars{ULTIMATE.start_main_~#t2~0.offset=|v_ULTIMATE.start_main_~#t2~0.offset_6|, #memory_int=|v_#memory_int_16|, ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_2|, ULTIMATE.start_main_~#t2~0.base=|v_ULTIMATE.start_main_~#t2~0.base_6|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [173] L1219-->L1219-1: Formula: (let ((.cse0 (select |v_#pthreadsMutex_14| |v_~#ma~0.base_7|))) (and (= (select .cse0 |v_~#ma~0.offset_7|) 0) (= |v_#pthreadsMutex_13| (store |v_#pthreadsMutex_14| |v_~#ma~0.base_7| (store .cse0 |v_~#ma~0.offset_7| 1))) (= |v_Thread1_thread2_#t~nondet5_1| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_14|, ~#ma~0.base=|v_~#ma~0.base_7|, ~#ma~0.offset=|v_~#ma~0.offset_7|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_13|, ~#ma~0.base=|v_~#ma~0.base_7|, Thread1_thread2_#t~nondet5=|v_Thread1_thread2_#t~nondet5_1|, ~#ma~0.offset=|v_~#ma~0.offset_7|} AuxVars[] AssignedVars[#pthreadsMutex, Thread1_thread2_#t~nondet5] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [174] L1219-1-->L1220: Formula: true InVars {} OutVars{Thread1_thread2_#t~nondet5=|v_Thread1_thread2_#t~nondet5_2|} AuxVars[] AssignedVars[Thread1_thread2_#t~nondet5] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 [175] L1220-->L1221: Formula: (= v_~data2~0_3 (+ v_~data2~0_4 (- 6))) InVars {~data2~0=v_~data2~0_4} OutVars{~data2~0=v_~data2~0_3} AuxVars[] AssignedVars[~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [176] L1221-->L1223: Formula: (= |v_#pthreadsMutex_15| (store |v_#pthreadsMutex_16| |v_~#ma~0.base_8| (store (select |v_#pthreadsMutex_16| |v_~#ma~0.base_8|) |v_~#ma~0.offset_8| 0))) InVars {#pthreadsMutex=|v_#pthreadsMutex_16|, ~#ma~0.base=|v_~#ma~0.base_8|, ~#ma~0.offset=|v_~#ma~0.offset_8|} OutVars{#pthreadsMutex=|v_#pthreadsMutex_15|, ~#ma~0.base=|v_~#ma~0.base_8|, ~#ma~0.offset=|v_~#ma~0.offset_8|} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [177] L1223-->thread2FINAL: Formula: (and (= |v_Thread1_thread2_#res.base_1| 0) (= |v_Thread1_thread2_#res.offset_1| 0)) InVars {} OutVars{Thread1_thread2_#res.base=|v_Thread1_thread2_#res.base_1|, Thread1_thread2_#res.offset=|v_Thread1_thread2_#res.offset_1|} AuxVars[] AssignedVars[Thread1_thread2_#res.offset, Thread1_thread2_#res.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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 [178] thread2FINAL-->thread2EXIT: 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 [183] thread2EXIT-->L1241-2: Formula: (= |v_ULTIMATE.start_main_#t~mem9_5| v_Thread1_thread2_thidvar0_6) InVars {ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_5|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_6} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_5|, Thread1_thread2_thidvar0=v_Thread1_thread2_thidvar0_6} 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [132] L1241-2-->L1243: Formula: true InVars {} OutVars{ULTIMATE.start_main_#t~mem9=|v_ULTIMATE.start_main_#t~mem9_3|} AuxVars[] AssignedVars[ULTIMATE.start_main_#t~mem9] 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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [97] L1243-->L1245: Formula: (and (= v_~data2~0_5 5) (= v_~data1~0_5 16)) InVars {~data1~0=v_~data1~0_5, ~data2~0=v_~data2~0_5} OutVars{~data1~0=v_~data1~0_5, ~data2~0=v_~data2~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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 [140] L1245-->ULTIMATE.startErr0ASSERT_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, |#NULL.base|=0, |#NULL.offset|=0, |Thread0_thread1_#in~arg.base|=0, |Thread0_thread1_#in~arg.offset|=0, |Thread0_thread1_#res.base|=0, |Thread0_thread1_#res.offset|=0, |Thread1_thread2_#in~arg.base|=0, |Thread1_thread2_#in~arg.offset|=0, |Thread1_thread2_#res.base|=0, |Thread1_thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -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 ~data1~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 ~data2~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); srcloc: L1196 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); srcloc: L1196-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); srcloc: L1196-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); srcloc: L1196-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); srcloc: L1196-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); srcloc: L1196-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); srcloc: L1196-6 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); srcloc: L1196-7 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); srcloc: L1196-8 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); srcloc: L1196-9 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); srcloc: L1196-10 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); srcloc: L1196-11 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1229 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1229-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 ~data1~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 ~data2~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1237 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet6; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1238 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 fork 1 thread2(0, 0); VAL [thread1_~arg.base=0, thread1_~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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet7; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 SUMMARY for call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1215 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, |thread2_#t~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 havoc #t~nondet4; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 ~data1~0 := 5 + ~data1~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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 SUMMARY for call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1240 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1201 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 #t~post1 := ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1205 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~nondet2|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 havoc #t~nondet2; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #t~post3 := ~data2~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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 ~data2~0 := 1 + #t~post3; 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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 havoc #t~post3; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 join main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 havoc main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 SUMMARY for call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1241 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 SUMMARY for call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1219 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 havoc #t~nondet5; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 ~data2~0 := ~data2~0 - 6; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |thread1_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 join main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 havoc main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume 16 == ~data1~0 && 5 == ~data2~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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume !false; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] ----- ----- 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 ~data1~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0] [?] -1 ~data2~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); srcloc: L1196 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); srcloc: L1196-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); srcloc: L1196-2 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); srcloc: L1196-3 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); srcloc: L1196-4 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); srcloc: L1196-5 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); srcloc: L1196-6 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); srcloc: L1196-7 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); srcloc: L1196-8 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); srcloc: L1196-9 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); srcloc: L1196-10 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); srcloc: L1196-11 VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); srcloc: L1229 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 SUMMARY for call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); srcloc: L1229-1 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=0, ~data2~0=0] [?] -1 ~data1~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=0] [?] -1 ~data2~0 := 10; VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(0, main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1237 VAL [|#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet6; VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 SUMMARY for call write~int(1, main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1238 VAL [thread1_~arg.base=0, thread1_~arg.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |thread1_#in~arg.base|=0, |thread1_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] FORK -1 fork 1 thread2(0, 0); VAL [thread1_~arg.base=0, thread1_~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|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] -1 havoc main_#t~nondet7; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 SUMMARY for call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1215 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, |thread2_#t~nondet4|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 havoc #t~nondet4; 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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=10, ~data2~0=10] [?] 1 ~data1~0 := 5 + ~data1~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, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] -1 SUMMARY for call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~0.offset, 4); srcloc: L1240 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1201 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 #t~post1 := ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=15, ~data2~0=10] [?] 0 ~data1~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|=15, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 SUMMARY for call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1205 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~nondet2|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 havoc #t~nondet2; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 #t~post3 := ~data2~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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=10] [?] 0 ~data2~0 := 1 + #t~post3; 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~post3|=10, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 havoc #t~post3; 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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 0 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] JOIN 0 join main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem8|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 havoc main_#t~mem8; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] -1 SUMMARY for call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~0.offset, 4); srcloc: L1241 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 SUMMARY for call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~0.offset); srcloc: L1219 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#t~nondet5|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 havoc #t~nondet5; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=11] [?] 1 ~data2~0 := ~data2~0 - 6; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, |thread1_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 #res.base, #res.offset := 0, 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] 1 assume true; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] JOIN 1 join main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_#t~mem9|=1, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 havoc main_#t~mem9; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume 16 == ~data1~0 && 5 == ~data2~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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -1 assume !false; 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_#res.base|=0, |thread1_#res.offset|=0, |thread2_#in~arg.base|=0, |thread2_#in~arg.offset|=0, |thread2_#res.base|=0, |thread2_#res.offset|=0, |ULTIMATE.start_main_~#t1~0.base|=26, |ULTIMATE.start_main_~#t1~0.offset|=0, |ULTIMATE.start_main_~#t2~0.base|=27, |ULTIMATE.start_main_~#t2~0.offset|=0, |~#ma~0.base|=25, |~#ma~0.offset|=0, |~#mb~0.base|=28, |~#mb~0.offset|=0, ~data1~0=16, ~data2~0=5] [?] -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] [L1197] -1 ~data1~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet4=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1240] -1 call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res.base, #res.offset := 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, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1199-L1210] 0 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1241] -1 call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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, #res.base=0, #res.offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res.base, #res.offset := 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, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1213-L1224] 1 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1243-L1247] -1 assume 16 == ~data1~0 && 5 == ~data2~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#ma~0.base, ~#ma~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 4 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 8 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 12 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#ma~0.base, 16 + ~#ma~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call ~#mb~0.base, ~#mb~0.offset := #Ultimate.alloc(24); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 4 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 8 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 12 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1196] -1 call write~init~int(0, ~#mb~0.base, 16 + ~#mb~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0.base, main_~#t1~0.offset, main_~#t2~0.base, main_~#t2~0.offset; VAL [#NULL.base=0, #NULL.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t1~0.base, main_~#t1~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1229] -1 call main_~#t2~0.base, main_~#t2~0.offset := #Ultimate.alloc(4); VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex := #pthreadsMutex[~#mb~0.base,~#mb~0.offset := 0]; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg.base, ~arg.offset := #in~arg.base, #in~arg.offset; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg.base=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet4=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1240] -1 call main_#t~mem8 := read~int(main_~#t1~0.base, main_~#t1~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res.base, #res.offset := 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, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1199-L1210] 0 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem8=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1241] -1 call main_#t~mem9 := read~int(main_~#t2~0.base, main_~#t2~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0.base, ~#ma~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, #res.base=0, #res.offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex := #pthreadsMutex[~#ma~0.base,~#ma~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, #res.base=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res.base, #res.offset := 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, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1213-L1224] 1 ensures true; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_#t~mem9=1, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1243-L1247] -1 assume 16 == ~data1~0 && 5 == ~data2~0; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg.base=0, #in~arg.base=0, #in~arg.offset=0, #in~arg.offset=0, #NULL.base=0, #NULL.offset=0, #res.base=0, #res.base=0, #res.offset=0, #res.offset=0, main_~#t1~0.base=26, main_~#t1~0.offset=0, main_~#t2~0.base=27, main_~#t2~0.offset=0, ~#ma~0.base=25, ~#ma~0.offset=0, ~#mb~0.base=28, ~#mb~0.offset=0, ~arg.base=0, ~arg.base=0, ~arg.offset=0, ~arg.offset=0, ~data1~0=16, ~data2~0=5] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call main_#t~mem8 := read~int(main_~#t1~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call main_#t~mem9 := read~int(main_~#t2~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#res; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [?] -1 havoc main_#t~nondet6, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_~#t1~0, main_~#t2~0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call main_~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, main_~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc main_#t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc main_#t~nondet7; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; 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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~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=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call main_#t~mem8 := read~int(main_~#t1~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem8=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc main_#t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call main_#t~mem9 := read~int(main_~#t2~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_#t~mem9=1, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc main_#t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, main_~#t1~0!base=26, main_~#t1~0!offset=0, main_~#t2~0!base=27, main_~#t2~0!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [?] -1 #NULL := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [?] -1 #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc #t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc #t~nondet7; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call #t~mem8 := read~int(~#t1~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call #t~mem9 := read~int(~#t2~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] ----- ----- 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] [L1197] -1 ~data1~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0] [L1197] -1 ~data2~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#ma~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 4 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 8 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 12 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#ma~0!base, offset: 16 + ~#ma~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call ~#mb~0 := #Ultimate.alloc(24); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 4 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 8 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 12 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1196] FCALL -1 call write~init~int(0, { base: ~#mb~0!base, offset: 16 + ~#mb~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t1~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1229] FCALL -1 call ~#t2~0 := #Ultimate.alloc(4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1231] -1 #pthreadsMutex[~#ma~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1232] -1 #pthreadsMutex[~#mb~0] := 0; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=0, ~data2~0=0] [L1234] -1 ~data1~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=0] [L1235] -1 ~data2~0 := 10; VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FCALL -1 call write~int(0, ~#t1~0, 4); VAL [#NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1237] FORK -1 fork 0 thread1({ base: 0, offset: 0 }); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~data1~0=10, ~data2~0=10] [L1199-L1210] 0 ~arg := #in~arg; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1237] -1 havoc #t~nondet6; VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] FCALL -1 call write~int(1, ~#t2~0, 4); VAL [#in~arg!base=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1213-L1224] 1 ~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1238] -1 havoc #t~nondet7; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] FCALL 1 call #t~nondet4 := #PthreadsMutexLock(~#ma~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~nondet4=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1215] 1 havoc #t~nondet4; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=10, ~data2~0=10] [L1216] 1 ~data1~0 := 5 + ~data1~0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1240] FCALL -1 call #t~mem8 := read~int(~#t1~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1217] 1 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] FCALL 0 call #t~nondet0 := #PthreadsMutexLock(~#ma~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~nondet0=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1201] 0 havoc #t~nondet0; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 #t~post1 := ~data1~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~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=15, ~data2~0=10] [L1202] 0 ~data1~0 := 1 + #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post1=15, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1202] 0 havoc #t~post1; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1203] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] FCALL 0 call #t~nondet2 := #PthreadsMutexLock(~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1205] 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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 #t~post3 := ~data2~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~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=10] [L1206] 0 ~data2~0 := 1 + #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #t~post3=10, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1206] 0 havoc #t~post3; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1207] 0 #pthreadsMutex[~#ma~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, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1209] 0 #res := { 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] JOIN 0 join #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1240] -1 havoc #t~mem8; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1241] FCALL -1 call #t~mem9 := read~int(~#t2~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] FCALL 1 call #t~nondet5 := #PthreadsMutexLock(~#ma~0); VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, #t~nondet5=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1219] 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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=11] [L1220] 1 ~data2~0 := ~data2~0 - 6; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1221] 1 #pthreadsMutex[~#ma~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, #res!base=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1223] 1 #res := { 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, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] JOIN 1 join #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1241] -1 havoc #t~mem9; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1243] COND TRUE -1 16 == ~data1~0 && 5 == ~data2~0 VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1245] -1 assert false; VAL [#in~arg!base=0, #in~arg!base=0, #in~arg!offset=0, #in~arg!offset=0, #NULL!base=0, #NULL!offset=0, #res!base=0, #res!base=0, #res!offset=0, #res!offset=0, ~#ma~0!base=25, ~#ma~0!offset=0, ~#mb~0!base=28, ~#mb~0!offset=0, ~arg!base=0, ~arg!base=0, ~arg!offset=0, ~arg!offset=0, ~data1~0=16, ~data2~0=5] [L1197] -1 int data1, data2; VAL [data1=0, data2=0] [L1196] -1 pthread_mutex_t ma, mb; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1229] -1 pthread_t t1, t2; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1234] -1 data1 = 10 VAL [data1=10, data2=0, ma={25:0}, mb={28:0}] [L1235] -1 data2 = 10 VAL [data1=10, data2=10, ma={25:0}, mb={28:0}] [L1237] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1238] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1216] 1 data1+=5 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1240] -1 \read(t1) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1202] 0 data1++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=10, ma={25:0}, mb={28:0}] [L1206] 0 data2++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1209] 0 return 0; VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1240] FCALL, JOIN 0 pthread_join(t1, 0) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1241] -1 \read(t2) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1220] 1 data2-=6 VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1223] 1 return 0; VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1241] FCALL, JOIN 1 pthread_join(t2, 0) VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1243] COND TRUE -1 data1==16 && data2==5 VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1245] -1 __VERIFIER_error() VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] ----- [2018-11-23 13:57:39,163 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_02f8768f-9b4f-42e0-af0e-843ee929d8c1/bin-2019/uautomizer/witness.graphml [2018-11-23 13:57:39,163 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 13:57:39,164 INFO L168 Benchmark]: Toolchain (without parser) took 2106.17 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 174.1 MB). Free memory was 956.6 MB in the beginning and 1.0 GB in the end (delta: -49.1 MB). Peak memory consumption was 125.0 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,165 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 1.0 GB. Free memory is still 982.9 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:57:39,165 INFO L168 Benchmark]: CACSL2BoogieTranslator took 371.99 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 174.1 MB). Free memory was 956.6 MB in the beginning and 1.2 GB in the end (delta: -203.6 MB). Peak memory consumption was 36.7 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,166 INFO L168 Benchmark]: Boogie Procedure Inliner took 29.21 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 10.2 MB). Peak memory consumption was 10.2 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,166 INFO L168 Benchmark]: Boogie Preprocessor took 18.32 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:57:39,167 INFO L168 Benchmark]: RCFGBuilder took 261.35 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 27.6 MB). Peak memory consumption was 27.6 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,167 INFO L168 Benchmark]: TraceAbstraction took 861.61 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 82.8 MB). Peak memory consumption was 82.8 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,168 INFO L168 Benchmark]: Witness Printer took 560.60 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 33.9 MB). Peak memory consumption was 33.9 MB. Max. memory is 11.5 GB. [2018-11-23 13:57:39,170 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.14 ms. Allocated memory is still 1.0 GB. Free memory is still 982.9 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 371.99 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 174.1 MB). Free memory was 956.6 MB in the beginning and 1.2 GB in the end (delta: -203.6 MB). Peak memory consumption was 36.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 29.21 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 10.2 MB). Peak memory consumption was 10.2 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 18.32 ms. Allocated memory is still 1.2 GB. Free memory is still 1.2 GB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 261.35 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 27.6 MB). Peak memory consumption was 27.6 MB. Max. memory is 11.5 GB. * TraceAbstraction took 861.61 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 82.8 MB). Peak memory consumption was 82.8 MB. Max. memory is 11.5 GB. * Witness Printer took 560.60 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 33.9 MB). Peak memory consumption was 33.9 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1245]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L1197] -1 int data1, data2; VAL [data1=0, data2=0] [L1196] -1 pthread_mutex_t ma, mb; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1229] -1 pthread_t t1, t2; VAL [data1=0, data2=0, ma={25:0}, mb={28:0}] [L1234] -1 data1 = 10 VAL [data1=10, data2=0, ma={25:0}, mb={28:0}] [L1235] -1 data2 = 10 VAL [data1=10, data2=10, ma={25:0}, mb={28:0}] [L1237] FCALL, FORK -1 pthread_create(&t1, 0, thread1, 0) VAL [arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1238] FCALL, FORK -1 pthread_create(&t2, 0, thread2, 0) VAL [arg={0:0}, arg={0:0}, arg={0:0}, data1=10, data2=10, ma={25:0}, mb={28:0}] [L1216] 1 data1+=5 VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1240] -1 \read(t1) VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=15, data2=10, ma={25:0}, mb={28:0}] [L1202] 0 data1++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=10, ma={25:0}, mb={28:0}] [L1206] 0 data2++ VAL [arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1209] 0 return 0; VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1240] FCALL, JOIN 0 pthread_join(t1, 0) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1241] -1 \read(t2) VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={25:0}, mb={28:0}] [L1220] 1 data2-=6 VAL [\result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1223] 1 return 0; VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1241] FCALL, JOIN 1 pthread_join(t2, 0) VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1243] COND TRUE -1 data1==16 && data2==5 VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] [L1245] -1 __VERIFIER_error() VAL [\result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={25:0}, mb={28:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 103 locations, 1 error locations. UNSAFE Result, 0.7s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 85 SDtfs, 27 SDslu, 46 SDs, 0 SdLazy, 16 SolverSat, 6 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=746occurred 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.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 128 NumberOfCodeBlocks, 128 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 63 ConstructedInterpolants, 0 QuantifiedInterpolants, 4347 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 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...