./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-regression/stateful_check_false-unreach-call_false-termination.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_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/ldv-regression/stateful_check_false-unreach-call_false-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/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 1225f82562543767c482452e9133e4a69d5dae70 ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 01:52:56,720 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 01:52:56,721 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 01:52:56,727 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 01:52:56,728 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 01:52:56,728 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 01:52:56,729 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 01:52:56,730 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 01:52:56,732 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 01:52:56,732 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 01:52:56,733 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 01:52:56,733 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 01:52:56,734 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 01:52:56,734 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 01:52:56,735 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 01:52:56,735 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 01:52:56,735 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 01:52:56,737 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 01:52:56,738 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 01:52:56,739 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 01:52:56,740 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 01:52:56,741 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 01:52:56,742 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 01:52:56,742 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 01:52:56,743 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 01:52:56,743 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 01:52:56,744 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 01:52:56,744 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 01:52:56,745 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 01:52:56,745 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 01:52:56,745 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 01:52:56,746 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 01:52:56,746 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 01:52:56,746 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 01:52:56,747 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 01:52:56,747 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 01:52:56,747 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 01:52:56,754 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 01:52:56,754 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 01:52:56,755 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 01:52:56,755 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 01:52:56,755 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 01:52:56,755 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 01:52:56,756 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 01:52:56,756 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 01:52:56,757 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 01:52:56,757 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 01:52:56,758 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 01:52:56,758 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 01:52:56,758 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_a6424758-279c-40c5-89c8-b4fd48a5a211/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 -> 1225f82562543767c482452e9133e4a69d5dae70 [2018-11-23 01:52:56,780 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 01:52:56,788 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 01:52:56,790 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 01:52:56,791 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 01:52:56,791 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 01:52:56,792 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/../../sv-benchmarks/c/ldv-regression/stateful_check_false-unreach-call_false-termination.i [2018-11-23 01:52:56,827 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/data/874bb2dcd/5dd8f0047a934867910d235f72d0fb95/FLAG5db3b4481 [2018-11-23 01:52:57,226 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 01:52:57,226 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/sv-benchmarks/c/ldv-regression/stateful_check_false-unreach-call_false-termination.i [2018-11-23 01:52:57,232 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/data/874bb2dcd/5dd8f0047a934867910d235f72d0fb95/FLAG5db3b4481 [2018-11-23 01:52:57,243 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/data/874bb2dcd/5dd8f0047a934867910d235f72d0fb95 [2018-11-23 01:52:57,246 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 01:52:57,247 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 01:52:57,247 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 01:52:57,247 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 01:52:57,250 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 01:52:57,250 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,252 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2ab0a94f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57, skipping insertion in model container [2018-11-23 01:52:57,252 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,258 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 01:52:57,273 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 01:52:57,387 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 01:52:57,389 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 01:52:57,402 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 01:52:57,412 INFO L195 MainTranslator]: Completed translation [2018-11-23 01:52:57,412 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57 WrapperNode [2018-11-23 01:52:57,412 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 01:52:57,412 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 01:52:57,412 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 01:52:57,413 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 01:52:57,417 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:52:57" (1/1) ... [2018-11-23 01:52:57,421 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:52:57" (1/1) ... [2018-11-23 01:52:57,425 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 01:52:57,425 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 01:52:57,425 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 01:52:57,425 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 01:52:57,430 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,430 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,431 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,431 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,434 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,437 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,438 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... [2018-11-23 01:52:57,439 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 01:52:57,439 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 01:52:57,439 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 01:52:57,439 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 01:52:57,440 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/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 01:52:57,508 INFO L130 BoogieDeclarations]: Found specification of procedure misc_read [2018-11-23 01:52:57,508 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_read [2018-11-23 01:52:57,508 INFO L130 BoogieDeclarations]: Found specification of procedure misc_release [2018-11-23 01:52:57,508 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_release [2018-11-23 01:52:57,508 INFO L130 BoogieDeclarations]: Found specification of procedure check_final_state [2018-11-23 01:52:57,508 INFO L138 BoogieDeclarations]: Found implementation of procedure check_final_state [2018-11-23 01:52:57,508 INFO L130 BoogieDeclarations]: Found specification of procedure __blast_assert [2018-11-23 01:52:57,508 INFO L138 BoogieDeclarations]: Found implementation of procedure __blast_assert [2018-11-23 01:52:57,509 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 01:52:57,509 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 01:52:57,509 INFO L130 BoogieDeclarations]: Found specification of procedure my_init [2018-11-23 01:52:57,509 INFO L138 BoogieDeclarations]: Found implementation of procedure my_init [2018-11-23 01:52:57,509 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_unlock [2018-11-23 01:52:57,509 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_unlock [2018-11-23 01:52:57,509 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 01:52:57,510 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 01:52:57,510 INFO L130 BoogieDeclarations]: Found specification of procedure misc_open [2018-11-23 01:52:57,510 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_open [2018-11-23 01:52:57,510 INFO L130 BoogieDeclarations]: Found specification of procedure mutex_lock [2018-11-23 01:52:57,510 INFO L138 BoogieDeclarations]: Found implementation of procedure mutex_lock [2018-11-23 01:52:57,510 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 01:52:57,510 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 01:52:57,510 INFO L130 BoogieDeclarations]: Found specification of procedure misc_llseek [2018-11-23 01:52:57,511 INFO L138 BoogieDeclarations]: Found implementation of procedure misc_llseek [2018-11-23 01:52:57,694 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 01:52:57,694 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 01:52:57,695 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:52:57 BoogieIcfgContainer [2018-11-23 01:52:57,695 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 01:52:57,695 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 01:52:57,695 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 01:52:57,699 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 01:52:57,699 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 01:52:57" (1/3) ... [2018-11-23 01:52:57,700 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2a077bcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:52:57, skipping insertion in model container [2018-11-23 01:52:57,700 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:52:57" (2/3) ... [2018-11-23 01:52:57,700 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2a077bcf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:52:57, skipping insertion in model container [2018-11-23 01:52:57,700 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:52:57" (3/3) ... [2018-11-23 01:52:57,702 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful_check_false-unreach-call_false-termination.i [2018-11-23 01:52:57,708 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 01:52:57,712 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 01:52:57,722 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 01:52:57,744 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 01:52:57,744 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 01:52:57,744 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 01:52:57,744 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 01:52:57,745 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 01:52:57,745 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 01:52:57,745 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 01:52:57,745 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 01:52:57,745 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 01:52:57,760 INFO L276 IsEmpty]: Start isEmpty. Operand 74 states. [2018-11-23 01:52:57,764 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-23 01:52:57,764 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:57,765 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 01:52:57,767 INFO L423 AbstractCegarLoop]: === Iteration 1 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:57,770 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:57,770 INFO L82 PathProgramCache]: Analyzing trace with hash 30602986, now seen corresponding path program 1 times [2018-11-23 01:52:57,771 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:57,772 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:57,808 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:57,808 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:57,808 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:57,831 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:57,853 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 01:52:57,854 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 01:52:57,854 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 01:52:57,857 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 01:52:57,865 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 01:52:57,865 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 01:52:57,867 INFO L87 Difference]: Start difference. First operand 74 states. Second operand 2 states. [2018-11-23 01:52:57,888 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 01:52:57,889 INFO L93 Difference]: Finished difference Result 135 states and 180 transitions. [2018-11-23 01:52:57,889 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 01:52:57,890 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 01:52:57,890 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 01:52:57,896 INFO L225 Difference]: With dead ends: 135 [2018-11-23 01:52:57,896 INFO L226 Difference]: Without dead ends: 65 [2018-11-23 01:52:57,899 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 01:52:57,910 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 65 states. [2018-11-23 01:52:57,926 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 65 to 65. [2018-11-23 01:52:57,927 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 65 states. [2018-11-23 01:52:57,928 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 65 states to 65 states and 80 transitions. [2018-11-23 01:52:57,929 INFO L78 Accepts]: Start accepts. Automaton has 65 states and 80 transitions. Word has length 16 [2018-11-23 01:52:57,929 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 01:52:57,930 INFO L480 AbstractCegarLoop]: Abstraction has 65 states and 80 transitions. [2018-11-23 01:52:57,930 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 01:52:57,930 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states and 80 transitions. [2018-11-23 01:52:57,930 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 01:52:57,930 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:57,930 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 01:52:57,931 INFO L423 AbstractCegarLoop]: === Iteration 2 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:57,931 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:57,931 INFO L82 PathProgramCache]: Analyzing trace with hash -1029705375, now seen corresponding path program 1 times [2018-11-23 01:52:57,931 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:57,931 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:57,932 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:57,932 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:57,932 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:57,945 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:57,979 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 01:52:57,979 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 01:52:57,979 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 01:52:57,981 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 01:52:57,981 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 01:52:57,981 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 01:52:57,981 INFO L87 Difference]: Start difference. First operand 65 states and 80 transitions. Second operand 3 states. [2018-11-23 01:52:58,013 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 01:52:58,013 INFO L93 Difference]: Finished difference Result 108 states and 139 transitions. [2018-11-23 01:52:58,014 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 01:52:58,014 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 17 [2018-11-23 01:52:58,014 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 01:52:58,016 INFO L225 Difference]: With dead ends: 108 [2018-11-23 01:52:58,016 INFO L226 Difference]: Without dead ends: 102 [2018-11-23 01:52:58,016 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 3 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 01:52:58,017 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 102 states. [2018-11-23 01:52:58,028 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 102 to 102. [2018-11-23 01:52:58,028 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 102 states. [2018-11-23 01:52:58,029 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 102 states to 102 states and 132 transitions. [2018-11-23 01:52:58,029 INFO L78 Accepts]: Start accepts. Automaton has 102 states and 132 transitions. Word has length 17 [2018-11-23 01:52:58,029 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 01:52:58,029 INFO L480 AbstractCegarLoop]: Abstraction has 102 states and 132 transitions. [2018-11-23 01:52:58,030 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 01:52:58,030 INFO L276 IsEmpty]: Start isEmpty. Operand 102 states and 132 transitions. [2018-11-23 01:52:58,030 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 01:52:58,030 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:58,030 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] [2018-11-23 01:52:58,031 INFO L423 AbstractCegarLoop]: === Iteration 3 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:58,031 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:58,031 INFO L82 PathProgramCache]: Analyzing trace with hash 1653096093, now seen corresponding path program 1 times [2018-11-23 01:52:58,031 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:58,031 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:58,032 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,032 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:58,032 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,041 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:58,062 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 01:52:58,062 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 01:52:58,062 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 01:52:58,062 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 01:52:58,063 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 01:52:58,063 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 01:52:58,063 INFO L87 Difference]: Start difference. First operand 102 states and 132 transitions. Second operand 3 states. [2018-11-23 01:52:58,123 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 01:52:58,123 INFO L93 Difference]: Finished difference Result 218 states and 297 transitions. [2018-11-23 01:52:58,123 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 01:52:58,123 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 29 [2018-11-23 01:52:58,124 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 01:52:58,125 INFO L225 Difference]: With dead ends: 218 [2018-11-23 01:52:58,125 INFO L226 Difference]: Without dead ends: 127 [2018-11-23 01:52:58,126 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 01:52:58,126 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 127 states. [2018-11-23 01:52:58,136 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 127 to 126. [2018-11-23 01:52:58,136 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 126 states. [2018-11-23 01:52:58,137 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 126 states to 126 states and 169 transitions. [2018-11-23 01:52:58,138 INFO L78 Accepts]: Start accepts. Automaton has 126 states and 169 transitions. Word has length 29 [2018-11-23 01:52:58,138 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 01:52:58,138 INFO L480 AbstractCegarLoop]: Abstraction has 126 states and 169 transitions. [2018-11-23 01:52:58,138 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 01:52:58,138 INFO L276 IsEmpty]: Start isEmpty. Operand 126 states and 169 transitions. [2018-11-23 01:52:58,139 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 41 [2018-11-23 01:52:58,139 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:58,139 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 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 01:52:58,139 INFO L423 AbstractCegarLoop]: === Iteration 4 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:58,140 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:58,140 INFO L82 PathProgramCache]: Analyzing trace with hash -895437069, now seen corresponding path program 1 times [2018-11-23 01:52:58,140 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:58,140 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:58,141 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,141 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:58,141 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,152 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:58,180 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 1 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 01:52:58,180 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 01:52:58,180 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 01:52:58,189 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:58,209 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:58,215 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 01:52:58,233 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 01:52:58,248 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 01:52:58,248 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 4] total 5 [2018-11-23 01:52:58,248 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 01:52:58,248 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 01:52:58,248 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 01:52:58,249 INFO L87 Difference]: Start difference. First operand 126 states and 169 transitions. Second operand 5 states. [2018-11-23 01:52:58,314 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 01:52:58,314 INFO L93 Difference]: Finished difference Result 292 states and 416 transitions. [2018-11-23 01:52:58,315 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 01:52:58,315 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 40 [2018-11-23 01:52:58,315 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 01:52:58,317 INFO L225 Difference]: With dead ends: 292 [2018-11-23 01:52:58,317 INFO L226 Difference]: Without dead ends: 177 [2018-11-23 01:52:58,318 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 44 GetRequests, 41 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 01:52:58,318 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 177 states. [2018-11-23 01:52:58,331 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 177 to 174. [2018-11-23 01:52:58,331 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 174 states. [2018-11-23 01:52:58,332 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 174 states to 174 states and 243 transitions. [2018-11-23 01:52:58,333 INFO L78 Accepts]: Start accepts. Automaton has 174 states and 243 transitions. Word has length 40 [2018-11-23 01:52:58,333 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 01:52:58,333 INFO L480 AbstractCegarLoop]: Abstraction has 174 states and 243 transitions. [2018-11-23 01:52:58,333 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 01:52:58,333 INFO L276 IsEmpty]: Start isEmpty. Operand 174 states and 243 transitions. [2018-11-23 01:52:58,334 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 52 [2018-11-23 01:52:58,334 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:58,334 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 2, 2, 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 01:52:58,334 INFO L423 AbstractCegarLoop]: === Iteration 5 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:58,335 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:58,335 INFO L82 PathProgramCache]: Analyzing trace with hash 1499338727, now seen corresponding path program 1 times [2018-11-23 01:52:58,335 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:58,335 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:58,335 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,336 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:58,336 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,349 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 01:52:58,377 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 9 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2018-11-23 01:52:58,377 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 01:52:58,377 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-11-23 01:52:58,377 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-11-23 01:52:58,378 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-11-23 01:52:58,378 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 01:52:58,378 INFO L87 Difference]: Start difference. First operand 174 states and 243 transitions. Second operand 4 states. [2018-11-23 01:52:58,438 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 01:52:58,438 INFO L93 Difference]: Finished difference Result 435 states and 639 transitions. [2018-11-23 01:52:58,438 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 01:52:58,438 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 51 [2018-11-23 01:52:58,439 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 01:52:58,440 INFO L225 Difference]: With dead ends: 435 [2018-11-23 01:52:58,440 INFO L226 Difference]: Without dead ends: 272 [2018-11-23 01:52:58,441 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=6, Invalid=6, Unknown=0, NotChecked=0, Total=12 [2018-11-23 01:52:58,442 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 272 states. [2018-11-23 01:52:58,454 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 272 to 222. [2018-11-23 01:52:58,454 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 222 states. [2018-11-23 01:52:58,455 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 222 states to 222 states and 323 transitions. [2018-11-23 01:52:58,455 INFO L78 Accepts]: Start accepts. Automaton has 222 states and 323 transitions. Word has length 51 [2018-11-23 01:52:58,456 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 01:52:58,456 INFO L480 AbstractCegarLoop]: Abstraction has 222 states and 323 transitions. [2018-11-23 01:52:58,456 INFO L481 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-11-23 01:52:58,456 INFO L276 IsEmpty]: Start isEmpty. Operand 222 states and 323 transitions. [2018-11-23 01:52:58,457 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 64 [2018-11-23 01:52:58,457 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 01:52:58,457 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 3, 3, 2, 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 01:52:58,458 INFO L423 AbstractCegarLoop]: === Iteration 6 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 01:52:58,458 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 01:52:58,458 INFO L82 PathProgramCache]: Analyzing trace with hash -74956011, now seen corresponding path program 1 times [2018-11-23 01:52:58,458 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 01:52:58,458 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 01:52:58,459 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,459 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 01:52:58,459 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 01:52:58,472 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 01:52:58,489 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 01:52:58,507 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=4, ~open_called~0=3] [?] ~ldv_mutex~0 := 1;~open_called~0 := 0; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #152#return; VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret1 := my_init(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~open_called~0 := 0;#res := 0; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #156#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~ret1|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret5 := misc_open(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [|misc_open_#t~nondet0|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #158#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~ret5|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret7 := misc_read(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #160#return; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~ret7|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647;havoc #t~ret7;#t~post8 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8;havoc #t~post8; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret9 := misc_llseek(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #162#return; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~ret9|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647;havoc #t~ret9;#t~post10 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10;havoc #t~post10; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret11 := misc_release(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !(0 != ~open_called~0); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_mutex~0; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_mutex~0 := 2; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] RET #144#return; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !(1 == ~ldv_mutex~0); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call __blast_assert(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !false; VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- [2018-11-23 01:52:58,564 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,565 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,566 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,566 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,566 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,567 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,567 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,567 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,568 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,569 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,569 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,569 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,570 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,570 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] ----- [2018-11-23 01:52:58,614 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 01:52:58 BoogieIcfgContainer [2018-11-23 01:52:58,614 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 01:52:58,614 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 01:52:58,615 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 01:52:58,615 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 01:52:58,615 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:52:57" (3/4) ... [2018-11-23 01:52:58,617 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=4, ~open_called~0=3] [?] ~ldv_mutex~0 := 1;~open_called~0 := 0; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=4, |old(~open_called~0)|=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #152#return; VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret1 := my_init(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~open_called~0 := 0;#res := 0; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|my_init_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #156#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~ret1|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647;havoc #t~ret1; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret5 := misc_open(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [|misc_open_#t~nondet0|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 0 != #t~nondet0;havoc #t~nondet0;#res := 1; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_open_#res|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #158#return; VAL [main_~ldv_s_misc_fops_file_operations~0=0, |main_#t~nondet3|=0, |main_#t~ret5|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;havoc #t~ret5;#t~post6 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6;havoc #t~post6; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret7 := misc_read(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_read_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #160#return; VAL [main_~ldv_s_misc_fops_file_operations~0=1, |main_#t~nondet3|=1, |main_#t~ret7|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647;havoc #t~ret7;#t~post8 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8;havoc #t~post8; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=1, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret9 := misc_llseek(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] #res := 0; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume true; VAL [|misc_llseek_#res|=0, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET #162#return; VAL [main_~ldv_s_misc_fops_file_operations~0=2, |main_#t~nondet3|=2, |main_#t~ret9|=0, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647;havoc #t~ret9;#t~post10 := ~ldv_s_misc_fops_file_operations~0;~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10;havoc #t~post10; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=2, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] havoc #t~nondet3;havoc #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet2|=1, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !!(0 != #t~nondet2);havoc #t~nondet2;assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647;#t~switch4 := 0 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=false, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !#t~switch4;#t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume #t~switch4; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [main_~ldv_s_misc_fops_file_operations~0=3, |main_#t~nondet3|=3, |main_#t~switch4|=true, |old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret11 := misc_release(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume !(0 != ~open_called~0); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] assume 1 == ~ldv_mutex~0; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=1, ~open_called~0=0] [?] ~ldv_mutex~0 := 2; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume true; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] RET #144#return; VAL [|old(~ldv_mutex~0)|=1, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call mutex_lock(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !(1 == ~ldv_mutex~0); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call __blast_assert(); VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] assume !false; VAL [|old(~ldv_mutex~0)|=2, |old(~open_called~0)|=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] ensures true; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L66-L71] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L80] assume #t~switch4; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81-L84] assume 0 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] assume 0 != #t~nondet0; [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L55-L64] ensures true; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L88] assume #t~switch4; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89-L92] assume 1 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L51-L53] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L96] assume #t~switch4; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97-L100] assume 2 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L47-L49] ensures true; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] assume !!(0 != #t~nondet2); [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L80] assume !#t~switch4; [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L88] assume !#t~switch4; [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L96] assume !#t~switch4; [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L104] assume #t~switch4; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105-L108] assume 3 == ~ldv_s_misc_fops_file_operations~0; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] assume !(0 != ~open_called~0); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] assume 1 == ~ldv_mutex~0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L14-L18] ensures true; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] assume !(1 == ~ldv_mutex~0); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] ----- [2018-11-23 01:52:58,779 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,780 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,780 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,780 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,780 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,781 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,781 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,781 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,781 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,782 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,782 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,782 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,782 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement [2018-11-23 01:52:58,783 WARN L1272 BoogieBacktranslator]: Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=4, ~open_called~0=3] [L9] ~ldv_mutex~0 := 1; [L11] ~open_called~0 := 0; VAL [old(~ldv_mutex~0)=4, old(~open_called~0)=3, ~ldv_mutex~0=1, ~open_called~0=0] [?] RET call ULTIMATE.init(); VAL [~ldv_mutex~0=1, ~open_called~0=0] [?] CALL call #t~ret12 := main(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L74] ~ldv_s_misc_fops_file_operations~0 := 0; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] CALL call #t~ret1 := my_init(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L69] ~open_called~0 := 0; [L70] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L75] RET call #t~ret1 := my_init(); VAL [#t~ret1=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L75] assume -2147483648 <= #t~ret1 && #t~ret1 <= 2147483647; [L75] havoc #t~ret1; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L81] COND TRUE 0 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] CALL call #t~ret5 := misc_open(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57] assume -2147483648 <= #t~nondet0 && #t~nondet0 <= 2147483647; VAL [#t~nondet0=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L57-L63] COND TRUE 0 != #t~nondet0 [L57] havoc #t~nondet0; [L59] #res := 1; VAL [#res=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L82] RET call #t~ret5 := misc_open(); VAL [#t~nondet3=0, #t~ret5=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=0, ~open_called~0=0] [L82] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L82] havoc #t~ret5; [L83] #t~post6 := ~ldv_s_misc_fops_file_operations~0; [L83] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post6; [L83] havoc #t~post6; VAL [#t~nondet3=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L89] COND TRUE 1 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] CALL call #t~ret7 := misc_read(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L52] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L90] RET call #t~ret7 := misc_read(); VAL [#t~nondet3=1, #t~ret7=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=1, ~open_called~0=0] [L90] assume -2147483648 <= #t~ret7 && #t~ret7 <= 2147483647; [L90] havoc #t~ret7; [L91] #t~post8 := ~ldv_s_misc_fops_file_operations~0; [L91] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post8; [L91] havoc #t~post8; VAL [#t~nondet3=1, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L97] COND TRUE 2 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] CALL call #t~ret9 := misc_llseek(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L48] #res := 0; VAL [#res=0, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L98] RET call #t~ret9 := misc_llseek(); VAL [#t~nondet3=2, #t~ret9=0, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=2, ~open_called~0=0] [L98] assume -2147483648 <= #t~ret9 && #t~ret9 <= 2147483647; [L98] havoc #t~ret9; [L99] #t~post10 := ~ldv_s_misc_fops_file_operations~0; [L99] ~ldv_s_misc_fops_file_operations~0 := 1 + #t~post10; [L99] havoc #t~post10; VAL [#t~nondet3=2, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78] havoc #t~nondet3; [L78-L113] havoc #t~switch4; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#t~nondet2=1, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L76-L114] COND FALSE !(!(0 != #t~nondet2)) [L76] havoc #t~nondet2; [L78] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; [L80] #t~switch4 := 0 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L88] #t~switch4 := #t~switch4 || 1 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L96] #t~switch4 := #t~switch4 || 2 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=false, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND FALSE !(#t~switch4) [L104] #t~switch4 := #t~switch4 || 3 == #t~nondet3; VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L78-L113] COND TRUE #t~switch4 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L105] COND TRUE 3 == ~ldv_s_misc_fops_file_operations~0 VAL [#t~nondet3=3, #t~switch4=true, old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~ldv_s_misc_fops_file_operations~0=3, ~open_called~0=0] [L106] CALL call #t~ret11 := misc_release(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L34-L43] COND FALSE !(0 != ~open_called~0) VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L41] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L16] COND TRUE 1 == ~ldv_mutex~0 VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=1, ~open_called~0=0] [L17] ~ldv_mutex~0 := 2; VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L41] RET call mutex_lock(); VAL [old(~ldv_mutex~0)=1, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L42] CALL call mutex_lock(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] COND FALSE !(1 == ~ldv_mutex~0) VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L16] CALL call __blast_assert(); VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L4] assert false; VAL [old(~ldv_mutex~0)=2, old(~open_called~0)=0, ~ldv_mutex~0=2, ~open_called~0=0] [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] ----- [2018-11-23 01:52:58,888 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_a6424758-279c-40c5-89c8-b4fd48a5a211/bin-2019/uautomizer/witness.graphml [2018-11-23 01:52:58,889 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 01:52:58,889 INFO L168 Benchmark]: Toolchain (without parser) took 1642.99 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 138.4 MB). Free memory was 958.2 MB in the beginning and 993.4 MB in the end (delta: -35.2 MB). Peak memory consumption was 103.2 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,891 INFO L168 Benchmark]: CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 01:52:58,891 INFO L168 Benchmark]: CACSL2BoogieTranslator took 164.90 ms. Allocated memory is still 1.0 GB. Free memory was 958.2 MB in the beginning and 947.4 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,891 INFO L168 Benchmark]: Boogie Procedure Inliner took 12.52 ms. Allocated memory is still 1.0 GB. Free memory was 947.4 MB in the beginning and 944.8 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,891 INFO L168 Benchmark]: Boogie Preprocessor took 13.97 ms. Allocated memory is still 1.0 GB. Free memory is still 944.8 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 01:52:58,892 INFO L168 Benchmark]: RCFGBuilder took 255.53 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 138.4 MB). Free memory was 944.8 MB in the beginning and 1.1 GB in the end (delta: -171.3 MB). Peak memory consumption was 17.3 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,892 INFO L168 Benchmark]: TraceAbstraction took 918.94 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: 111.9 MB). Peak memory consumption was 111.9 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,892 INFO L168 Benchmark]: Witness Printer took 274.14 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 993.4 MB in the end (delta: 10.8 MB). Peak memory consumption was 10.8 MB. Max. memory is 11.5 GB. [2018-11-23 01:52:58,894 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 164.90 ms. Allocated memory is still 1.0 GB. Free memory was 958.2 MB in the beginning and 947.4 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 12.52 ms. Allocated memory is still 1.0 GB. Free memory was 947.4 MB in the beginning and 944.8 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 13.97 ms. Allocated memory is still 1.0 GB. Free memory is still 944.8 MB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 255.53 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 138.4 MB). Free memory was 944.8 MB in the beginning and 1.1 GB in the end (delta: -171.3 MB). Peak memory consumption was 17.3 MB. Max. memory is 11.5 GB. * TraceAbstraction took 918.94 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: 111.9 MB). Peak memory consumption was 111.9 MB. Max. memory is 11.5 GB. * Witness Printer took 274.14 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 993.4 MB in the end (delta: 10.8 MB). Peak memory consumption was 10.8 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement - GenericResult: Unfinished Backtranslation Unfinished Backtranslation: Expression #t~switch4 has a C AST node but it is no IASTExpression: class org.eclipse.cdt.internal.core.dom.parser.c.CASTSwitchStatement * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 4]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L9] int ldv_mutex = 1; [L11] int open_called = 0; VAL [\old(ldv_mutex)=4, \old(open_called)=3, ldv_mutex=1, open_called=0] [L74] int ldv_s_misc_fops_file_operations = 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L75] CALL my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L69] open_called = 0 [L70] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L75] RET my_init() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, my_init()=0, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L81] COND TRUE ldv_s_misc_fops_file_operations==0 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, open_called=0] [L82] CALL misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L57] COND TRUE __VERIFIER_nondet_int() [L59] return 1; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=1, ldv_mutex=1, open_called=0] [L82] RET misc_open() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=0, misc_open()=1, open_called=0] [L83] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=0, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L89] COND TRUE ldv_s_misc_fops_file_operations==1 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, open_called=0] [L90] CALL misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L52] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L90] RET misc_read() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=1, misc_read()=0, open_called=0] [L91] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=1, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L97] COND TRUE ldv_s_misc_fops_file_operations==2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, open_called=0] [L98] CALL misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L48] return 0; VAL [\old(ldv_mutex)=1, \old(open_called)=0, \result=0, ldv_mutex=1, open_called=0] [L98] RET misc_llseek() VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=2, misc_llseek()=0, open_called=0] [L99] ldv_s_misc_fops_file_operations++ VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=2, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L76] COND TRUE __VERIFIER_nondet_int() [L80] case 0: [L88] case 1: [L96] case 2: [L104] case 3: VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L105] COND TRUE ldv_s_misc_fops_file_operations==3 VAL [\old(ldv_mutex)=1, \old(open_called)=0, __VERIFIER_nondet_int()=3, ldv_mutex=1, ldv_s_misc_fops_file_operations=3, open_called=0] [L106] CALL misc_release() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L34] COND FALSE !(\read(open_called)) VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L41] CALL mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=1, open_called=0] [L17] ldv_mutex = 2 VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L41] RET mutex_lock() VAL [\old(ldv_mutex)=1, \old(open_called)=0, ldv_mutex=2, open_called=0] [L42] CALL mutex_lock() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] (ldv_mutex == 1) ? 0 : __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L16] CALL __blast_assert() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] [L4] __VERIFIER_error() VAL [\old(ldv_mutex)=2, \old(open_called)=0, ldv_mutex=2, open_called=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 12 procedures, 74 locations, 1 error locations. UNSAFE Result, 0.8s OverallTime, 6 OverallIterations, 4 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 389 SDtfs, 141 SDslu, 454 SDs, 0 SdLazy, 93 SolverSat, 27 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 57 GetRequests, 50 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=222occurred in iteration=5, 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, 5 MinimizatonAttempts, 54 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 256 NumberOfCodeBlocks, 256 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 187 ConstructedInterpolants, 0 QuantifiedInterpolants, 11127 SizeOfPredicates, 1 NumberOfNonLiveVariables, 116 ConjunctsInSsa, 3 ConjunctsInUnsatCore, 6 InterpolantComputations, 4 PerfectInterpolantSequences, 15/21 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...